1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<!-- |
3 |
Copyright 2007-2011 Hippo. |
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 |
<parent> |
21 |
<groupId>org.onehippo.jcr</groupId> |
22 |
<artifactId>hippo-jcr-console</artifactId> |
23 |
<version>1.01.00-SNAPSHOT</version> |
24 |
</parent> |
25 |
|
26 |
<groupId>org.onehippo.jcr.console</groupId> |
27 |
<artifactId>jcr-repo-console</artifactId> |
28 |
<version>1.01.00-SNAPSHOT</version> |
29 |
|
30 |
<name>JCR Repository Console</name> |
31 |
<description>JCR Repository Console</description> |
32 |
<packaging>pom</packaging> |
33 |
|
34 |
<modules> |
35 |
<module>api</module> |
36 |
<module>engine</module> |
37 |
<module>plugins</module> |
38 |
<module>skin</module> |
39 |
<module>war</module> |
40 |
</modules> |
41 |
|
42 |
<properties> |
43 |
|
44 |
<!-- Test dependencies --> |
45 |
<easymock.version>2.4</easymock.version> |
46 |
<selenium.version>0.9.2</selenium.version> |
47 |
<atomikos.version>3.1.4</atomikos.version> |
48 |
<htmlunit.version>2.7</htmlunit.version> |
49 |
<junit.version>4.4</junit.version> |
50 |
|
51 |
<!-- Project Dependencies --> |
52 |
<commons-collections.version>3.1</commons-collections.version> |
53 |
<commons-httpclient.version>3.0</commons-httpclient.version> |
54 |
<commons-lang.version>2.1</commons-lang.version> |
55 |
<commons-cli.version>1.0</commons-cli.version> |
56 |
<concurrent.version>1.3.4</concurrent.version> |
57 |
|
58 |
<org.apache.geronimo.specs.j2ee-connector.version>1.1.1</org.apache.geronimo.specs.j2ee-connector.version> |
59 |
<org.slf4j.version>1.5.8</org.slf4j.version> |
60 |
|
61 |
<xerces.version>2.8.1</xerces.version> |
62 |
<cglib.version>2.1_3</cglib.version> |
63 |
<lucene.version>2.2.0</lucene.version> |
64 |
<wicket.version>1.4.17</wicket.version> |
65 |
<wicket-extjs.version>0.10-SNAPSHOT</wicket-extjs.version> |
66 |
<nekohtml.version>1.9.13</nekohtml.version> |
67 |
|
68 |
<joda-time.version>1.6</joda-time.version> |
69 |
<json-lib.version>2.2.2</json-lib.version> |
70 |
<jackrabbit.version>2.2.5-h4</jackrabbit.version> |
71 |
<htmlcleaner.version>1.02.05</htmlcleaner.version> |
72 |
<xerces.xercesImpl.version>2.8.1</xerces.xercesImpl.version> |
73 |
|
74 |
<sonar.l10n.locales>nl,fr,it</sonar.l10n.locales> |
75 |
</properties> |
76 |
|
77 |
<!-- |
78 |
Software configuration management (scm): where to find and how to get acces to the source repository |
79 |
This is used by normal plugins, but also to autogenerate documentation in .../target/site/source-repository.html |
80 |
--> |
81 |
<scm> |
82 |
<connection>scm:svn:http://svn.onehippo.org/repos/hippo/hippo-cms7/cms/trunk</connection> |
83 |
<developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-cms7/cms/trunk</developerConnection> |
84 |
<url>http://svn.onehippo.org/repos/hippo/hippo-cms7/cms/trunk</url> |
85 |
</scm> |
86 |
|
87 |
<build> |
88 |
<plugins> |
89 |
<plugin> |
90 |
<!-- Report project history via xdoc, by supplying information in src/changes/changes.xml |
91 |
|
92 |
WARNINGS |
93 |
- Some examples use the following changes plugin, but the report is full of bugs, |
94 |
missing title and descriptions, not using the issueLinkTemplate and ugly markup. |
95 |
<groupId>org.codehaus.mojo</groupId> |
96 |
<artifactId>changes-maven-plugin</artifactId> |
97 |
|
98 |
- The issueLinkTemplate configuration is supposed to be deprecated, but is the only |
99 |
way to configure for actions that have no system attribute and therefor have |
100 |
as system 'default'. From the details of issueLinkTemplatePerSystem. |
101 |
Note: The deprecated issueLinkTemplate will be used for a system called "default". |
102 |
|
103 |
--> |
104 |
<groupId>org.apache.maven.plugins</groupId> |
105 |
<artifactId>maven-changes-plugin</artifactId> |
106 |
<configuration> |
107 |
<issueLinkTemplatePerSystem> |
108 |
<Jira>%URL%/%ISSUE%</Jira> |
109 |
</issueLinkTemplatePerSystem> |
110 |
<issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate> |
111 |
</configuration> |
112 |
<executions> |
113 |
<execution> |
114 |
<id>validate-changes</id> |
115 |
<phase>pre-site</phase> |
116 |
<goals> |
117 |
<goal>changes-validate</goal> |
118 |
</goals> |
119 |
<configuration> |
120 |
<!-- if set to true the build will fail if the changes file is invalid, |
121 |
if set to false warnings will be logged. --> |
122 |
<failOnError>false</failOnError> |
123 |
</configuration> |
124 |
</execution> |
125 |
</executions> |
126 |
</plugin> |
127 |
<plugin> |
128 |
<inherited>false</inherited> |
129 |
<groupId>org.apache.maven.plugins</groupId> |
130 |
<artifactId>maven-javadoc-plugin</artifactId> |
131 |
<configuration> |
132 |
<aggregate>true</aggregate> |
133 |
<author>false</author> |
134 |
<show>protected</show> |
135 |
<source>1.6</source> |
136 |
<javadocVersion>1.6</javadocVersion> |
137 |
<docfilessubdirs>true</docfilessubdirs> |
138 |
<links> |
139 |
<link>http://java.sun.com/javase/1.6/docs/api/</link> |
140 |
<link>http://www.day.com/maven/jsr170/javadocs/jcr-2.0/</link> |
141 |
</links> |
142 |
<doclet>org.hippoecm.tools.documentation.ExcludeDoclet</doclet> |
143 |
<docletArtifact> |
144 |
<groupId>org.onehippo.cms7</groupId> |
145 |
<artifactId>hippo-repository-tools-documentation</artifactId> |
146 |
<version>${project.version}</version> |
147 |
</docletArtifact> |
148 |
</configuration> |
149 |
</plugin> |
150 |
</plugins> |
151 |
</build> |
152 |
|
153 |
<dependencyManagement> |
154 |
<dependencies> |
155 |
|
156 |
<dependency> |
157 |
<groupId>org.apache.wicket</groupId> |
158 |
<artifactId>wicket</artifactId> |
159 |
<version>1.4.17-WICKET-3927_2</version> |
160 |
</dependency> |
161 |
<dependency> |
162 |
<groupId>org.apache.wicket</groupId> |
163 |
<artifactId>wicket-extensions</artifactId> |
164 |
<version>${wicket.version}</version> |
165 |
</dependency> |
166 |
<dependency> |
167 |
<groupId>org.apache.wicket</groupId> |
168 |
<artifactId>wicket-datetime</artifactId> |
169 |
<version>${wicket.version}</version> |
170 |
</dependency> |
171 |
<dependency> |
172 |
<groupId>org.wicketstuff</groupId> |
173 |
<artifactId>wicket-extjs</artifactId> |
174 |
<version>${wicket-extjs.version}</version> |
175 |
</dependency> |
176 |
<dependency> |
177 |
<groupId>org.onehippo.yui</groupId> |
178 |
<artifactId>yui-2.xx-sources</artifactId> |
179 |
<version>1.01.10</version> |
180 |
<exclusions> |
181 |
<exclusion> |
182 |
<groupId>org.slf4j</groupId> |
183 |
<artifactId>slf4j-api</artifactId> |
184 |
</exclusion> |
185 |
</exclusions> |
186 |
</dependency> |
187 |
<dependency> |
188 |
<groupId>net.sourceforge.htmlunit</groupId> |
189 |
<artifactId>htmlunit</artifactId> |
190 |
<version>${htmlunit.version}</version> |
191 |
</dependency> |
192 |
<dependency> |
193 |
<groupId>concurrent</groupId> |
194 |
<artifactId>concurrent</artifactId> |
195 |
<version>${concurrent.version}</version> |
196 |
</dependency> |
197 |
<dependency> |
198 |
<groupId>commons-collections</groupId> |
199 |
<artifactId>commons-collections</artifactId> |
200 |
<version>${commons-collections.version}</version> |
201 |
</dependency> |
202 |
<dependency> |
203 |
<groupId>commons-cli</groupId> |
204 |
<artifactId>commons-cli</artifactId> |
205 |
<version>${commons-cli.version}</version> |
206 |
<exclusions> |
207 |
<exclusion> |
208 |
<groupId>commons-logging</groupId> |
209 |
<artifactId>commons-logging</artifactId> |
210 |
</exclusion> |
211 |
</exclusions> |
212 |
</dependency> |
213 |
<dependency> |
214 |
<groupId>commons-httpclient</groupId> |
215 |
<artifactId>commons-httpclient</artifactId> |
216 |
<version>${commons-httpclient.version}</version> |
217 |
<!-- JCR-683: Exclude bad transitive dependencies --> |
218 |
<exclusions> |
219 |
<exclusion> |
220 |
<groupId>junit</groupId> |
221 |
<artifactId>junit</artifactId> |
222 |
</exclusion> |
223 |
</exclusions> |
224 |
</dependency> |
225 |
<dependency> |
226 |
<groupId>xerces</groupId> |
227 |
<artifactId>xercesImpl</artifactId> |
228 |
<version>${xerces.version}</version> |
229 |
</dependency> |
230 |
<dependency> |
231 |
<groupId>net.sourceforge.nekohtml</groupId> |
232 |
<artifactId>nekohtml</artifactId> |
233 |
<version>${nekohtml.version}</version> |
234 |
</dependency> |
235 |
<dependency> |
236 |
<groupId>cglib</groupId> |
237 |
<artifactId>cglib</artifactId> |
238 |
<version>${cglib.version}</version> |
239 |
</dependency> |
240 |
<dependency> |
241 |
<groupId>junit</groupId> |
242 |
<artifactId>junit</artifactId> |
243 |
<version>${junit.version}</version> |
244 |
</dependency> |
245 |
<dependency> |
246 |
<groupId>commons-lang</groupId> |
247 |
<artifactId>commons-lang</artifactId> |
248 |
<version>${commons-lang.version}</version> |
249 |
</dependency> |
250 |
<dependency> |
251 |
<groupId>easymock</groupId> |
252 |
<artifactId>easymock</artifactId> |
253 |
<version>${easymock.version}</version> |
254 |
</dependency> |
255 |
|
256 |
<!-- Testing needs a JTA implementation --> |
257 |
<dependency> |
258 |
<groupId>com.atomikos</groupId> |
259 |
<artifactId>transactions-api</artifactId> |
260 |
<version>${atomikos.version}</version> |
261 |
</dependency> |
262 |
<dependency> |
263 |
<groupId>com.atomikos</groupId> |
264 |
<artifactId>transactions</artifactId> |
265 |
<version>${atomikos.version}</version> |
266 |
</dependency> |
267 |
<dependency> |
268 |
<groupId>com.atomikos</groupId> |
269 |
<artifactId>transactions-jta</artifactId> |
270 |
<version>${atomikos.version}</version> |
271 |
</dependency> |
272 |
<dependency> |
273 |
<groupId>com.atomikos</groupId> |
274 |
<artifactId>atomikos-util</artifactId> |
275 |
<version>${atomikos.version}</version> |
276 |
</dependency> |
277 |
<dependency> |
278 |
<groupId>org.openqa.selenium.client-drivers</groupId> |
279 |
<artifactId>selenium-java-client-driver</artifactId> |
280 |
<version>${selenium.version}</version> |
281 |
</dependency> |
282 |
|
283 |
<dependency> |
284 |
<groupId>org.easymock</groupId> |
285 |
<artifactId>easymockclassextension</artifactId> |
286 |
<version>${easymock.version}</version> |
287 |
<scope>test</scope> |
288 |
</dependency> |
289 |
|
290 |
</dependencies> |
291 |
</dependencyManagement> |
292 |
|
293 |
<reporting> |
294 |
<outputDirectory>target/site</outputDirectory> |
295 |
<plugins> |
296 |
<plugin> |
297 |
<inherited>true</inherited> |
298 |
<groupId>org.apache.maven.plugins</groupId> |
299 |
<artifactId>maven-project-info-reports-plugin</artifactId> |
300 |
</plugin> |
301 |
<plugin> |
302 |
<inherited>true</inherited> |
303 |
<groupId>org.apache.maven.plugins</groupId> |
304 |
<artifactId>maven-javadoc-plugin</artifactId> |
305 |
<configuration> |
306 |
<aggregate>true</aggregate> |
307 |
<author>false</author> |
308 |
<show>protected</show> |
309 |
<source>1.6</source> |
310 |
<docfilessubdirs>true</docfilessubdirs> |
311 |
<links> |
312 |
<link>http://java.sun.com/javase/1.6/docs/api/</link> |
313 |
<link>http://www.day.com/maven/jsr170/javadocs/jcr-2.0/</link> |
314 |
</links> |
315 |
<doclet>org.hippoecm.tools.documentation.ExcludeDoclet</doclet> |
316 |
<docletArtifact> |
317 |
<groupId>org.onehippo.cms7</groupId> |
318 |
<artifactId>hippo-repository-tools-documentation</artifactId> |
319 |
<version>${project.version}</version> |
320 |
</docletArtifact> |
321 |
</configuration> |
322 |
<reportSets> |
323 |
<reportSet> |
324 |
<reports> |
325 |
<report>javadoc</report> |
326 |
</reports> |
327 |
</reportSet> |
328 |
</reportSets> |
329 |
</plugin> |
330 |
|
331 |
<!-- Autogenerate reports with change counts of files and on developers doing the changes. |
332 |
target/site/changelog.html |
333 |
target/site/dev-activity.html |
334 |
target/site/file-activity.html |
335 |
--> |
336 |
<plugin> |
337 |
<inherited>true</inherited> |
338 |
<groupId>org.apache.maven.plugins</groupId> |
339 |
<artifactId>maven-changelog-plugin</artifactId> |
340 |
<configuration> |
341 |
<type>range</type> |
342 |
<range>31</range> |
343 |
</configuration> |
344 |
</plugin> |
345 |
|
346 |
<plugin> |
347 |
<groupId>org.apache.maven.plugins</groupId> |
348 |
<artifactId>maven-changes-plugin</artifactId> |
349 |
<configuration> |
350 |
<issueLinkTemplatePerSystem> |
351 |
<Jira>%URL%/%ISSUE%</Jira> |
352 |
</issueLinkTemplatePerSystem> |
353 |
<issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate> |
354 |
</configuration> |
355 |
<reportSets> |
356 |
<reportSet> |
357 |
<reports> |
358 |
<report>changes-report</report> |
359 |
<!-- <report>jira-report</report> --> |
360 |
</reports> |
361 |
</reportSet> |
362 |
</reportSets> |
363 |
</plugin> |
364 |
|
365 |
<!-- Autogenerate todo list from @todo and TODO tags --> |
366 |
<plugin> |
367 |
<groupId>org.codehaus.mojo</groupId> |
368 |
<artifactId>taglist-maven-plugin</artifactId> |
369 |
<version>2.4</version> |
370 |
<configuration> |
371 |
<tags> |
372 |
<tag>TODO</tag> |
373 |
<tag>FIXME</tag> |
374 |
<tag>FUTURE</tag> |
375 |
</tags> |
376 |
</configuration> |
377 |
</plugin> |
378 |
|
379 |
<plugin> |
380 |
<inherited>true</inherited> |
381 |
<groupId>org.apache.maven.plugins</groupId> |
382 |
<artifactId>maven-surefire-report-plugin</artifactId> |
383 |
<version>2.5</version> |
384 |
</plugin> |
385 |
|
386 |
<plugin> |
387 |
<inherited>true</inherited> |
388 |
<groupId>org.apache.maven.plugins</groupId> |
389 |
<artifactId>maven-checkstyle-plugin</artifactId> |
390 |
<version>2.3</version> |
391 |
</plugin> |
392 |
<plugin> |
393 |
<inherited>true</inherited> |
394 |
<groupId>org.apache.maven.plugins</groupId> |
395 |
<artifactId>maven-site-plugin</artifactId> |
396 |
<version>2.0.1</version> |
397 |
<configuration> |
398 |
<aggregate>true</aggregate> |
399 |
</configuration> |
400 |
</plugin> |
401 |
<plugin> |
402 |
<groupId>org.codehaus.mojo</groupId> |
403 |
<artifactId>findbugs-maven-plugin</artifactId> |
404 |
<version>2.1</version> |
405 |
<configuration> |
406 |
<xmlOutput>true</xmlOutput> |
407 |
<xdocsOutput>true</xdocsOutput> |
408 |
<emacsOutput>true</emacsOutput> |
409 |
<xmlOutputDirectory>target/site</xmlOutputDirectory> |
410 |
<excludeFilterFile>src/site/findbugs-exclude.xml</excludeFilterFile> |
411 |
<effort>Max</effort> |
412 |
<threshold>High</threshold> |
413 |
<relaxed>true</relaxed> |
414 |
</configuration> |
415 |
</plugin> |
416 |
</plugins> |
417 |
</reporting> |
418 |
|
419 |
<profiles> |
420 |
|
421 |
<profile> |
422 |
<id>default</id> |
423 |
<activation> |
424 |
<activeByDefault>true</activeByDefault> |
425 |
<property> |
426 |
<name>jrebel</name> |
427 |
</property> |
428 |
</activation> |
429 |
<modules> |
430 |
<module>war</module> |
431 |
</modules> |
432 |
</profile> |
433 |
|
434 |
<profile> |
435 |
<id>cargo.run</id> |
436 |
<dependencies> |
437 |
<dependency> |
438 |
<groupId>log4j</groupId> |
439 |
<artifactId>log4j</artifactId> |
440 |
<version>${log4j.version}</version> |
441 |
<scope>provided</scope> |
442 |
</dependency> |
443 |
</dependencies> |
444 |
<build> |
445 |
<plugins> |
446 |
<plugin> |
447 |
<groupId>org.codehaus.cargo</groupId> |
448 |
<artifactId>cargo-maven2-plugin</artifactId> |
449 |
<configuration> |
450 |
<configuration> |
451 |
<deployables> |
452 |
<deployable> |
453 |
<type>war</type> |
454 |
<properties> |
455 |
<context>/console</context> |
456 |
</properties> |
457 |
<location>${project.basedir}/war/target/console.war</location> |
458 |
</deployable> |
459 |
</deployables> |
460 |
</configuration> |
461 |
<container> |
462 |
<systemProperties> |
463 |
<log4j.configuration>file:${project.basedir}/conf/log4j.xml</log4j.configuration> |
464 |
<rebel.log4j-plugin>true</rebel.log4j-plugin> |
465 |
</systemProperties> |
466 |
<dependencies> |
467 |
|
468 |
<dependency> |
469 |
<groupId>log4j</groupId> |
470 |
<artifactId>log4j</artifactId> |
471 |
<classpath>shared</classpath> |
472 |
</dependency> |
473 |
|
474 |
</dependencies> |
475 |
</container> |
476 |
</configuration> |
477 |
</plugin> |
478 |
</plugins> |
479 |
</build> |
480 |
</profile> |
481 |
|
482 |
<profile> |
483 |
<id>dist</id> |
484 |
<dependencies> |
485 |
<dependency> |
486 |
<groupId>log4j</groupId> |
487 |
<artifactId>log4j</artifactId> |
488 |
<version>${log4j.version}</version> |
489 |
<scope>provided</scope> |
490 |
</dependency> |
491 |
</dependencies> |
492 |
<build> |
493 |
<defaultGoal>validate</defaultGoal> |
494 |
<plugins> |
495 |
<plugin> |
496 |
<artifactId>maven-assembly-plugin</artifactId> |
497 |
<executions> |
498 |
<execution> |
499 |
<id>distro-assembly</id> |
500 |
<phase>validate</phase> |
501 |
<goals> |
502 |
<goal>single</goal> |
503 |
</goals> |
504 |
<configuration> |
505 |
<descriptors> |
506 |
<descriptor>${project.basedir}/src/main/assembly/distribution.xml</descriptor> |
507 |
</descriptors> |
508 |
</configuration> |
509 |
</execution> |
510 |
</executions> |
511 |
</plugin> |
512 |
</plugins> |
513 |
</build> |
514 |
</profile> |
515 |
|
516 |
</profiles> |
517 |
|
518 |
</project> |