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