]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
Improve JCR base library
[lgpl/argeo-commons.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.argeo.commons</groupId>
6 <artifactId>argeo-commons</artifactId>
7 <version>2.1.73-SNAPSHOT</version>
8 <name>Argeo Commons</name>
9 <packaging>pom</packaging>
10 <properties>
11 <version.argeo-commons>2.1.73-SNAPSHOT</version.argeo-commons>
12 <developmentCycle.argeo-commons>2.1</developmentCycle.argeo-commons>
13 <developmentCycle.argeo-commons.startDate>2012-12-19</developmentCycle.argeo-commons.startDate>
14 <version.argeo-tp>2.1.20</version.argeo-tp>
15 <!-- RPM -->
16 <argeo.rpm.release>7</argeo.rpm.release>
17 <argeo.rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-2/el7</argeo.rpm.stagingRepository>
18 <!-- Encoding, see http://is.gd/mvn_source_encoding -->
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <project.scm.id>code.argeo.org</project.scm.id>
21 </properties>
22 <modules>
23 <!-- Base -->
24 <module>org.argeo.util</module>
25 <module>org.argeo.enterprise</module>
26 <module>org.argeo.jcr</module>
27 <module>org.argeo.osgi.boot</module>
28 <!-- Eclipse -->
29 <module>org.argeo.eclipse.ui</module>
30 <module>org.argeo.eclipse.ui.rap</module>
31 <!-- CMS -->
32 <module>org.argeo.node.api</module>
33 <module>org.argeo.maintenance</module>
34 <module>org.argeo.cms</module>
35 <module>org.argeo.cms.ui.theme</module>
36 <module>org.argeo.cms.ui</module>
37 <!-- CMS E4 -->
38 <module>org.argeo.cms.e4</module>
39 <module>org.argeo.cms.e4.rap</module>
40 <!-- CMS Workbench -->
41 <module>org.argeo.cms.ui.workbench</module>
42 <module>org.argeo.cms.ui.workbench.rap</module>
43 <!-- Third Parties Extensions -->
44 <module>org.argeo.ext.jackrabbit</module>
45 <module>org.argeo.ext.rap.ui.workbench</module>
46 <!-- Distribution -->
47 <module>dep</module>
48 <module>demo</module>
49 <module>doc</module>
50 <module>dist</module>
51 </modules>
52 <scm>
53 <connection>scm:git:http://git.argeo.org/apache2/argeo-commons.git</connection>
54 <url>http://git.argeo.org/?p=apache2/argeo-commons.git;a=summary</url>
55 <developerConnection>scm:git:https://code.argeo.org/git/apache2/argeo-commons.git</developerConnection>
56 <tag>HEAD</tag>
57 </scm>
58 <inceptionYear>2007</inceptionYear>
59 <licenses>
60 <license>
61 <name>Apache 2</name>
62 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
63 <distribution>repo</distribution>
64 <comments><![CDATA[
65 Argeo Commons Enterprise Framework
66
67 Copyright (C) 2007-2016 Argeo GmbH
68
69 Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
70 you may not use this file except in compliance with the License.
71 You may obtain a copy of the License at
72
73 http://www.apache.org/licenses/LICENSE-2.0
74
75 Unless required by applicable law or agreed to in writing, software
76 distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
77 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
78 See the License for the specific language governing permissions and
79 limitations under the License.
80 ]]>
81 </comments>
82 </license>
83 </licenses>
84 <build>
85 <extensions>
86 <extension>
87 <groupId>org.apache.maven.wagon</groupId>
88 <artifactId>wagon-webdav-jackrabbit</artifactId>
89 <version>2.10</version>
90 </extension>
91 </extensions>
92 <sourceDirectory>src</sourceDirectory>
93 <testSourceDirectory>ext/test</testSourceDirectory>
94 <resources>
95 <resource>
96 <directory>src</directory>
97 <includes>
98 <include>**</include>
99 </includes>
100 <excludes>
101 <exclude>**/*.java</exclude>
102 </excludes>
103 </resource>
104 <resource>
105 <directory>.</directory>
106 <includes>
107 <include>**</include>
108 </includes>
109 <excludes>
110 <exclude>.*</exclude>
111 <exclude>.*/**</exclude>
112 <exclude>src/**</exclude>
113 <exclude>ext/**</exclude>
114 <exclude>target/**</exclude>
115 <exclude>bin/**</exclude>
116 <exclude>pom.xml</exclude>
117 <exclude>build.properties</exclude>
118 <exclude>*.bnd</exclude>
119 <exclude>*.target</exclude>
120 <exclude>**/*.xcf</exclude>
121 </excludes>
122 </resource>
123 </resources>
124 <testResources>
125 <testResource>
126 <directory>ext/test</directory>
127 <includes>
128 <include>**</include>
129 </includes>
130 <excludes>
131 <exclude>**/*.java</exclude>
132 </excludes>
133 </testResource>
134 </testResources>
135 <pluginManagement>
136 <plugins>
137 <!-- Maven -->
138 <plugin>
139 <artifactId>maven-compiler-plugin</artifactId>
140 <version>3.3</version>
141 <configuration>
142 <source>1.8</source>
143 <target>1.8</target>
144 <compilerId>eclipse</compilerId>
145 <!-- Required for compliance level, see http://jira.codehaus.org/browse/PLXCOMP-231 -->
146 <optimize>true</optimize>
147 <!-- Hack to work around issues with generated annotations : -->
148 <generatedSourcesDirectory>target/classes</generatedSourcesDirectory>
149 <generatedTestSourcesDirectory>target/test-classes</generatedTestSourcesDirectory>
150 </configuration>
151 <dependencies>
152 <dependency>
153 <groupId>org.codehaus.plexus</groupId>
154 <artifactId>plexus-compiler-eclipse</artifactId>
155 <version>2.6</version>
156 </dependency>
157 </dependencies>
158 </plugin>
159 <plugin>
160 <artifactId>maven-source-plugin</artifactId>
161 <version>2.4</version>
162 <executions>
163 <execution>
164 <id>attach-sources</id>
165 <phase>package</phase>
166 <goals>
167 <goal>jar</goal>
168 </goals>
169 </execution>
170 </executions>
171 <configuration>
172 <excludes>
173 <!-- Prevents source jars to contain misleading data -->
174 <exclude>plugin.xml</exclude>
175 <exclude>META-INF/MANIFEST.MF</exclude>
176 </excludes>
177 </configuration>
178 </plugin>
179 <plugin>
180 <artifactId>maven-clean-plugin</artifactId>
181 <version>2.6.1</version>
182 <configuration>
183 <filesets>
184 <fileset>
185 <directory>META-INF</directory>
186 <includes>
187 <include>MANIFEST.MF</include>
188 </includes>
189 </fileset>
190 </filesets>
191 </configuration>
192 </plugin>
193 <plugin>
194 <artifactId>maven-surefire-plugin</artifactId>
195 <version>2.18</version>
196 </plugin>
197 <plugin>
198 <artifactId>maven-jar-plugin</artifactId>
199 <version>2.5</version>
200 <configuration>
201 <archive>
202 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
203 </archive>
204 </configuration>
205 </plugin>
206 <plugin>
207 <artifactId>maven-antrun-plugin</artifactId>
208 <version>1.8</version>
209 </plugin>
210 <plugin>
211 <artifactId>maven-resources-plugin</artifactId>
212 <version>2.7</version>
213 </plugin>
214 <plugin>
215 <artifactId>maven-dependency-plugin</artifactId>
216 <version>2.9</version>
217 </plugin>
218 <plugin>
219 <artifactId>maven-release-plugin</artifactId>
220 <version>2.5.1</version>
221 <configuration>
222 <autoVersionSubmodules>true</autoVersionSubmodules>
223 </configuration>
224 </plugin>
225 <!-- <plugin> -->
226 <!-- <artifactId>maven-javadoc-plugin</artifactId> -->
227 <!-- <version>2.10.4</version> -->
228 <!-- </plugin> -->
229 <!-- Apache -->
230 <plugin>
231 <groupId>org.apache.felix</groupId>
232 <artifactId>maven-bundle-plugin</artifactId>
233 <version>3.0.1</version>
234 <extensions>true</extensions>
235 <configuration>
236 <manifestLocation>META-INF</manifestLocation>
237 <instructions>
238 <_include>bnd.bnd</_include>
239 <Bundle-Version>${project.version}-r${tstamp}</Bundle-Version>
240 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
241 <Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
242 <_removeheaders>Bnd-LastModified,Build-Jdk,Built-By,Tool,Created-By</_removeheaders>
243 <!-- SLC specific instructions -->
244 <SLC-Category>${project.groupId}</SLC-Category>
245 </instructions>
246 </configuration>
247 <executions>
248 <execution>
249 <id>bundle-manifest</id>
250 <phase>process-classes</phase>
251 <goals>
252 <goal>manifest</goal>
253 </goals>
254 </execution>
255 </executions>
256 </plugin>
257 <!-- Codehaus -->
258 <plugin>
259 <groupId>org.codehaus.mojo</groupId>
260 <artifactId>rpm-maven-plugin</artifactId>
261 <version>2.1.4</version>
262 <!-- <version>2.1-alpha-1</version> -->
263 <extensions>true</extensions>
264 <configuration>
265 <version>${project.version}</version>
266 <distribution>argeo${argeo.rpm.release}</distribution>
267 <group>Applications/System</group>
268 <prefix>/usr</prefix>
269 <!-- <copyTo>${argeo.rpm.stagingRepository}</copyTo> -->
270 <defaultDirMode>755</defaultDirMode>
271 <defaultFileMode>644</defaultFileMode>
272 </configuration>
273 </plugin>
274 <plugin>
275 <groupId>org.codehaus.mojo</groupId>
276 <artifactId>exec-maven-plugin</artifactId>
277 <version>1.3.2</version>
278 </plugin>
279 <!-- Argeo -->
280 <plugin>
281 <groupId>org.argeo.maven.plugins</groupId>
282 <artifactId>maven-argeo-osgi-plugin</artifactId>
283 <version>1.1.6</version>
284 </plugin>
285 <!-- Site -->
286 <plugin>
287 <artifactId>maven-javadoc-plugin</artifactId>
288 <version>3.0.0</version>
289 <configuration>
290 <encoding>UTF-8</encoding>
291 <detectLinks>true</detectLinks>
292 <!-- <sourcepath>src</sourcepath> -->
293 <links>
294 <!-- Java -->
295 <link>http://docs.oracle.com/javase/8/docs/api</link>
296 <!-- OSGi -->
297 <link>http://www.osgi.org/javadoc/r5/core</link>
298 <link>http://www.osgi.org/javadoc/r5/enterprise</link>
299 <!-- Spring -->
300 <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link>
301 <!-- JCR -->
302 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
303 <!-- Eclipse -->
304 <link>http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.isv/reference/api</link>
305 </links>
306 </configuration>
307 </plugin>
308 <plugin>
309 <artifactId>maven-site-plugin</artifactId>
310 <version>3.7</version>
311 <!-- <configuration> -->
312 <!-- <siteDirectory>doc/site</siteDirectory> -->
313 <!-- <generateSitemap>true</generateSitemap> -->
314 <!-- <skip>false</skip> -->
315 <!-- <reportPlugins> -->
316 <!-- <plugin> -->
317 <!-- <groupId>org.apache.maven.plugins</groupId> -->
318 <!-- <artifactId>maven-project-info-reports-plugin</artifactId> -->
319 <!-- <version>2.8.1</version> -->
320 <!-- <reportSets> -->
321 <!-- <reportSet> -->
322 <!-- <reports> -->
323 <!-- <report>index</report> -->
324 <!-- <report>summary</report> -->
325 <!-- <report>license</report> -->
326 <!-- <report>scm</report> -->
327 <!-- </reports> -->
328 <!-- </reportSet> -->
329 <!-- </reportSets> -->
330 <!-- </plugin> -->
331 <!-- <plugin> -->
332 <!-- <artifactId>maven-javadoc-plugin</artifactId> -->
333 <!-- <version>3.0.0</version> -->
334 <!-- <configuration> -->
335 <!-- <encoding>UTF-8</encoding> -->
336 <!-- <detectLinks>true</detectLinks> -->
337 <!-- <sourcepath>src</sourcepath> -->
338 <!-- <links> -->
339 <!-- Java -->
340 <!-- <link>http://docs.oracle.com/javase/8/docs/api</link> -->
341 <!-- OSGi -->
342 <!-- <link>http://www.osgi.org/javadoc/r5/core</link> -->
343 <!-- <link>http://www.osgi.org/javadoc/r5/enterprise</link> -->
344 <!-- Spring -->
345 <!-- <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link> -->
346 <!-- JCR -->
347 <!-- <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link> -->
348 <!-- Eclipse -->
349 <!-- <link>http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.isv/reference/api</link> -->
350 <!-- </links> -->
351 <!-- </configuration> -->
352 <!-- <reportSets> -->
353 <!-- <reportSet> -->
354 <!-- <id>aggregate</id> -->
355 <!-- <reports> -->
356 <!-- <report>aggregate</report> -->
357 <!-- </reports> -->
358 <!-- </reportSet> -->
359 <!-- </reportSets> -->
360 <!-- </plugin> -->
361 <!-- <plugin> -->
362 <!-- <artifactId>maven-jxr-plugin</artifactId> -->
363 <!-- <version>2.5</version> -->
364 <!-- <reportSets> -->
365 <!-- <reportSet> -->
366 <!-- <id>aggregate</id> -->
367 <!-- <reports> -->
368 <!-- <report>aggregate</report> -->
369 <!-- </reports> -->
370 <!-- </reportSet> -->
371 <!-- </reportSets> -->
372 <!-- </plugin> -->
373 <!-- </reportPlugins> -->
374 <!-- </configuration> -->
375 </plugin>
376 </plugins>
377 </pluginManagement>
378 <plugins>
379 <plugin>
380 <artifactId>maven-clean-plugin</artifactId>
381 <configuration>
382 <filesets>
383 <fileset>
384 <directory>META-INF</directory>
385 <includes>
386 <include>MANIFEST.MF</include>
387 </includes>
388 </fileset>
389 </filesets>
390 </configuration>
391 </plugin>
392 <!-- <plugin> -->
393 <!-- <artifactId>maven-javadoc-plugin</artifactId> -->
394 <!-- <configuration> -->
395 <!-- <skip>true</skip> -->
396 <!-- </configuration> -->
397 <!-- </plugin> -->
398 <plugin>
399 <artifactId>maven-resources-plugin</artifactId>
400 <configuration>
401 <encoding>UTF-8</encoding>
402 </configuration>
403 </plugin>
404 <plugin>
405 <artifactId>maven-site-plugin</artifactId>
406 <inherited>false</inherited>
407 <configuration>
408 <skip>false</skip>
409 </configuration>
410 </plugin>
411 <plugin>
412 <artifactId>maven-release-plugin</artifactId>
413 <configuration>
414 <goals>deploy</goals>
415 <releaseProfiles>rpmbuild,rpmbuild-tp</releaseProfiles>
416 </configuration>
417 </plugin>
418 <plugin>
419 <groupId>org.apache.felix</groupId>
420 <artifactId>maven-bundle-plugin</artifactId>
421 </plugin>
422 </plugins>
423 </build>
424 <dependencies>
425 <dependency>
426 <groupId>org.argeo.tp</groupId>
427 <artifactId>argeo-tp</artifactId>
428 <version>${version.argeo-tp}</version>
429 <scope>provided</scope>
430 </dependency>
431 </dependencies>
432 <dependencyManagement>
433 <dependencies>
434 <dependency>
435 <groupId>org.argeo.tp</groupId>
436 <artifactId>argeo-tp</artifactId>
437 <version>${version.argeo-tp}</version>
438 <type>pom</type>
439 <scope>import</scope>
440 </dependency>
441 <dependency>
442 <groupId>org.argeo.tp</groupId>
443 <artifactId>argeo-tp-rap-e4</artifactId>
444 <version>${version.argeo-tp}</version>
445 <type>pom</type>
446 <scope>import</scope>
447 </dependency>
448 </dependencies>
449 </dependencyManagement>
450 <repositories>
451 <repository>
452 <id>argeo</id>
453 <url>http://forge.argeo.org/data/java/argeo-2.1/</url>
454 <releases>
455 <enabled>true</enabled>
456 <updatePolicy>daily</updatePolicy>
457 <checksumPolicy>warn</checksumPolicy>
458 </releases>
459 </repository>
460 <!-- Disable Maven default repository -->
461 <repository>
462 <id>central</id>
463 <url>http://repo1.maven.org/maven2</url>
464 <releases>
465 <enabled>false</enabled>
466 </releases>
467 <snapshots>
468 <enabled>false</enabled>
469 </snapshots>
470 </repository>
471 </repositories>
472 <pluginRepositories>
473 <pluginRepository>
474 <id>central</id>
475 <url>http://repo1.maven.org/maven2</url>
476 <releases>
477 <enabled>true</enabled>
478 <updatePolicy>daily</updatePolicy>
479 <checksumPolicy>warn</checksumPolicy>
480 </releases>
481 </pluginRepository>
482 <pluginRepository>
483 <id>argeo-maven-plugins</id>
484 <url>http://repo.argeo.org/data/public/java/argeo-maven-1.1</url>
485 <releases>
486 <enabled>true</enabled>
487 <updatePolicy>daily</updatePolicy>
488 <checksumPolicy>warn</checksumPolicy>
489 </releases>
490 </pluginRepository>
491 </pluginRepositories>
492 <distributionManagement>
493 <repository>
494 <id>staging</id>
495 <url>dav:https://forge.argeo.org/data/java/argeo-${developmentCycle.argeo-commons}</url>
496 <uniqueVersion>false</uniqueVersion>
497 </repository>
498 <site>
499 <id>staging</id>
500 <url>dav:https://forge.argeo.org/data/docs/argeo-${developmentCycle.argeo-commons}</url>
501 </site>
502 </distributionManagement>
503 <reporting>
504 <plugins>
505 <plugin>
506 <groupId>org.apache.maven.plugins</groupId>
507 <artifactId>maven-project-info-reports-plugin</artifactId>
508 <version>2.9</version>
509 <reportSets>
510 <reportSet>
511 <reports>
512 <report>index</report>
513 <report>summary</report>
514 <report>license</report>
515 <report>scm</report>
516 </reports>
517 </reportSet>
518 </reportSets>
519 </plugin>
520 <plugin>
521 <artifactId>maven-javadoc-plugin</artifactId>
522 <version>3.0.0</version>
523 <configuration>
524 <encoding>UTF-8</encoding>
525 <detectLinks>true</detectLinks>
526 <!-- <sourcepath>src</sourcepath> -->
527 <links>
528 <!-- Java -->
529 <link>http://docs.oracle.com/javase/8/docs/api</link>
530 <!-- OSGi -->
531 <link>http://www.osgi.org/javadoc/r5/core</link>
532 <link>http://www.osgi.org/javadoc/r5/enterprise</link>
533 <!-- Spring -->
534 <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link>
535 <!-- JCR -->
536 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
537 <!-- Eclipse -->
538 <link>http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.isv/reference/api</link>
539 </links>
540 </configuration>
541 <reportSets>
542 <reportSet>
543 <id>aggregate-javadoc</id>
544 <inherited>false</inherited>
545 <reports>
546 <report>aggregate</report>
547 </reports>
548 </reportSet>
549 <reportSet>
550 <id>javadoc</id>
551 <reports>
552 </reports>
553 </reportSet>
554 </reportSets>
555 </plugin>
556 <plugin>
557 <artifactId>maven-jxr-plugin</artifactId>
558 <version>2.5</version>
559 <reportSets>
560 <reportSet>
561 <id>aggregate-jxr</id>
562 <inherited>false</inherited>
563 <reports>
564 <report>aggregate</report>
565 </reports>
566 </reportSet>
567 <reportSet>
568 <id>jxr</id>
569 <reports>
570 </reports>
571 </reportSet>
572 </reportSets>
573 </plugin>
574 </plugins>
575 </reporting>
576 <profiles>
577 <profile>
578 <id>localrepo</id>
579 <repositories>
580 <repository>
581 <id>argeo</id>
582 <url>http://localhost:7080/data/java/argeo-2.1</url>
583 <releases>
584 <enabled>true</enabled>
585 <updatePolicy>daily</updatePolicy>
586 <checksumPolicy>warn</checksumPolicy>
587 </releases>
588 </repository>
589 </repositories>
590 <distributionManagement>
591 <repository>
592 <id>staging</id>
593 <url>dav:http://localhost:7080/data/java/argeo-${developmentCycle.argeo-commons}</url>
594 <uniqueVersion>false</uniqueVersion>
595 </repository>
596 <site>
597 <id>staging</id>
598 <url>dav:http://localhost:7080/data/docs/argeo-${developmentCycle.argeo-commons}</url>
599 </site>
600 </distributionManagement>
601 </profile>
602 <profile>
603 <id>rpmbuild</id>
604 <build>
605 <plugins>
606 <plugin>
607 <artifactId>maven-antrun-plugin</artifactId>
608 <executions>
609 <execution>
610 <phase>install</phase>
611 <goals>
612 <goal>run</goal>
613 </goals>
614 <configuration>
615 <target>
616 <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
617 failonerror="false">
618 <fileset dir="${project.build.directory}/rpm"
619 includes="*/RPMS/**/*.rpm" />
620 <flattenmapper />
621 </copy>
622 </target>
623 </configuration>
624 </execution>
625 </executions>
626 </plugin>
627 </plugins>
628 </build>
629 </profile>
630 <profile>
631 <id>rpmbuild-tp</id>
632 <build>
633 <plugins>
634 <plugin>
635 <artifactId>maven-antrun-plugin</artifactId>
636 <executions>
637 <execution>
638 <phase>install</phase>
639 <goals>
640 <goal>run</goal>
641 </goals>
642 <configuration>
643 <target>
644 <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
645 failonerror="false">
646 <fileset dir="${project.build.directory}/rpm"
647 includes="*/RPMS/**/*.rpm" />
648 <flattenmapper />
649 </copy>
650 </target>
651 </configuration>
652 </execution>
653 </executions>
654 </plugin>
655 </plugins>
656 </build>
657 </profile>
658 </profiles>
659 </project>