]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
Prepare next development cycle
[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.75-SNAPSHOT</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.75-SNAPSHOT</version.argeo-commons>
12 <!-- <developmentCycle.argeo-commons>2.1</developmentCycle.argeo-commons> -->
13 <!-- <developmentCycle.argeo-commons.startDate>2012-12-19</developmentCycle.argeo-commons.startDate> -->
14 <version.argeo-tp>2.1.20</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 <!-- Eclipse -->
29 <module>org.argeo.eclipse.ui</module>
30 <module>org.argeo.eclipse.ui.rap</module>
31 <!-- CMS -->
32 <module>org.argeo.node.api</module>
33 <module>org.argeo.maintenance</module>
34 <module>org.argeo.cms</module>
35 <module>org.argeo.cms.ui.theme</module>
36 <module>org.argeo.cms.ui</module>
37 <!-- CMS E4 -->
38 <module>org.argeo.cms.e4</module>
39 <module>org.argeo.cms.e4.rap</module>
40 <!-- CMS Workbench -->
41 <module>org.argeo.cms.ui.workbench</module>
42 <module>org.argeo.cms.ui.workbench.rap</module>
43 <!-- Third Parties Extensions -->
44 <module>org.argeo.ext.jackrabbit</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>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-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-release-plugin</artifactId>
226 <version>2.5.1</version>
227 <configuration>
228 <autoVersionSubmodules>true</autoVersionSubmodules>
229 </configuration>
230 </plugin>
231 <plugin>
232 <groupId>org.apache.felix</groupId>
233 <artifactId>maven-bundle-plugin</artifactId>
234 <version>3.0.1</version>
235 <extensions>true</extensions>
236 <configuration>
237 <manifestLocation>META-INF</manifestLocation>
238 <instructions>
239 <_include>bnd.bnd</_include>
240 <Bundle-Version>${project.version}-r${tstamp}</Bundle-Version>
241 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
242 <Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
243 <_removeheaders>Bnd-LastModified,Build-Jdk,Built-By,Tool,Created-By</_removeheaders>
244 <Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
245 <SLC-Category>${project.groupId}</SLC-Category>
246 </instructions>
247 </configuration>
248 <executions>
249 <execution>
250 <id>bundle-manifest</id>
251 <phase>process-classes</phase>
252 <goals>
253 <goal>manifest</goal>
254 </goals>
255 </execution>
256 </executions>
257 </plugin>
258 <!-- Codehaus -->
259 <plugin>
260 <groupId>org.codehaus.mojo</groupId>
261 <artifactId>rpm-maven-plugin</artifactId>
262 <version>2.1.4</version>
263 <extensions>true</extensions>
264 <configuration>
265 <version>${project.version}</version>
266 <distribution>argeo${argeo.rpm.release}</distribution>
267 <group>Applications/System</group>
268 <prefix>/usr</prefix>
269 <defaultDirMode>755</defaultDirMode>
270 <defaultFileMode>644</defaultFileMode>
271 <autoRequires>false</autoRequires>
272 </configuration>
273 </plugin>
274 <plugin>
275 <groupId>org.codehaus.mojo</groupId>
276 <artifactId>exec-maven-plugin</artifactId>
277 <version>1.3.2</version>
278 </plugin>
279 <!-- Argeo -->
280 <plugin>
281 <groupId>org.argeo.maven.plugins</groupId>
282 <artifactId>maven-argeo-osgi-plugin</artifactId>
283 <version>1.1.6</version>
284 </plugin>
285 </plugins>
286 </pluginManagement>
287 <plugins>
288 <plugin>
289 <artifactId>maven-clean-plugin</artifactId>
290 <configuration>
291 <filesets>
292 <fileset>
293 <directory>META-INF</directory>
294 <includes>
295 <include>MANIFEST.MF</include>
296 </includes>
297 </fileset>
298 </filesets>
299 </configuration>
300 </plugin>
301 <plugin>
302 <artifactId>maven-resources-plugin</artifactId>
303 <configuration>
304 <encoding>UTF-8</encoding>
305 </configuration>
306 </plugin>
307 <plugin>
308 <artifactId>maven-site-plugin</artifactId>
309 <inherited>false</inherited>
310 <configuration>
311 <skip>false</skip>
312 </configuration>
313 </plugin>
314 <plugin>
315 <artifactId>maven-release-plugin</artifactId>
316 <configuration>
317 <goals>deploy</goals>
318 <releaseProfiles>rpmbuild,rpmbuild-tp</releaseProfiles>
319 </configuration>
320 </plugin>
321 <plugin>
322 <groupId>org.apache.felix</groupId>
323 <artifactId>maven-bundle-plugin</artifactId>
324 </plugin>
325 </plugins>
326 </build>
327 <dependencies>
328 <dependency>
329 <groupId>org.argeo.tp</groupId>
330 <artifactId>argeo-tp</artifactId>
331 <version>${version.argeo-tp}</version>
332 <scope>provided</scope>
333 </dependency>
334 </dependencies>
335 <dependencyManagement>
336 <dependencies>
337 <dependency>
338 <groupId>org.argeo.tp</groupId>
339 <artifactId>argeo-tp</artifactId>
340 <version>${version.argeo-tp}</version>
341 <type>pom</type>
342 <scope>import</scope>
343 </dependency>
344 <dependency>
345 <groupId>org.argeo.tp</groupId>
346 <artifactId>argeo-tp-rap-e4</artifactId>
347 <version>${version.argeo-tp}</version>
348 <type>pom</type>
349 <scope>import</scope>
350 </dependency>
351 </dependencies>
352 </dependencyManagement>
353 <repositories>
354 <repository>
355 <id>argeo</id>
356 <url>http://repo.argeo.org/data/java/argeo-2.1/</url>
357 <releases>
358 <enabled>true</enabled>
359 <updatePolicy>daily</updatePolicy>
360 <checksumPolicy>warn</checksumPolicy>
361 </releases>
362 </repository>
363 </repositories>
364 <pluginRepositories>
365 <pluginRepository>
366 <id>argeo-maven-plugins</id>
367 <url>http://repo.argeo.org/data/java/argeo-2.1</url>
368 <releases>
369 <enabled>true</enabled>
370 <updatePolicy>daily</updatePolicy>
371 <checksumPolicy>warn</checksumPolicy>
372 </releases>
373 </pluginRepository>
374 </pluginRepositories>
375 <reporting>
376 <plugins>
377 <plugin>
378 <artifactId>maven-project-info-reports-plugin</artifactId>
379 <version>2.9</version>
380 <reportSets>
381 <reportSet>
382 <reports>
383 <report>index</report>
384 <report>summary</report>
385 <report>license</report>
386 <report>scm</report>
387 </reports>
388 </reportSet>
389 </reportSets>
390 </plugin>
391 <plugin>
392 <artifactId>maven-javadoc-plugin</artifactId>
393 <version>3.0.0</version>
394 <configuration>
395 <failOnError>false</failOnError>
396 <additionalJOption>-Xdoclint:none</additionalJOption>
397 <excludePackageNames>*.internal.*,org.eclipse.*</excludePackageNames>
398 <encoding>UTF-8</encoding>
399 <detectLinks>true</detectLinks>
400 <links>
401 <link>http://docs.oracle.com/javase/8/docs/api</link>
402 <link>https://osgi.org/javadoc/r5/core</link>
403 <link>https://osgi.org/javadoc/r5/enterprise</link>
404 <link>https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0</link>
405 <link>http://help.eclipse.org/oxygen/topic/org.eclipse.platform.doc.isv/reference/api</link>
406 <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link>
407 </links>
408 </configuration>
409 <reportSets>
410 <reportSet>
411 <id>aggregate-javadoc</id>
412 <inherited>false</inherited>
413 <reports>
414 <report>aggregate</report>
415 </reports>
416 </reportSet>
417 <reportSet>
418 <id>javadoc</id>
419 <reports />
420 </reportSet>
421 </reportSets>
422 </plugin>
423 <plugin>
424 <artifactId>maven-jxr-plugin</artifactId>
425 <version>2.5</version>
426 <reportSets>
427 <reportSet>
428 <id>aggregate-jxr</id>
429 <inherited>false</inherited>
430 <reports>
431 <report>aggregate</report>
432 </reports>
433 </reportSet>
434 <reportSet>
435 <id>jxr</id>
436 <reports />
437 </reportSet>
438 </reportSets>
439 </plugin>
440 </plugins>
441 </reporting>
442 <distributionManagement>
443 <repository>
444 <id>staging</id>
445 <url>dav:https://forge.argeo.org/data/java/argeo-2.1/</url>
446 <uniqueVersion>false</uniqueVersion>
447 </repository>
448 <site>
449 <id>staging</id>
450 <url>dav:https://forge.argeo.org/data/docs/argeo-2.1/site/argeo-commons/</url>
451 </site>
452 </distributionManagement>
453 <profiles>
454 <profile>
455 <id>rpmbuild</id>
456 <build>
457 <plugins>
458 <plugin>
459 <artifactId>maven-antrun-plugin</artifactId>
460 <executions>
461 <execution>
462 <phase>install</phase>
463 <goals>
464 <goal>run</goal>
465 </goals>
466 <configuration>
467 <target>
468 <copy todir="${argeo.rpm.stagingRepository}" quiet="true" failonerror="false">
469 <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
470 <flattenmapper />
471 </copy>
472 </target>
473 </configuration>
474 </execution>
475 </executions>
476 </plugin>
477 </plugins>
478 </build>
479 </profile>
480 <profile>
481 <id>rpmbuild-tp</id>
482 <build>
483 <plugins>
484 <plugin>
485 <artifactId>maven-antrun-plugin</artifactId>
486 <executions>
487 <execution>
488 <phase>install</phase>
489 <goals>
490 <goal>run</goal>
491 </goals>
492 <configuration>
493 <target>
494 <copy todir="${argeo.rpm.stagingRepository}" quiet="true" failonerror="false">
495 <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
496 <flattenmapper />
497 </copy>
498 </target>
499 </configuration>
500 </execution>
501 </executions>
502 </plugin>
503 </plugins>
504 </build>
505 </profile>
506 <profile>
507 <id>localrepo</id>
508 <repositories>
509 <repository>
510 <id>argeo</id>
511 <url>http://localhost:7080/data/java/argeo-2.1</url>
512 <releases>
513 <enabled>true</enabled>
514 <updatePolicy>daily</updatePolicy>
515 <checksumPolicy>warn</checksumPolicy>
516 </releases>
517 </repository>
518 </repositories>
519 <distributionManagement>
520 <repository>
521 <id>staging</id>
522 <url>dav:http://localhost:7080/data/java/argeo-2.1/</url>
523 <uniqueVersion>false</uniqueVersion>
524 </repository>
525 <site>
526 <id>staging</id>
527 <url>dav:http://localhost:7080/data/docs/argeo-2.1/site/argeo-commons/</url>
528 </site>
529 </distributionManagement>
530 </profile>
531 </profiles>
532 </project>