]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
fc39fa841ed1ca073c9c5b39c30c13c19f29a348
[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.78-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.78-SNAPSHOT</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-source-plugin</artifactId>
165 <version>2.4</version>
166 <executions>
167 <execution>
168 <id>attach-sources</id>
169 <phase>package</phase>
170 <goals>
171 <goal>jar</goal>
172 </goals>
173 </execution>
174 </executions>
175 <configuration>
176 <excludes>
177 <!-- Prevents source jars to contain misleading data -->
178 <exclude>plugin.xml</exclude>
179 <exclude>META-INF/MANIFEST.MF</exclude>
180 </excludes>
181 </configuration>
182 </plugin>
183 <plugin>
184 <artifactId>maven-clean-plugin</artifactId>
185 <version>2.6.1</version>
186 <configuration>
187 <filesets>
188 <fileset>
189 <directory>META-INF</directory>
190 <includes>
191 <include>MANIFEST.MF</include>
192 </includes>
193 </fileset>
194 </filesets>
195 </configuration>
196 </plugin>
197 <plugin>
198 <artifactId>maven-surefire-plugin</artifactId>
199 <version>2.18</version>
200 </plugin>
201 <plugin>
202 <artifactId>maven-jar-plugin</artifactId>
203 <version>2.5</version>
204 <configuration>
205 <archive>
206 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
207 </archive>
208 </configuration>
209 </plugin>
210 <plugin>
211 <artifactId>maven-antrun-plugin</artifactId>
212 <version>1.8</version>
213 </plugin>
214 <plugin>
215 <artifactId>maven-resources-plugin</artifactId>
216 <version>2.7</version>
217 </plugin>
218 <plugin>
219 <artifactId>maven-dependency-plugin</artifactId>
220 <version>2.9</version>
221 </plugin>
222 <plugin>
223 <artifactId>maven-site-plugin</artifactId>
224 <version>3.7</version>
225 </plugin>
226 <plugin>
227 <artifactId>maven-javadoc-plugin</artifactId>
228 <version>3.0.0</version>
229 <configuration>
230 <failOnError>false</failOnError>
231 <additionalJOption>-Xdoclint:none</additionalJOption>
232 <excludePackageNames>*.internal.*,org.eclipse.*</excludePackageNames>
233 <encoding>UTF-8</encoding>
234 </configuration>
235 </plugin>
236 <plugin>
237 <groupId>pl.project13.maven</groupId>
238 <artifactId>git-commit-id-plugin</artifactId>
239 <version>3.0.0</version>
240 </plugin>
241 <plugin>
242 <artifactId>maven-release-plugin</artifactId>
243 <version>2.5.1</version>
244 <configuration>
245 <autoVersionSubmodules>true</autoVersionSubmodules>
246 </configuration>
247 </plugin>
248 <plugin>
249 <groupId>org.apache.felix</groupId>
250 <artifactId>maven-bundle-plugin</artifactId>
251 <version>3.0.1</version>
252 <extensions>true</extensions>
253 <configuration>
254 <manifestLocation>META-INF</manifestLocation>
255 <instructions>
256 <_include>bnd.bnd</_include>
257 <Bundle-Version>${project.version}-r${tstamp}</Bundle-Version>
258 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
259 <Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
260 <_removeheaders>Bnd-LastModified,Build-Jdk,Built-By,Tool,Created-By</_removeheaders>
261 <Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
262 <SLC-Category>${project.groupId}</SLC-Category>
263 <!-- Git metadata -->
264 <!-- <SLC-Git-Commit-Id>${git.commit.id}</SLC-Git-Commit-Id> -->
265 <!-- <SLC-Git-Commit-Describe>${git.commit.id.describe}</SLC-Git-Commit-Describe> -->
266 <!-- <SLC-Git-Commit-Count>${git.closest.tag.commit.count}</SLC-Git-Commit-Count> -->
267 </instructions>
268 </configuration>
269 <executions>
270 <execution>
271 <id>bundle-manifest</id>
272 <phase>process-classes</phase>
273 <goals>
274 <goal>manifest</goal>
275 </goals>
276 </execution>
277 </executions>
278 </plugin>
279 <!-- Codehaus -->
280 <plugin>
281 <groupId>org.codehaus.mojo</groupId>
282 <artifactId>rpm-maven-plugin</artifactId>
283 <version>2.1.4</version>
284 <extensions>true</extensions>
285 <configuration>
286 <version>${project.version}</version>
287 <distribution>argeo${argeo.rpm.release}</distribution>
288 <group>Applications/System</group>
289 <prefix>/usr</prefix>
290 <defaultDirMode>755</defaultDirMode>
291 <defaultFileMode>644</defaultFileMode>
292 <autoRequires>false</autoRequires>
293 </configuration>
294 </plugin>
295 <plugin>
296 <groupId>org.codehaus.mojo</groupId>
297 <artifactId>exec-maven-plugin</artifactId>
298 <version>1.3.2</version>
299 </plugin>
300 <!-- Argeo -->
301 <plugin>
302 <groupId>org.argeo.maven.plugins</groupId>
303 <artifactId>maven-argeo-osgi-plugin</artifactId>
304 <version>1.2.0</version>
305 </plugin>
306 </plugins>
307 </pluginManagement>
308 <plugins>
309 <plugin>
310 <artifactId>maven-clean-plugin</artifactId>
311 <configuration>
312 <filesets>
313 <fileset>
314 <directory>META-INF</directory>
315 <includes>
316 <include>MANIFEST.MF</include>
317 </includes>
318 </fileset>
319 </filesets>
320 </configuration>
321 </plugin>
322 <!-- <plugin> -->
323 <!-- <groupId>pl.project13.maven</groupId> -->
324 <!-- <artifactId>git-commit-id-plugin</artifactId> -->
325 <!-- <executions> -->
326 <!-- <execution> -->
327 <!-- <id>get-the-git-infos</id> -->
328 <!-- <goals> -->
329 <!-- <goal>revision</goal> -->
330 <!-- </goals> -->
331 <!-- <phase>initialize</phase> -->
332 <!-- </execution> -->
333 <!-- </executions> -->
334 <!-- </plugin> -->
335 <plugin>
336 <artifactId>maven-resources-plugin</artifactId>
337 <configuration>
338 <encoding>UTF-8</encoding>
339 </configuration>
340 </plugin>
341 <plugin>
342 <artifactId>maven-site-plugin</artifactId>
343 <inherited>false</inherited>
344 <configuration>
345 <skip>false</skip>
346 </configuration>
347 </plugin>
348 <plugin>
349 <artifactId>maven-release-plugin</artifactId>
350 <configuration>
351 <goals>deploy</goals>
352 <releaseProfiles>rpmbuild,rpmbuild-tp</releaseProfiles>
353 </configuration>
354 </plugin>
355 <plugin>
356 <groupId>org.apache.felix</groupId>
357 <artifactId>maven-bundle-plugin</artifactId>
358 </plugin>
359 </plugins>
360 </build>
361 <dependencies>
362 <dependency>
363 <groupId>org.argeo.tp</groupId>
364 <artifactId>argeo-tp</artifactId>
365 <version>${version.argeo-tp}</version>
366 <scope>provided</scope>
367 <exclusions>
368 <exclusion>
369 <groupId>org.argeo.tp.apache</groupId>
370 <artifactId>org.apache.xerces</artifactId>
371 </exclusion>
372 </exclusions>
373 </dependency>
374 </dependencies>
375 <dependencyManagement>
376 <dependencies>
377 <dependency>
378 <groupId>org.argeo.tp</groupId>
379 <artifactId>argeo-tp</artifactId>
380 <version>${version.argeo-tp}</version>
381 <type>pom</type>
382 <scope>import</scope>
383 </dependency>
384 <dependency>
385 <groupId>org.argeo.tp</groupId>
386 <artifactId>argeo-tp-rap-e4</artifactId>
387 <version>${version.argeo-tp}</version>
388 <type>pom</type>
389 <scope>import</scope>
390 </dependency>
391 </dependencies>
392 </dependencyManagement>
393 <repositories>
394 <repository>
395 <id>argeo</id>
396 <url>http://repo.argeo.org/data/java/argeo-2.1/</url>
397 <releases>
398 <enabled>true</enabled>
399 <updatePolicy>daily</updatePolicy>
400 <checksumPolicy>warn</checksumPolicy>
401 </releases>
402 </repository>
403 </repositories>
404 <pluginRepositories>
405 <pluginRepository>
406 <id>argeo-maven-plugins</id>
407 <url>http://repo.argeo.org/data/java/argeo-2.1</url>
408 <releases>
409 <enabled>true</enabled>
410 <updatePolicy>daily</updatePolicy>
411 <checksumPolicy>warn</checksumPolicy>
412 </releases>
413 </pluginRepository>
414 </pluginRepositories>
415 <reporting>
416 <plugins>
417 <plugin>
418 <artifactId>maven-project-info-reports-plugin</artifactId>
419 <version>2.9</version>
420 <reportSets>
421 <reportSet>
422 <reports>
423 <report>index</report>
424 <report>summary</report>
425 <report>license</report>
426 <report>scm</report>
427 </reports>
428 </reportSet>
429 </reportSets>
430 </plugin>
431 <plugin>
432 <artifactId>maven-javadoc-plugin</artifactId>
433 <version>3.0.0</version>
434 <configuration>
435 <failOnError>false</failOnError>
436 <additionalJOption>-Xdoclint:none</additionalJOption>
437 <excludePackageNames>*.internal.*,org.eclipse.*</excludePackageNames>
438 <encoding>UTF-8</encoding>
439 <detectLinks>true</detectLinks>
440 <links>
441 <link>http://docs.oracle.com/javase/8/docs/api</link>
442 <link>https://osgi.org/javadoc/r5/core</link>
443 <link>https://osgi.org/javadoc/r5/enterprise</link>
444 <link>https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0</link>
445 <link>http://help.eclipse.org/oxygen/topic/org.eclipse.platform.doc.isv/reference/api</link>
446 <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link>
447 </links>
448 </configuration>
449 <reportSets>
450 <reportSet>
451 <id>aggregate-javadoc</id>
452 <inherited>false</inherited>
453 <reports>
454 <report>aggregate</report>
455 </reports>
456 </reportSet>
457 <reportSet>
458 <id>javadoc</id>
459 <reports />
460 </reportSet>
461 </reportSets>
462 </plugin>
463 <plugin>
464 <artifactId>maven-jxr-plugin</artifactId>
465 <version>2.5</version>
466 <reportSets>
467 <reportSet>
468 <id>aggregate-jxr</id>
469 <inherited>false</inherited>
470 <reports>
471 <report>aggregate</report>
472 </reports>
473 </reportSet>
474 <reportSet>
475 <id>jxr</id>
476 <reports />
477 </reportSet>
478 </reportSets>
479 </plugin>
480 </plugins>
481 </reporting>
482 <distributionManagement>
483 <repository>
484 <id>staging</id>
485 <url>dav:https://forge.argeo.org/data/java/argeo-2.1/</url>
486 <uniqueVersion>false</uniqueVersion>
487 </repository>
488 <site>
489 <id>staging</id>
490 <url>file:///srv/docfactory/argeo-2.1/site/argeo-commons/</url>
491 </site>
492 </distributionManagement>
493 <profiles>
494 <profile>
495 <id>rpmbuild</id>
496 <build>
497 <plugins>
498 <plugin>
499 <artifactId>maven-antrun-plugin</artifactId>
500 <executions>
501 <execution>
502 <phase>install</phase>
503 <goals>
504 <goal>run</goal>
505 </goals>
506 <configuration>
507 <target>
508 <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
509 failonerror="false">
510 <fileset dir="${project.build.directory}/rpm"
511 includes="*/RPMS/**/*.rpm" />
512 <flattenmapper />
513 </copy>
514 </target>
515 </configuration>
516 </execution>
517 </executions>
518 </plugin>
519 </plugins>
520 </build>
521 </profile>
522 <profile>
523 <id>rpmbuild-tp</id>
524 <build>
525 <plugins>
526 <plugin>
527 <artifactId>maven-antrun-plugin</artifactId>
528 <executions>
529 <execution>
530 <phase>install</phase>
531 <goals>
532 <goal>run</goal>
533 </goals>
534 <configuration>
535 <target>
536 <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
537 failonerror="false">
538 <fileset dir="${project.build.directory}/rpm"
539 includes="*/RPMS/**/*.rpm" />
540 <flattenmapper />
541 </copy>
542 </target>
543 </configuration>
544 </execution>
545 </executions>
546 </plugin>
547 </plugins>
548 </build>
549 </profile>
550 <profile>
551 <id>localrepo</id>
552 <repositories>
553 <repository>
554 <id>argeo</id>
555 <url>http://localhost:7080/data/java/argeo-2.1</url>
556 <releases>
557 <enabled>true</enabled>
558 <updatePolicy>daily</updatePolicy>
559 <checksumPolicy>warn</checksumPolicy>
560 </releases>
561 </repository>
562 </repositories>
563 <distributionManagement>
564 <repository>
565 <id>staging</id>
566 <url>dav:http://localhost:7080/data/java/argeo-2.1/</url>
567 <uniqueVersion>false</uniqueVersion>
568 </repository>
569 </distributionManagement>
570 </profile>
571 </profiles>
572 </project>