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