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