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