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