View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cms7/project/trunk/pom.xml
Revision: 58130
Committed: Tue Jan 26 13:16:10 2016 UTC (4 years, 6 months ago) by abanck
Content type: text/plain
File size: 43885 byte(s)
Log Message:
CMS-9899: prepare for next development iteration

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright 2007-2016 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 <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">
18 <modelVersion>4.0.0</modelVersion>
19
20 <groupId>org.onehippo.cms7</groupId>
21 <artifactId>hippo-cms7-project</artifactId>
22 <version>28-SNAPSHOT</version>
23
24 <name>Hippo CMS7 Project POM</name>
25 <description>Hippo CMS7 Project POM</description>
26 <packaging>pom</packaging>
27
28 <url>http://www.onehippo.org/cms7/</url>
29
30 <organization>
31 <name>Hippo B.V. (http://www.onehippo.com)</name>
32 <url>http://www.onehippo.com/</url>
33 </organization>
34
35 <properties>
36 <!-- use UTF-8 encoding for filtered file copy and test reports -->
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
39
40 <notice.project.name>${project.name}</notice.project.name>
41
42 <!--
43 Note on upgrading dependencies and plugins:
44 Always check the apache pom for guidance before upgrading.
45 Newer versions are not always better versions.
46 If they haven't upgraded to a certain version then probably that's
47 a good enough reason we shouldn't upgrade either.
48 You can find the latest apache pom here:
49 https://svn.apache.org/repos/asf/maven/pom/trunk/asf/pom.xml
50 -->
51 <servlet-api.version>3.0.1</servlet-api.version>
52 <javax.jcr.version>2.0</javax.jcr.version>
53 <xml-apis.version>1.0.b2</xml-apis.version>
54 <jta.version>1.1</jta.version>
55 <mail.version>1.4.7</mail.version>
56 <slf4j.version>1.7.6</slf4j.version>
57 <log4j.version>1.2.17</log4j.version>
58 <commons-logging.version>1.1.3</commons-logging.version>
59 <commons-logging-api.version>1.1</commons-logging-api.version>
60 <guava.version>16.0.1</guava.version>
61
62 <!--
63 Below are only the defined versions of some dependencies that are used in multiple projects.
64 Note that there is *no* dependency management for the version properties below.
65 -->
66 <google-api-services-analytics.version>v3-rev116-1.20.0</google-api-services-analytics.version>
67 <cxf.version>3.0.3</cxf.version>
68 <jaxrs.version>2.0.1</jaxrs.version>
69 <jackson.version>1.9.13</jackson.version>
70 <jackson2.version>2.4.5</jackson2.version>
71 <spring.version>4.1.4.RELEASE</spring.version>
72 <aspectjweaver.version>1.8.4</aspectjweaver.version> <!-- should be synchronized with dependency of spring-aop -->
73 <groovy.version>2.3.0</groovy.version>
74 <freemarker.version>2.3.22</freemarker.version>
75 <jackrabbit.version>2.10.1</jackrabbit.version>
76 <patched.jackrabbit.version>2.10.1-h9</patched.jackrabbit.version>
77 <tika-core.version>1.3</tika-core.version>
78 <tika-parsers.version>1.3</tika-parsers.version>
79 <xerces.version>2.9.1</xerces.version>
80
81 <!-- END properties versions with dependency management -->
82
83 <maven.plugin.antrun.version>1.7</maven.plugin.antrun.version>
84 <maven.plugin.assembly.version>2.4</maven.plugin.assembly.version>
85 <maven.plugin.buildnumber.version>1.2</maven.plugin.buildnumber.version>
86 <maven.plugin.cargo.version>1.4.13</maven.plugin.cargo.version>
87 <maven.plugin.changes.version>2.9</maven.plugin.changes.version>
88 <maven.plugin.changelog.version>2.2</maven.plugin.changelog.version>
89 <maven.plugin.clean.version>2.5</maven.plugin.clean.version>
90 <maven.plugin.compiler.version>3.1</maven.plugin.compiler.version>
91 <maven.plugin.dependency.version>2.9</maven.plugin.dependency.version>
92 <maven.plugin.deploy.version>2.8.1</maven.plugin.deploy.version>
93 <maven.plugin.eclipse.version>2.9</maven.plugin.eclipse.version>
94 <maven.plugin.exec.version>1.3.2</maven.plugin.exec.version>
95 <maven.plugin.failsafe.version>2.17</maven.plugin.failsafe.version>
96 <maven.plugin.install.version>2.5.1</maven.plugin.install.version>
97 <maven.plugin.jar.version>2.4</maven.plugin.jar.version>
98 <maven.plugin.javadoc.version>2.9.1</maven.plugin.javadoc.version>
99 <maven.plugin.jrebel.version>1.1.5</maven.plugin.jrebel.version>
100 <maven.plugin.project-info.version>2.7</maven.plugin.project-info.version>
101 <maven.plugin.release.version>2.5.2</maven.plugin.release.version>
102 <maven.plugin.rat.version>0.9</maven.plugin.rat.version>
103 <maven.plugin.remote-resources.version>1.5</maven.plugin.remote-resources.version>
104 <maven.plugin.resources.version>2.6</maven.plugin.resources.version>
105 <maven.plugin.source.version>2.2.1</maven.plugin.source.version>
106 <maven.plugin.surefire.version>2.16</maven.plugin.surefire.version>
107 <maven.plugin.surefire-report.version>2.16</maven.plugin.surefire-report.version>
108 <maven.plugin.taglib.version>2.4</maven.plugin.taglib.version>
109 <maven.plugin.war.version>2.4</maven.plugin.war.version>
110 <maven.plugin.enforcer.version>1.4</maven.plugin.enforcer.version>
111 <maven.build.helper.version>1.9.1</maven.build.helper.version>
112
113 <!-- if you want a remote debugging on a different a address
114 override on command line with -Dcargo.debug.addres=xxxx -->
115 <cargo.debug.address>8000</cargo.debug.address>
116 <!-- if you want to start remote debugging session suspended
117 override on command line with -Dcargo.debug.suspend=y -->
118 <cargo.debug.suspend>n</cargo.debug.suspend>
119 <!-- Cargo Tomcat container version used for Tomcat tarball distribution url -->
120 <cargo.tomcat.major.version>8</cargo.tomcat.major.version>
121 <!-- Cargo Tomcat full version used for Tomcat tarball distribution url -->
122 <cargo.tomcat.full.version>8.0.23</cargo.tomcat.full.version>
123 <!-- Cargo Tomcat distribution prefix URL used for Tomcat tarball distribution url -->
124 <cargo.tomcat.distribution.url.prefix>http://archive.apache.org/dist/tomcat/</cargo.tomcat.distribution.url.prefix>
125 <!-- Cargo Tomcat distribution archive path used for Tomcat tarball distribution url -->
126 <cargo.tomcat.distribution.url.archive>tomcat-${cargo.tomcat.major.version}/v${cargo.tomcat.full.version}/bin/apache-tomcat-${cargo.tomcat.full.version}</cargo.tomcat.distribution.url.archive>
127 <!-- Cargo Tomcat distribution url postfix used for Tomcat tarball distribution url -->
128 <cargo.tomcat.distribution.url.postfix>.tar.gz</cargo.tomcat.distribution.url.postfix>
129 <!-- Cargo Tomcat full distribution url -->
130 <cargo.tomcat.distribution.url>${cargo.tomcat.distribution.url.prefix}${cargo.tomcat.distribution.url.archive}${cargo.tomcat.distribution.url.postfix}</cargo.tomcat.distribution.url>
131 <!-- Extra JVM arguments to pass to Cargo -->
132 <cargo.jvm.args />
133 <!-- Default message displayed in the console after the cargo container has started -->
134 <cargo.started.message>Press Ctrl-C to stop the Cargo container...</cargo.started.message>
135
136 <!-- default empty javaagent, see also "jrebel" profile below -->
137 <javaagent />
138
139 </properties>
140
141 <licenses>
142 <license>
143 <name>The Apache Software License, Version 2.0</name>
144 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
145 <distribution>repo</distribution>
146 </license>
147 </licenses>
148
149 <!--
150 Software configuration management (scm): where to find and how to get acces to the source repository
151 This is used by normal plugins, but also to autogenerate documentation in .../target/site/source-repository.html
152 -->
153 <scm>
154 <connection>scm:svn:http://svn.onehippo.org/repos/hippo/hippo-cms7/project/trunk</connection>
155 <developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-cms7/project/trunk</developerConnection>
156 <url>http://svn.onehippo.org/repos/hippo/hippo-cms7/project/trunk</url>
157 </scm>
158
159 <issueManagement>
160 <system>Jira</system>
161 <url>https://issues.onehippo.com/browse/CMS7</url>
162 </issueManagement>
163
164 <inceptionYear>2007</inceptionYear>
165
166 <!-- Where to publish the project data -->
167 <distributionManagement>
168 <repository>
169 <name>Hippo Maven 2 Repository</name>
170 <id>hippo-maven2</id>
171 <url>https://maven.onehippo.com/content/repositories/releases/</url>
172 <uniqueVersion>false</uniqueVersion>
173 </repository>
174 <snapshotRepository>
175 <id>hippo-maven2-snapshots</id>
176 <name>Hippo Maven 2 Snapshots Repository</name>
177 <url>https://maven.onehippo.com/content/repositories/snapshots/</url>
178 <uniqueVersion>false</uniqueVersion>
179 </snapshotRepository>
180 </distributionManagement>
181
182 <ciManagement>
183 <system>Hudson</system>
184 <url>https://builds.onehippo.org/</url>
185 </ciManagement>
186
187 <mailingLists>
188 <mailingList>
189 <name>Hippo Community </name>
190 <subscribe>hippo-community+subscribe@googlegroups.com</subscribe>
191 <unsubscribe>hippo-community+unsubscribe@googlegroups.com</unsubscribe>
192 <!--<post>hippo-community@googlegroups.com</post>-->
193 <archive>https://groups.google.com/d/forum/hippo-community</archive>
194 </mailingList>
195 </mailingLists>
196
197 <repositories>
198 <repository>
199 <id>hippo-maven2</id>
200 <name>Hippo Maven 2</name>
201 <url>https://maven.onehippo.com/maven2/</url>
202 <snapshots>
203 <enabled>false</enabled>
204 </snapshots>
205 <releases>
206 <updatePolicy>never</updatePolicy>
207 </releases>
208 </repository>
209 <!-- DISABLED repositories which are often "transitively" pulled in
210 and/or were used in the past
211 -->
212 <repository>
213 <id>codehaus</id>
214 <url>https://nexus.codehaus.org/content/repositories/releases/org/codehaus/mojo</url>
215 <snapshots>
216 <enabled>false</enabled>
217 </snapshots>
218 <releases>
219 <enabled>false</enabled>
220 </releases>
221 </repository>
222 <repository>
223 <id>glassfish</id>
224 <name>Glassfish maven repository</name>
225 <url>http://download.java.net/maven/glassfish</url>
226 <snapshots>
227 <enabled>false</enabled>
228 </snapshots>
229 <releases>
230 <enabled>false</enabled>
231 </releases>
232 </repository>
233 <repository>
234 <id>openqa</id>
235 <name>OpenQA Repository</name>
236 <url>http://nexus.openqa.org/content/repositories/releases</url>
237 <layout>default</layout>
238 <snapshots>
239 <enabled>false</enabled>
240 </snapshots>
241 <releases>
242 <enabled>false</enabled>
243 </releases>
244 </repository>
245 <repository>
246 <id>m2snapshots</id>
247 <name>Maven 2 snapshots repository</name>
248 <url>http://people.apache.org/repo/m2-snapshot-repository</url>
249 <layout>default</layout>
250 <snapshots>
251 <enabled>false</enabled>
252 </snapshots>
253 <releases>
254 <enabled>false</enabled>
255 </releases>
256 </repository>
257 <!-- connections to maven central are by default over https since maven 3.2.3;
258 we override it here only so that earlier maven versions also use a secure connection
259 -->
260 <repository>
261 <snapshots>
262 <enabled>false</enabled>
263 </snapshots>
264 <id>central</id>
265 <name>Central Repository</name>
266 <url>https://repo.maven.apache.org/maven2</url>
267 </repository>
268 </repositories>
269
270 <pluginRepositories>
271 <pluginRepository>
272 <id>hippo</id>
273 <name>Hippo maven 2 repository.</name>
274 <url>https://maven.onehippo.com/maven2/</url>
275 <snapshots>
276 <enabled>false</enabled>
277 </snapshots>
278 <releases>
279 <updatePolicy>never</updatePolicy>
280 </releases>
281 <layout>default</layout>
282 </pluginRepository>
283 <!-- DISABLED repositories which are often "transitively" pulled in
284 and/or were used in the past
285 -->
286 <pluginRepository>
287 <id>codehaus</id>
288 <url>http://repository.codehaus.org/</url>
289 <layout>default</layout>
290 <snapshots>
291 <enabled>false</enabled>
292 </snapshots>
293 <releases>
294 <enabled>false</enabled>
295 </releases>
296 </pluginRepository>
297 <!-- connections to maven central are by default over https since maven 3.2.3;
298 we override it here only so that earlier maven versions also use a secure connection
299 -->
300 <pluginRepository>
301 <releases>
302 <updatePolicy>never</updatePolicy>
303 </releases>
304 <snapshots>
305 <enabled>false</enabled>
306 </snapshots>
307 <id>central</id>
308 <name>Central Repository</name>
309 <url>https://repo.maven.apache.org/maven2</url>
310 </pluginRepository>
311 </pluginRepositories>
312
313 <dependencyManagement>
314 <dependencies>
315 <!-- provided third party libraries -->
316 <dependency>
317 <groupId>javax.servlet</groupId>
318 <artifactId>javax.servlet-api</artifactId>
319 <version>${servlet-api.version}</version>
320 <scope>provided</scope>
321 </dependency>
322 <dependency>
323 <groupId>org.apache.geronimo.specs</groupId>
324 <artifactId>geronimo-jta_1.1_spec</artifactId>
325 <version>${jta.version}</version>
326 <scope>provided</scope>
327 </dependency>
328 <dependency>
329 <groupId>xml-apis</groupId>
330 <artifactId>xml-apis</artifactId>
331 <version>${xml-apis.version}</version>
332 <scope>test</scope>
333 </dependency>
334 <dependency>
335 <groupId>javax.jcr</groupId>
336 <artifactId>jcr</artifactId>
337 <version>${javax.jcr.version}</version>
338 <scope>provided</scope>
339 </dependency>
340 <dependency>
341 <groupId>javax.mail</groupId>
342 <artifactId>mail</artifactId>
343 <version>${mail.version}</version>
344 <scope>provided</scope>
345 </dependency>
346 <!-- exclude geronimo-javamail via scope 'test', since it clashes with javax.mail -->
347 <dependency>
348 <groupId>org.apache.geronimo.specs</groupId>
349 <artifactId>geronimo-javamail_1.4_spec</artifactId>
350 <version>1.7.1</version>
351 <scope>test</scope>
352 </dependency>
353 <dependency>
354 <groupId>org.slf4j</groupId>
355 <artifactId>slf4j-api</artifactId>
356 <version>${slf4j.version}</version>
357 <scope>provided</scope>
358 </dependency>
359 <dependency>
360 <groupId>org.slf4j</groupId>
361 <artifactId>jcl-over-slf4j</artifactId>
362 <version>${slf4j.version}</version>
363 <scope>test</scope>
364 </dependency>
365 <dependency>
366 <groupId>org.slf4j</groupId>
367 <artifactId>slf4j-log4j12</artifactId>
368 <version>${slf4j.version}</version>
369 <scope>test</scope>
370 </dependency>
371 <dependency>
372 <groupId>log4j</groupId>
373 <artifactId>log4j</artifactId>
374 <version>${log4j.version}</version>
375 <scope>test</scope>
376 </dependency>
377 <dependency>
378 <groupId>commons-logging</groupId>
379 <artifactId>commons-logging</artifactId>
380 <version>${commons-logging.version}</version>
381 <scope>test</scope>
382 </dependency>
383 <dependency>
384 <groupId>commons-logging</groupId>
385 <artifactId>commons-logging-api</artifactId>
386 <version>${commons-logging-api.version}</version>
387 <scope>test</scope>
388 </dependency>
389 <dependency>
390 <groupId>com.google.guava</groupId>
391 <artifactId>guava</artifactId>
392 <version>${guava.version}</version>
393 </dependency>
394 <dependency>
395 <groupId>javax.ws.rs</groupId>
396 <artifactId>javax.ws.rs-api</artifactId>
397 <version>${jaxrs.version}</version>
398 </dependency>
399
400 <dependency>
401 <groupId>org.apache.tika</groupId>
402 <artifactId>tika-core</artifactId>
403 <version>${tika-core.version}</version>
404 </dependency>
405 <dependency>
406 <groupId>org.apache.tika</groupId>
407 <artifactId>tika-parsers</artifactId>
408 <version>${tika-parsers.version}</version>
409 <exclusions>
410 <!-- Exclude PKCS7 signed messages -->
411 <exclusion>
412 <groupId>org.bouncycastle</groupId>
413 <artifactId>bcmail-jdk15</artifactId>
414 </exclusion>
415 <exclusion>
416 <groupId>org.bouncycastle</groupId>
417 <artifactId>bcprov-jdk15</artifactId>
418 </exclusion>
419 <!-- Exclude audio and video formats -->
420 <exclusion>
421 <groupId>org.gagravarr</groupId>
422 <artifactId>vorbis-java-tika</artifactId>
423 </exclusion>
424 <exclusion>
425 <groupId>org.gagravarr</groupId>
426 <artifactId>vorbis-java-core</artifactId>
427 </exclusion>
428 <exclusion>
429 <groupId>com.googlecode.mp4parser</groupId>
430 <artifactId>isoparser</artifactId>
431 </exclusion>
432 <!-- Exclude NetCDF and HDF formats -->
433 <exclusion>
434 <groupId>edu.ucar</groupId>
435 <artifactId>netcdf</artifactId>
436 </exclusion>
437 <exclusion>
438 <groupId>commons-httpclient</groupId>
439 <artifactId>commons-httpclient</artifactId>
440 </exclusion>
441 <!-- Exclude MIME4J (raw email and mbox files) -->
442 <exclusion>
443 <groupId>org.apache.james</groupId>
444 <artifactId>apache-mime4j-core</artifactId>
445 </exclusion>
446 <exclusion>
447 <groupId>org.apache.james</groupId>
448 <artifactId>apache-mime4j-dom</artifactId>
449 </exclusion>
450 <!-- Exclude EXIF and other image metadata as we normally don't want to parse
451 images for full text indexing -->
452 <exclusion>
453 <groupId>com.drewnoakes</groupId>
454 <artifactId>metadata-extractor</artifactId>
455 </exclusion>
456 <!-- Exclude the Rome library as we normally don't want to parse
457 RSS and Atom feeds for full text indexing. -->
458 <exclusion>
459 <groupId>rome</groupId>
460 <artifactId>rome</artifactId>
461 </exclusion>
462 <!-- Exclude asm (Java parsing) -->
463 <exclusion>
464 <groupId>asm</groupId>
465 <artifactId>asm</artifactId>
466 </exclusion>
467 <exclusion>
468 <groupId>org.ow2.asm</groupId>
469 <artifactId>asm</artifactId>
470 </exclusion>
471 <exclusion>
472 <groupId>org.ow2.asm</groupId>
473 <artifactId>asm-debug-all</artifactId>
474 </exclusion>
475 <!-- Exclude boilerpipe -->
476 <exclusion>
477 <artifactId>boilerpipe</artifactId>
478 <groupId>de.l3s.boilerpipe</groupId>
479 </exclusion>
480 <!-- Exclude xmlbeans because it contains org/w3c/dom/** which is incompatible with Java6 or higher. -->
481 <exclusion>
482 <groupId>org.apache.xmlbeans</groupId>
483 <artifactId>xmlbeans</artifactId>
484 </exclusion>
485 </exclusions>
486 </dependency>
487 <dependency>
488 <groupId>xerces</groupId>
489 <artifactId>xercesImpl</artifactId>
490 <version>${xerces.version}</version>
491 </dependency>
492
493 </dependencies>
494 </dependencyManagement>
495
496
497 <dependencies>
498
499 <!-- all shared third party dependencies -->
500 <dependency>
501 <groupId>javax.servlet</groupId>
502 <artifactId>javax.servlet-api</artifactId>
503 </dependency>
504 <dependency>
505 <groupId>org.apache.geronimo.specs</groupId>
506 <artifactId>geronimo-jta_1.1_spec</artifactId>
507 </dependency>
508 <dependency>
509 <groupId>xml-apis</groupId>
510 <artifactId>xml-apis</artifactId>
511 </dependency>
512 <dependency>
513 <groupId>javax.jcr</groupId>
514 <artifactId>jcr</artifactId>
515 </dependency>
516 <dependency>
517 <groupId>javax.mail</groupId>
518 <artifactId>mail</artifactId>
519 </dependency>
520 <dependency>
521 <groupId>org.apache.geronimo.specs</groupId>
522 <artifactId>geronimo-javamail_1.4_spec</artifactId>
523 </dependency>
524 <dependency>
525 <groupId>org.slf4j</groupId>
526 <artifactId>slf4j-api</artifactId>
527 </dependency>
528 <dependency>
529 <groupId>org.slf4j</groupId>
530 <artifactId>slf4j-log4j12</artifactId>
531 </dependency>
532 <dependency>
533 <groupId>log4j</groupId>
534 <artifactId>log4j</artifactId>
535 </dependency>
536 <dependency>
537 <groupId>org.slf4j</groupId>
538 <artifactId>jcl-over-slf4j</artifactId>
539 </dependency>
540 <dependency>
541 <groupId>commons-logging</groupId>
542 <artifactId>commons-logging</artifactId>
543 </dependency>
544 <dependency>
545 <groupId>commons-logging</groupId>
546 <artifactId>commons-logging-api</artifactId>
547 </dependency>
548 </dependencies>
549
550 <build>
551 <pluginManagement>
552 <plugins>
553 <plugin>
554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-antrun-plugin</artifactId>
556 <version>${maven.plugin.antrun.version}</version>
557 </plugin>
558 <plugin>
559 <groupId>org.apache.maven.plugins</groupId>
560 <artifactId>maven-assembly-plugin</artifactId>
561 <version>${maven.plugin.assembly.version}</version>
562 </plugin>
563 <plugin>
564 <groupId>org.codehaus.mojo</groupId>
565 <artifactId>exec-maven-plugin</artifactId>
566 <version>${maven.plugin.exec.version}</version>
567 </plugin>
568 <plugin>
569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-install-plugin</artifactId>
571 <version>${maven.plugin.install.version}</version>
572 </plugin>
573 <plugin>
574 <groupId>org.apache.maven.plugins</groupId>
575 <artifactId>maven-dependency-plugin</artifactId>
576 <version>${maven.plugin.dependency.version}</version>
577 </plugin>
578 <plugin>
579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-deploy-plugin</artifactId>
581 <version>${maven.plugin.deploy.version}</version>
582 </plugin>
583 <plugin>
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-release-plugin</artifactId>
586 <version>${maven.plugin.release.version}</version>
587 <inherited>true</inherited>
588 <configuration>
589 <autoVersionSubmodules>true</autoVersionSubmodules>
590 <!-- Default preparation goals are "clean verify", however for some multi-module projects
591 this isn't always working. If some modules depend on other modules which are not in
592 or under the same parent module, then Maven internal dependency resolution sometimes
593 fails to find the dependent module. By doing a forced install during the release
594 it is ensured these modules are (first) deployed to the local maven repository and
595 thereby resolvable.
596 To prevent unit-tests to be executed during this install additionally the environment
597 parameter skipTests=true is set
598 -->
599 <preparationGoals>clean install</preparationGoals>
600 <!-- Default release:perform goals are "deploy site-deploy", but we don't do
601 site deployment (anymore), which is why this is overridden to execute only "deploy"
602 -->
603 <goals>deploy</goals>
604 <arguments>-DskipTests=true</arguments>
605 </configuration>
606 </plugin>
607 <plugin>
608 <groupId>org.apache.maven.plugins</groupId>
609 <artifactId>maven-jar-plugin</artifactId>
610 <version>${maven.plugin.jar.version}</version>
611 <inherited>true</inherited>
612 <configuration>
613 <archive>
614 <manifest>
615 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
616 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
617 </manifest>
618 </archive>
619 </configuration>
620 </plugin>
621 <plugin>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-war-plugin</artifactId>
624 <version>${maven.plugin.war.version}</version>
625 <configuration>
626 <archive>
627 <manifest>
628 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
629 </manifest>
630 </archive>
631 <!-- copy/move (possible) L&N files as added/appended by maven-remote-resources-plugin
632 under /WEB-INF/classes/META-INF/ as for war artifacts these should
633 be provided under /META-INF/ instead
634 -->
635 <webResources>
636 <resource>
637 <directory>${project.build.directory}/classes</directory>
638 <includes>
639 <include>META-INF/LICENSE</include>
640 <include>META-INF/NOTICE</include>
641 <include>META-INF/DEPENDENCIES</include>
642 </includes>
643 <filtering>false</filtering>
644 </resource>
645 </webResources>
646 <!-- exclude (possible) L&N files added/appended by maven-remote-resources-plugin
647 under /WEB-INF/classes/META-INF/ as for war artifacts these should (see above)
648 be provided under /META-INF/ instead
649 -->
650 <packagingExcludes>
651 WEB-INF/classes/META-INF/LICENSE,
652 WEB-INF/classes/META-INF/NOTICE,
653 WEB-INF/classes/META-INF/DEPENDENCIES
654 </packagingExcludes>
655 </configuration>
656 </plugin>
657 <plugin>
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-eclipse-plugin</artifactId>
660 <version>${maven.plugin.eclipse.version}</version>
661 <inherited>true</inherited>
662 <configuration>
663 <downloadSources>true</downloadSources>
664 <downloadJavadocs>true</downloadJavadocs>
665 </configuration>
666 </plugin>
667 <plugin>
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-surefire-plugin</artifactId>
670 <version>${maven.plugin.surefire.version}</version>
671 <inherited>true</inherited>
672 </plugin>
673 <plugin>
674 <groupId>org.apache.maven.plugins</groupId>
675 <artifactId>maven-surefire-report-plugin</artifactId>
676 <version>${maven.plugin.surefire-report.version}</version>
677 <inherited>true</inherited>
678 </plugin>
679 <plugin>
680 <groupId>org.apache.maven.plugins</groupId>
681 <artifactId>maven-failsafe-plugin</artifactId>
682 <version>${maven.plugin.failsafe.version}</version>
683 <inherited>true</inherited>
684 </plugin>
685 <plugin>
686 <groupId>org.apache.maven.plugins</groupId>
687 <artifactId>maven-compiler-plugin</artifactId>
688 <version>${maven.plugin.compiler.version}</version>
689 <inherited>true</inherited>
690 <configuration>
691 <fork>true</fork>
692 <meminitial>128m</meminitial>
693 <maxmem>256m</maxmem>
694 <target>1.8</target>
695 <source>1.8</source>
696 </configuration>
697 </plugin>
698 <plugin>
699 <groupId>org.apache.maven.plugins</groupId>
700 <artifactId>maven-remote-resources-plugin</artifactId>
701 <version>${maven.plugin.remote-resources.version}</version>
702 <inherited>true</inherited>
703 <executions>
704 <execution>
705 <goals>
706 <goal>process</goal>
707 </goals>
708 <configuration>
709 <resourceBundles>
710 <resourceBundle>org.onehippo.cms7:hippo-cms7-legal-resources:1</resourceBundle>
711 </resourceBundles>
712 <properties>
713 <projectName>${notice.project.name}</projectName>
714 </properties>
715 </configuration>
716 </execution>
717 </executions>
718 </plugin>
719 <plugin>
720 <groupId>org.apache.maven.plugins</groupId>
721 <artifactId>maven-source-plugin</artifactId>
722 <version>${maven.plugin.source.version}</version>
723 <inherited>true</inherited>
724 <executions>
725 <execution>
726 <id>attach-sources</id>
727 <phase>DISABLE_FORKED_LIFECYCLE_MSOURCES-13</phase>
728 </execution>
729 <execution>
730 <id>attach-sources-no-fork</id>
731 <inherited>true</inherited>
732 <goals>
733 <goal>jar-no-fork</goal>
734 </goals>
735 </execution>
736 </executions>
737 </plugin>
738 <plugin>
739 <groupId>org.apache.maven.plugins</groupId>
740 <artifactId>maven-javadoc-plugin</artifactId>
741 <version>${maven.plugin.javadoc.version}</version>
742 <configuration>
743 <source>1.8</source>
744 <javadocVersion>1.8</javadocVersion>
745 <links>
746 <link>http://download.oracle.com/javase/8/docs/api</link>
747 </links>
748 <!-- disable JDK 8 doclint for javadoc -->
749 <additionalparam>-Xdoclint:none</additionalparam>
750 </configuration>
751 </plugin>
752 <plugin>
753 <groupId>net.sourceforge.maven-taglib</groupId>
754 <artifactId>maven-taglib-plugin</artifactId>
755 <version>${maven.plugin.taglib.version}</version>
756 </plugin>
757 <plugin>
758 <groupId>org.apache.maven.plugins</groupId>
759 <artifactId>maven-resources-plugin</artifactId>
760 <version>${maven.plugin.resources.version}</version>
761 <configuration>
762 <encoding>${project.build.sourceEncoding}</encoding>
763 </configuration>
764 </plugin>
765 <plugin>
766 <groupId>org.apache.maven.plugins</groupId>
767 <artifactId>maven-project-info-reports-plugin</artifactId>
768 <version>${maven.plugin.project-info.version}</version>
769 </plugin>
770 <plugin>
771 <groupId>org.apache.maven.plugins</groupId>
772 <artifactId>maven-changelog-plugin</artifactId>
773 <version>${maven.plugin.changelog.version}</version>
774 </plugin>
775 <plugin>
776 <groupId>org.apache.maven.plugins</groupId>
777 <artifactId>maven-changes-plugin</artifactId>
778 <version>${maven.plugin.changes.version}</version>
779 </plugin>
780 <plugin>
781 <groupId>org.codehaus.mojo</groupId>
782 <artifactId>buildnumber-maven-plugin</artifactId>
783 <version>${maven.plugin.buildnumber.version}</version>
784 <executions>
785 <execution>
786 <phase>validate</phase>
787 <goals>
788 <goal>create</goal>
789 </goals>
790 </execution>
791 </executions>
792 <configuration>
793 <doCheck>false</doCheck>
794 <doUpdate>false</doUpdate>
795 </configuration>
796 </plugin>
797 <plugin>
798 <groupId>org.codehaus.cargo</groupId>
799 <artifactId>cargo-maven2-plugin</artifactId>
800 <version>${maven.plugin.cargo.version}</version>
801 <configuration>
802 <configuration>
803 <properties>
804 <cargo.remote.username>admin</cargo.remote.username>
805 <cargo.remote.password />
806 </properties>
807 </configuration>
808 <container>
809 <containerId>tomcat${cargo.tomcat.major.version}x</containerId>
810 </container>
811 </configuration>
812 </plugin>
813 <plugin>
814 <groupId>org.apache.maven.plugins</groupId>
815 <artifactId>maven-enforcer-plugin</artifactId>
816 <version>${maven.plugin.enforcer.version}</version>
817 </plugin>
818 </plugins>
819 </pluginManagement>
820 <plugins>
821 <plugin>
822 <inherited>true</inherited>
823 <groupId>org.apache.maven.plugins</groupId>
824 <artifactId>maven-remote-resources-plugin</artifactId>
825 </plugin>
826 <plugin>
827 <inherited>true</inherited>
828 <groupId>org.apache.maven.plugins</groupId>
829 <artifactId>maven-source-plugin</artifactId>
830 </plugin>
831 <plugin>
832 <groupId>org.apache.maven.plugins</groupId>
833 <artifactId>maven-clean-plugin</artifactId>
834 <version>${maven.plugin.clean.version}</version>
835 </plugin>
836 <plugin>
837 <groupId>org.apache.maven.plugins</groupId>
838 <artifactId>maven-enforcer-plugin</artifactId>
839 <executions>
840 <execution>
841 <id>enforce-maven-versions</id>
842 <goals>
843 <goal>enforce</goal>
844 </goals>
845 <configuration>
846 <rules>
847 <requireMavenVersion>
848 <version>3.0.5</version>
849 </requireMavenVersion>
850 </rules>
851 </configuration>
852 </execution>
853 </executions>
854 </plugin>
855 <!-- detect if offline and build a commandline.offline property value
856 which can be passed along to forked/executed processes,
857 -->
858 <plugin>
859 <groupId>org.codehaus.mojo</groupId>
860 <artifactId>build-helper-maven-plugin</artifactId>
861 <version>${maven.build.helper.version}</version>
862 <executions>
863 <execution>
864 <id>property-commandline-offline</id>
865 <goals>
866 <goal>regex-property</goal>
867 </goals>
868 <configuration>
869 <name>commandline.offline</name>
870 <value>"${settings.offline}"</value>
871 <regex>"true"</regex>
872 <replacement>"-o"</replacement>
873 <failIfNoMatch>false</failIfNoMatch>
874 </configuration>
875 </execution>
876 <execution>
877 <id>property-commandline-online</id>
878 <goals>
879 <goal>regex-property</goal>
880 </goals>
881 <configuration>
882 <name>commandline.offline</name>
883 <value>${commandline.offline}</value>
884 <regex>"false"</regex>
885 <replacement />
886 <failIfNoMatch>false</failIfNoMatch>
887 </configuration>
888 </execution>
889 </executions>
890 </plugin>
891 </plugins>
892 </build>
893
894 <profiles>
895 <profile>
896 <id>release-profile</id>
897 <build>
898 <plugins>
899 <plugin>
900 <inherited>true</inherited>
901 <artifactId>maven-source-plugin</artifactId>
902 <executions>
903 <execution>
904 <id>attach-sources-no-fork</id>
905 <inherited>true</inherited>
906 <goals>
907 <goal>jar-no-fork</goal>
908 </goals>
909 </execution>
910 </executions>
911 </plugin>
912 </plugins>
913 </build>
914 </profile>
915 <profile>
916 <id>clean</id>
917 <activation>
918 <activeByDefault>true</activeByDefault>
919 </activation>
920 <build>
921 <plugins>
922 <plugin>
923 <inherited>false</inherited>
924 <artifactId>maven-clean-plugin</artifactId>
925 <configuration>
926 <filesets>
927 <fileset>
928 <directory>.</directory>
929 <includes>
930 <include>**/*~</include>
931 <include>derby.log</include>
932 <include>**/.lock</include>
933 </includes>
934 </fileset>
935 </filesets>
936 </configuration>
937 </plugin>
938 </plugins>
939 </build>
940 </profile>
941 <profile>
942 <id>cargo.run</id>
943 <properties>
944 <repo.base.path>${project.basedir}</repo.base.path>
945 <repo.path>${project.build.directory}/storage</repo.path>
946 <repo.config />
947 <repo.bootstrap />
948 </properties>
949 <dependencies>
950 <dependency>
951 <groupId>org.slf4j</groupId>
952 <artifactId>slf4j-log4j12</artifactId>
953 <scope>provided</scope>
954 </dependency>
955 <dependency>
956 <groupId>org.slf4j</groupId>
957 <artifactId>jcl-over-slf4j</artifactId>
958 <scope>provided</scope>
959 </dependency>
960 <dependency>
961 <groupId>log4j</groupId>
962 <artifactId>log4j</artifactId>
963 <scope>provided</scope>
964 </dependency>
965 </dependencies>
966 <build>
967 <defaultGoal>initialize</defaultGoal>
968 <plugins>
969 <plugin>
970 <groupId>org.codehaus.cargo</groupId>
971 <artifactId>cargo-maven2-plugin</artifactId>
972 <executions>
973 <execution>
974 <id>cargo-run</id>
975 <phase>validate</phase>
976 <goals>
977 <goal>start</goal>
978 </goals>
979 </execution>
980 </executions>
981 <configuration>
982 <configuration>
983 <home>${project.build.directory}/tomcat${cargo.tomcat.major.version}x</home>
984 <properties>
985 <cargo.jvmargs>
986 <![CDATA[-agentlib:jdwp=transport=dt_socket,address=${cargo.debug.address},server=y,suspend=${cargo.debug.suspend} -noverify ${javaagent} ${cargo.jvm.args}]]>
987 </cargo.jvmargs>
988 <cargo.servlet.uriencoding>UTF-8</cargo.servlet.uriencoding>
989 <cargo.servlet.users>admin::manager-script,manager-gui</cargo.servlet.users>
990 </properties>
991 </configuration>
992 <container>
993 <systemProperties>
994 <repo.base.path>${repo.base.path}</repo.base.path>
995 <repo.path>${repo.path}</repo.path>
996 <repo.config>${repo.config}</repo.config>
997 <repo.bootstrap>${repo.bootstrap}</repo.bootstrap>
998 </systemProperties>
999 <zipUrlInstaller>
1000 <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir>
1001 <url>${cargo.tomcat.distribution.url}</url>
1002 </zipUrlInstaller>
1003 <timeout>600000</timeout>
1004 <dependencies combine.children="append">
1005 <dependency>
1006 <groupId>org.apache.geronimo.specs</groupId>
1007 <artifactId>geronimo-jta_1.1_spec</artifactId>
1008 <classpath>extra</classpath>
1009 </dependency>
1010 <dependency>
1011 <groupId>javax.jcr</groupId>
1012 <artifactId>jcr</artifactId>
1013 <classpath>extra</classpath>
1014 </dependency>
1015 <dependency>
1016 <groupId>javax.mail</groupId>
1017 <artifactId>mail</artifactId>
1018 <classpath>extra</classpath>
1019 </dependency>
1020 <dependency>
1021 <groupId>log4j</groupId>
1022 <artifactId>log4j</artifactId>
1023 <classpath>shared</classpath>
1024 </dependency>
1025 <dependency>
1026 <groupId>org.slf4j</groupId>
1027 <artifactId>slf4j-api</artifactId>
1028 <classpath>shared</classpath>
1029 </dependency>
1030 <dependency>
1031 <groupId>org.slf4j</groupId>
1032 <artifactId>jcl-over-slf4j</artifactId>
1033 <classpath>shared</classpath>
1034 </dependency>
1035 <dependency>
1036 <groupId>org.slf4j</groupId>
1037 <artifactId>slf4j-log4j12</artifactId>
1038 <classpath>shared</classpath>
1039 </dependency>
1040 </dependencies>
1041 </container>
1042 </configuration>
1043 </plugin>
1044 <plugin>
1045 <groupId>org.apache.maven.plugins</groupId>
1046 <artifactId>maven-antrun-plugin</artifactId>
1047 <executions>
1048 <execution>
1049 <id>cargo-started</id>
1050 <phase>initialize</phase>
1051 <goals><goal>run</goal></goals>
1052 <configuration>
1053 <target><echo>${cargo.started.message}</echo><sleep hours="2147483647" /></target>
1054 </configuration>
1055 </execution>
1056 </executions>
1057 </plugin>
1058 </plugins>
1059 </build>
1060 </profile>
1061 <profile>
1062 <id>jrebel</id>
1063 <activation>
1064 <property>
1065 <name>jrebel</name>
1066 </property>
1067 </activation>
1068 <properties>
1069 <javaagent>-javaagent:${env.REBEL_HOME}/jrebel.jar</javaagent>
1070 </properties>
1071 <build>
1072 <plugins>
1073 <plugin>
1074 <groupId>org.zeroturnaround</groupId>
1075 <artifactId>jrebel-maven-plugin</artifactId>
1076 <version>${maven.plugin.jrebel.version}</version>
1077 <executions>
1078 <execution>
1079 <id>generate-rebel-xml</id>
1080 <phase>process-resources</phase>
1081 <goals>
1082 <goal>generate</goal>
1083 </goals>
1084 </execution>
1085 </executions>
1086 </plugin>
1087 </plugins>
1088 </build>
1089 </profile>
1090 <profile>
1091 <id>pedantic</id>
1092 <build>
1093 <plugins>
1094 <plugin>
1095 <groupId>org.apache.rat</groupId>
1096 <artifactId>apache-rat-plugin</artifactId>
1097 <version>${maven.plugin.rat.version}</version>
1098 <dependencies><!-- see https://issues.apache.org/jira/browse/RAT-158 -->
1099 <dependency>
1100 <groupId>org.apache.maven.doxia</groupId>
1101 <artifactId>doxia-core</artifactId>
1102 <version>1.6</version>
1103 <exclusions>
1104 <exclusion>
1105 <groupId>xerces</groupId>
1106 <artifactId>xercesImpl</artifactId>
1107 </exclusion>
1108 </exclusions>
1109 </dependency>
1110 </dependencies>
1111 <executions>
1112 <execution>
1113 <phase>validate</phase>
1114 <goals>
1115 <goal>check</goal>
1116 </goals>
1117 </execution>
1118 </executions>
1119 <configuration>
1120 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
1121 <excludeSubProjects>false</excludeSubProjects>
1122 <licenses>
1123 <license implementation="org.apache.rat.analysis.license.AppliedApacheSoftwareLicense20">
1124 <copyrightOwner>Hippo B\.V\. \(http://www\.onehippo\.com\)</copyrightOwner>
1125 </license>
1126 </licenses>
1127 <excludes>
1128 <!-- no license headers needed for these files -->
1129 <exclude>**/*.cnd</exclude>
1130 <exclude>**/*.json</exclude>
1131 <exclude>**/*.log</exclude>
1132 <exclude>**/*.patch</exclude>
1133 <exclude>**/*.properties</exclude>
1134 <exclude>**/hippoecm-extension.xml</exclude>
1135 <exclude>**/log4j.dtd</exclude>
1136 <exclude>**/MANIFEST.MF</exclude>
1137 <!-- exclude IntelliJ module files of sub-projects -->
1138 <exclude>**/*.iml</exclude>
1139 <!-- exclude IntelliJ Atlassian plugin file -->
1140 <exclude>**/atlassian-ide-plugin.xml</exclude>
1141 </excludes>
1142 </configuration>
1143 </plugin>
1144 </plugins>
1145 </build>
1146 </profile>
1147 </profiles>
1148
1149 </project>

Properties

Name Value
svn:eol-style native
svn:keywords Id
svn:mime-type text/plain