]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
Reorder perspectives in CMS DevOps.
[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.82-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.82-SNAPSHOT</version.argeo-commons>
14 <version.argeo-tp>2.1.25</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 <!-- Avoid slf4j implementations lurking in the classpath. -->
376 <exclusion>
377 <groupId>org.argeo.tp.sdk</groupId>
378 <artifactId>biz.aQute.bndlib</artifactId>
379 </exclusion>
380 <exclusion>
381 <groupId>org.argeo.tp.misc</groupId>
382 <artifactId>slf4j.osgi</artifactId>
383 </exclusion>
384 </exclusions>
385 </dependency>
386 </dependencies>
387 <dependencyManagement>
388 <dependencies>
389 <dependency>
390 <groupId>org.argeo.tp</groupId>
391 <artifactId>argeo-tp</artifactId>
392 <version>${version.argeo-tp}</version>
393 <type>pom</type>
394 <scope>import</scope>
395 </dependency>
396 <dependency>
397 <groupId>org.argeo.tp</groupId>
398 <artifactId>argeo-tp-rap-e4</artifactId>
399 <version>${version.argeo-tp}</version>
400 <type>pom</type>
401 <scope>import</scope>
402 </dependency>
403 </dependencies>
404 </dependencyManagement>
405 <repositories>
406 <repository>
407 <id>argeo</id>
408 <url>http://repo.argeo.org/data/java/argeo-2.1/</url>
409 <releases>
410 <enabled>true</enabled>
411 <updatePolicy>daily</updatePolicy>
412 <checksumPolicy>warn</checksumPolicy>
413 </releases>
414 <snapshots>
415 <enabled>false</enabled>
416 </snapshots>
417 </repository>
418 <repository>
419 <id>argeo-snapshots</id>
420 <url>file:///srv/javafactory/argeo-2.1</url>
421 <releases>
422 <enabled>false</enabled>
423 </releases>
424 <snapshots>
425 <enabled>true</enabled>
426 <updatePolicy>never</updatePolicy>
427 <checksumPolicy>warn</checksumPolicy>
428 </snapshots>
429 </repository>
430 </repositories>
431 <pluginRepositories>
432 <pluginRepository>
433 <id>argeo-maven-plugins</id>
434 <url>http://repo.argeo.org/data/java/argeo-2.1</url>
435 <releases>
436 <enabled>true</enabled>
437 <updatePolicy>daily</updatePolicy>
438 <checksumPolicy>warn</checksumPolicy>
439 </releases>
440 <snapshots>
441 <enabled>false</enabled>
442 </snapshots>
443 </pluginRepository>
444 <pluginRepository>
445 <id>argeo-maven-plugins-snapshots</id>
446 <url>file:///srv/javafactory/argeo-2.1</url>
447 <releases>
448 <enabled>false</enabled>
449 </releases>
450 <snapshots>
451 <enabled>true</enabled>
452 <updatePolicy>never</updatePolicy>
453 <checksumPolicy>warn</checksumPolicy>
454 </snapshots>
455 </pluginRepository>
456 </pluginRepositories>
457 <distributionManagement>
458 <repository>
459 <id>staging</id>
460 <url>dav:https://forge.argeo.org/data/java/argeo-2.1/</url>
461 <uniqueVersion>false</uniqueVersion>
462 </repository>
463 <snapshotRepository>
464 <id>staging</id>
465 <url>file:///srv/javafactory/argeo-2.1</url>
466 <uniqueVersion>true</uniqueVersion>
467 </snapshotRepository>
468 <site>
469 <id>staging</id>
470 <url>file:///srv/docfactory/argeo-2.1/site/argeo-commons/</url>
471 </site>
472 </distributionManagement>
473 <reporting>
474 <plugins>
475 <plugin>
476 <artifactId>maven-project-info-reports-plugin</artifactId>
477 <version>2.9</version>
478 <reportSets>
479 <reportSet>
480 <reports>
481 <report>index</report>
482 <report>summary</report>
483 <report>license</report>
484 <report>scm</report>
485 </reports>
486 </reportSet>
487 </reportSets>
488 </plugin>
489 <plugin>
490 <artifactId>maven-javadoc-plugin</artifactId>
491 <version>3.0.0</version>
492 <configuration>
493 <failOnError>false</failOnError>
494 <additionalJOption>-Xdoclint:none</additionalJOption>
495 <excludePackageNames>*.internal.*,org.eclipse.*</excludePackageNames>
496 <encoding>UTF-8</encoding>
497 <detectLinks>true</detectLinks>
498 <links>
499 <link>http://docs.oracle.com/javase/8/docs/api</link>
500 <link>https://osgi.org/javadoc/r5/core</link>
501 <link>https://osgi.org/javadoc/r5/enterprise</link>
502 <link>https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0</link>
503 <link>http://help.eclipse.org/oxygen/topic/org.eclipse.platform.doc.isv/reference/api</link>
504 <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link>
505 </links>
506 </configuration>
507 <reportSets>
508 <reportSet>
509 <id>aggregate-javadoc</id>
510 <inherited>false</inherited>
511 <reports>
512 <report>aggregate</report>
513 </reports>
514 </reportSet>
515 <reportSet>
516 <id>javadoc</id>
517 <reports />
518 </reportSet>
519 </reportSets>
520 </plugin>
521 <plugin>
522 <artifactId>maven-jxr-plugin</artifactId>
523 <version>2.5</version>
524 <reportSets>
525 <reportSet>
526 <id>aggregate-jxr</id>
527 <inherited>false</inherited>
528 <reports>
529 <report>aggregate</report>
530 </reports>
531 </reportSet>
532 <reportSet>
533 <id>jxr</id>
534 <reports />
535 </reportSet>
536 </reportSets>
537 </plugin>
538 </plugins>
539 </reporting>
540 <profiles>
541 <profile>
542 <id>rpmbuild</id>
543 <build>
544 <plugins>
545 <plugin>
546 <artifactId>maven-antrun-plugin</artifactId>
547 <executions>
548 <execution>
549 <phase>install</phase>
550 <goals>
551 <goal>run</goal>
552 </goals>
553 <configuration>
554 <target>
555 <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
556 failonerror="false">
557 <fileset dir="${project.build.directory}/rpm"
558 includes="*/RPMS/**/*.rpm" />
559 <flattenmapper />
560 </copy>
561 </target>
562 </configuration>
563 </execution>
564 </executions>
565 </plugin>
566 </plugins>
567 </build>
568 </profile>
569 <profile>
570 <id>rpmbuild-tp</id>
571 <build>
572 <plugins>
573 <plugin>
574 <artifactId>maven-antrun-plugin</artifactId>
575 <executions>
576 <execution>
577 <phase>install</phase>
578 <goals>
579 <goal>run</goal>
580 </goals>
581 <configuration>
582 <target>
583 <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
584 failonerror="false">
585 <fileset dir="${project.build.directory}/rpm"
586 includes="*/RPMS/**/*.rpm" />
587 <flattenmapper />
588 </copy>
589 </target>
590 </configuration>
591 </execution>
592 </executions>
593 </plugin>
594 </plugins>
595 </build>
596 </profile>
597 <profile>
598 <id>localrepo</id>
599 <repositories>
600 <repository>
601 <id>argeo</id>
602 <url>http://localhost:7080/data/java/argeo-2.1</url>
603 <releases>
604 <enabled>true</enabled>
605 <updatePolicy>daily</updatePolicy>
606 <checksumPolicy>warn</checksumPolicy>
607 </releases>
608 </repository>
609 </repositories>
610 <distributionManagement>
611 <repository>
612 <id>staging</id>
613 <url>dav:http://localhost:7080/data/java/argeo-2.1/</url>
614 <uniqueVersion>false</uniqueVersion>
615 </repository>
616 </distributionManagement>
617 </profile>
618 </profiles>
619 </project>