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