1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<!-- |
3 |
Copyright 2014-2015 Hippo B.V. (http://www.onehippo.com) |
4 |
|
5 |
Licensed under the Apache License, Version 2.0 (the "License"); |
6 |
you may not use this file except in compliance with the License. |
7 |
You may obtain a copy of the License at |
8 |
|
9 |
http://www.apache.org/licenses/LICENSE-2.0 |
10 |
|
11 |
Unless required by applicable law or agreed to in writing, software |
12 |
distributed under the License is distributed on an "AS IS" BASIS, |
13 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 |
See the License for the specific language governing permissions and |
15 |
limitations under the License. |
16 |
--> |
17 |
|
18 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
19 |
<modelVersion>4.0.0</modelVersion> |
20 |
|
21 |
<parent> |
22 |
<groupId>org.onehippo.cms7</groupId> |
23 |
<artifactId>hippo-cms7-release</artifactId> |
24 |
<version>11.0.0-SNAPSHOT</version> |
25 |
</parent> |
26 |
|
27 |
<name>Hippo Essentials</name> |
28 |
<description>Hippo Essentials</description> |
29 |
<artifactId>hippo-essentials</artifactId> |
30 |
<version>3.0.0-SNAPSHOT</version> |
31 |
<packaging>pom</packaging> |
32 |
|
33 |
<properties> |
34 |
<notice.project.name>Hippo Essentials</notice.project.name> |
35 |
<essentialsBuildNumber>${project.version}</essentialsBuildNumber> |
36 |
|
37 |
<!--***START temporary override of versions*** --> |
38 |
<!-- ***END temporary override of versions*** --> |
39 |
|
40 |
<jsp-api.version>2.2</jsp-api.version> |
41 |
<taglibs.version>1.2.1</taglibs.version> |
42 |
<commons.lang.version>2.6</commons.lang.version> |
43 |
<junit.version>4.11</junit.version> |
44 |
<easymock.version>3.1</easymock.version> |
45 |
<filesync.override>false</filesync.override> |
46 |
<maven.plugins.filesync.version>1.0.0</maven.plugins.filesync.version> |
47 |
|
48 |
<maven.plugin.jacoco.version>0.7.5.201505241946</maven.plugin.jacoco.version> |
49 |
<!-- Tells Sonar to run the unit tests --> |
50 |
<sonar.dynamicAnalysis>true</sonar.dynamicAnalysis> |
51 |
<!-- Tells Sonar to use JaCoCo as the code coverage tool --> |
52 |
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
53 |
<sonar.jacoco.reportPath>${basedir}/target/target/jacoco.exec</sonar.jacoco.reportPath> |
54 |
|
55 |
</properties> |
56 |
<scm> |
57 |
<connection>scm:svn:http://svn.onehippo.org/repos/hippo/hippo-cms7/essentials/trunk</connection> |
58 |
<developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-cms7/essentials/trunk</developerConnection> |
59 |
<url>http://svn.onehippo.org/repos/hippo/hippo-cms7/essentials/trunk</url> |
60 |
</scm> |
61 |
|
62 |
<modules> |
63 |
<module>components</module> |
64 |
<module>plugin-sdk</module> |
65 |
<module>plugins</module> |
66 |
<module>dashboard-dependencies</module> |
67 |
<module>dashboard</module> |
68 |
</modules> |
69 |
|
70 |
<repositories> |
71 |
<repository> |
72 |
<id>hippo</id> |
73 |
<name>Hippo Maven 2</name> |
74 |
<url>https://maven.onehippo.com/maven2/</url> |
75 |
<snapshots> |
76 |
<enabled>false</enabled> |
77 |
</snapshots> |
78 |
<releases> |
79 |
<updatePolicy>never</updatePolicy> |
80 |
</releases> |
81 |
</repository> |
82 |
</repositories> |
83 |
|
84 |
<dependencyManagement> |
85 |
<dependencies> |
86 |
<!-- other predefined runtime scope versioned dependencies --> |
87 |
<dependency> |
88 |
<groupId>org.apache.taglibs</groupId> |
89 |
<artifactId>taglibs-standard-spec</artifactId> |
90 |
<version>${taglibs.version}</version> |
91 |
<scope>runtime</scope> |
92 |
</dependency> |
93 |
|
94 |
<dependency> |
95 |
<groupId>org.apache.taglibs</groupId> |
96 |
<artifactId>taglibs-standard-impl</artifactId> |
97 |
<version>${taglibs.version}</version> |
98 |
<scope>runtime</scope> |
99 |
</dependency> |
100 |
|
101 |
<!-- other predefined compile scope versioned dependencies --> |
102 |
<dependency> |
103 |
<groupId>commons-lang</groupId> |
104 |
<artifactId>commons-lang</artifactId> |
105 |
<version>${commons.lang.version}</version> |
106 |
</dependency> |
107 |
|
108 |
<dependency> |
109 |
<groupId>org.freemarker</groupId> |
110 |
<artifactId>freemarker</artifactId> |
111 |
<version>${freemarker.version}</version> |
112 |
</dependency> |
113 |
|
114 |
<dependency> |
115 |
<groupId>junit</groupId> |
116 |
<artifactId>junit</artifactId> |
117 |
<version>${junit.version}</version> |
118 |
<scope>test</scope> |
119 |
</dependency> |
120 |
|
121 |
<dependency> |
122 |
<groupId>org.easymock</groupId> |
123 |
<artifactId>easymock</artifactId> |
124 |
<version>${easymock.version}</version> |
125 |
<scope>test</scope> |
126 |
</dependency> |
127 |
|
128 |
<dependency> |
129 |
<groupId>org.springframework</groupId> |
130 |
<artifactId>spring-test</artifactId> |
131 |
<version>${spring.version}</version> |
132 |
<scope>test</scope> |
133 |
</dependency> |
134 |
</dependencies> |
135 |
</dependencyManagement> |
136 |
|
137 |
|
138 |
<build> |
139 |
<defaultGoal>package</defaultGoal> |
140 |
<pluginManagement> |
141 |
<plugins> |
142 |
<!-- redefine again default Hippo LICENSE and NOTICE file handling configuration like as defined |
143 |
in root cms7-project pom but is 'nullified' again in parent cms7-release pom. --> |
144 |
<plugin> |
145 |
<groupId>org.apache.maven.plugins</groupId> |
146 |
<artifactId>maven-remote-resources-plugin</artifactId> |
147 |
<executions> |
148 |
<execution> |
149 |
<goals> |
150 |
<goal>process</goal> |
151 |
</goals> |
152 |
<configuration> |
153 |
<resourceBundles> |
154 |
<resourceBundle>org.onehippo.cms7:hippo-cms7-legal-resources:1</resourceBundle> |
155 |
</resourceBundles> |
156 |
</configuration> |
157 |
</execution> |
158 |
</executions> |
159 |
</plugin> |
160 |
</plugins> |
161 |
</pluginManagement> |
162 |
<plugins> |
163 |
<plugin> |
164 |
<groupId>org.jacoco</groupId> |
165 |
<artifactId>jacoco-maven-plugin</artifactId> |
166 |
<version>${maven.plugin.jacoco.version}</version> |
167 |
<executions> |
168 |
<execution> |
169 |
<id>jacoco-initialize</id> |
170 |
<goals> |
171 |
<goal>prepare-agent</goal> |
172 |
</goals> |
173 |
<configuration> |
174 |
<excludes> |
175 |
<exclude>org.hippoecm.*</exclude> |
176 |
</excludes> |
177 |
<destFile>${basedir}/target/jacoco.exec</destFile> |
178 |
</configuration> |
179 |
</execution> |
180 |
<execution> |
181 |
<id>jacoco-site</id> |
182 |
<phase>verify</phase> |
183 |
<goals> |
184 |
<goal>report</goal> |
185 |
</goals> |
186 |
</execution> |
187 |
</executions> |
188 |
</plugin> |
189 |
</plugins> |
190 |
</build> |
191 |
|
192 |
<profiles> |
193 |
<profile> |
194 |
<id>pedantic</id> |
195 |
<build> |
196 |
<plugins> |
197 |
<plugin> |
198 |
<groupId>org.apache.rat</groupId> |
199 |
<artifactId>apache-rat-plugin</artifactId> |
200 |
<inherited>false</inherited> |
201 |
<configuration> |
202 |
<addDefaultLicenseMatchers>false</addDefaultLicenseMatchers> |
203 |
<excludeSubProjects>false</excludeSubProjects> |
204 |
<licenses> |
205 |
<license implementation="org.apache.rat.analysis.license.AppliedApacheSoftwareLicense20"> |
206 |
<copyrightOwner>Hippo B\.V\. \(http://www\.onehippo\.com\)</copyrightOwner> |
207 |
</license> |
208 |
</licenses> |
209 |
<excludes> |
210 |
<!-- no license headers needed for these files --> |
211 |
<exclude>**/*.cnd</exclude> |
212 |
<exclude>**/*.json</exclude> |
213 |
<exclude>**/*.log</exclude> |
214 |
<exclude>**/*.patch</exclude> |
215 |
<exclude>**/*.properties</exclude> |
216 |
<exclude>**/hippoecm-extension.xml</exclude> |
217 |
<exclude>**/log4j.dtd</exclude> |
218 |
<exclude>**/MANIFEST.MF</exclude> |
219 |
<!-- exclude IntelliJ module files of sub-projects --> |
220 |
<exclude>**/*.iml</exclude> |
221 |
<!-- exclude IntelliJ Atlassian plugin file --> |
222 |
<exclude>**/atlassian-ide-plugin.xml</exclude> |
223 |
<!-- essentials specific --> |
224 |
<exclude>VERSIONS</exclude> |
225 |
<exclude>dashboard/*.txt</exclude> |
226 |
<exclude>dashboard/node_modules/**</exclude> |
227 |
<exclude>dashboard/src/main/webapp/js/lib/**</exclude> |
228 |
<exclude>dashboard/src/main/webapp/docs/rest-api/**</exclude> |
229 |
<exclude>archetype/**</exclude> |
230 |
<exclude>**/*.md</exclude> |
231 |
<exclude>*/.idea/**</exclude> |
232 |
<exclude>*/.bowerrc/**</exclude> |
233 |
<exclude>*/.npmrc/**</exclude> |
234 |
<exclude>**/*.svg</exclude> |
235 |
<exclude>**/*.woff</exclude> |
236 |
<exclude>**/*.ttf</exclude> |
237 |
<exclude>jar-dependencies.txt</exclude> |
238 |
<exclude>plugins/skeleton-package/src/main/resources/instructions/bootstrap/**</exclude> |
239 |
<exclude>plugins/skeleton-package/src/main/resources/instructions/js/bootstrap*.js</exclude> |
240 |
<exclude>plugins/skeleton-package/src/main/resources/instructions/js/jquery*.js</exclude> |
241 |
<exclude>plugins/**/*.ftl</exclude> |
242 |
<exclude>plugins/**/*.jsp</exclude> |
243 |
</excludes> |
244 |
</configuration> |
245 |
</plugin> |
246 |
</plugins> |
247 |
</build> |
248 |
</profile> |
249 |
</profiles> |
250 |
|
251 |
</project> |