]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
718388f16d2970a5e7ab0d7a7b36ed8790cbbbef
[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.10-SNAPSHOT</version>
8 <name>Argeo Commons</name>
9 <description>Generic layers integrating free / open source technologies in order to quickly develop custom enterprise systems: security, JCR, user interface, monitoring</description>
10 <packaging>pom</packaging>
11 <properties>
12 <version.argeo-commons>2.1.10-SNAPSHOT</version.argeo-commons>
13 <developmentCycle.argeo-commons>2.1</developmentCycle.argeo-commons>
14 <developmentCycle.argeo-commons.startDate>2012-12-19</developmentCycle.argeo-commons.startDate>
15 <version.argeo-distribution>1.4.0</version.argeo-distribution>
16 <version.rap>2.2.0-R-20131204-0942</version.rap>
17 <version.rap.addons>0.5.0.argeo.20141029</version.rap.addons>
18 <!-- RPM -->
19 <rpm.release>6</rpm.release>
20 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-2-staging/6/x86_64</rpm.stagingRepository>
21 <!-- encoding, see http://is.gd/mvn_source_encoding -->
22 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23 </properties>
24 <modules>
25 <module>base</module>
26 <module>server</module>
27 <module>security</module>
28 </modules>
29 <organization>
30 <name>Argeo</name>
31 <url>http://www.argeo.org</url>
32 </organization>
33 <url>http://projects.argeo.org/commons/</url>
34 <scm>
35 <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
36 <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk</developerConnection>
37 <url>https://svn.argeo.org/commons/trunk</url>
38 </scm>
39 <inceptionYear>2007</inceptionYear>
40 <licenses>
41 <license>
42 <name>Apache 2</name>
43 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
44 <distribution>repo</distribution>
45 <comments><![CDATA[
46 Argeo Commons Enterprise Framework
47
48 Copyright (C) 2007-2012 Argeo GmbH
49
50 Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
51 you may not use this file except in compliance with the License.
52 You may obtain a copy of the License at
53
54 http://www.apache.org/licenses/LICENSE-2.0
55
56 Unless required by applicable law or agreed to in writing, software
57 distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
58 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
59 See the License for the specific language governing permissions and
60 limitations under the License.
61 ]]>
62 </comments>
63 </license>
64 </licenses>
65 <issueManagement>
66 <system>Bugzilla</system>
67 <url>https://bugzilla.argeo.org</url>
68 </issueManagement>
69 <developers>
70 <developer>
71 <id>mbaudier</id>
72 <name>Mathieu Baudier</name>
73 <email><![CDATA[http://mailhide.recaptcha.net/d?k=01EM7GpnvY3k8woQ2tnnZLUA==&c=crsNpHjhOBDPswHG6HD_gXaqymhC69wmBf7wlagcSHw=]]></email>
74 <organization>Argeo</organization>
75 <organizationUrl>http://www.argeo.org</organizationUrl>
76 <roles>
77 <role>architect</role>
78 <role>developer</role>
79 <role>QA</role>
80 </roles>
81 </developer>
82 <developer>
83 <id>bsinou</id>
84 <name>Bruno Sinou</name>
85 <email><![CDATA[http://www.google.com/recaptcha/mailhide/d?k=01SZoYvDnJzcw0KOR7M7u6Qg==&c=SVgEjXA_Uu9ZrNzLES92w1ght6puLFiVpoNUddCfSU8=]]></email>
86 <organization>Argeo</organization>
87 <organizationUrl>http://www.argeo.org</organizationUrl>
88 <roles>
89 <role>developer</role>
90 </roles>
91 </developer>
92 </developers>
93 <build>
94 <extensions>
95 <extension>
96 <groupId>org.apache.maven.wagon</groupId>
97 <artifactId>wagon-webdav-jackrabbit</artifactId>
98 <version>2.2</version>
99 </extension>
100 </extensions>
101 <resources>
102 <resource>
103 <directory>src/main/resources</directory>
104 </resource>
105 <resource>
106 <directory>.</directory>
107 <includes>
108 <include>plugin.xml</include>
109 <include>META-INF/**</include>
110 <include>WEB-INF/**</include>
111 <include>icons/**</include>
112 <include>branding/**</include>
113 <include>img/**</include>
114 <include>theme/**</include>
115 <include>*.properties</include>
116 <include>properties/*.properties</include>
117 <include>p2.inf</include>
118 </includes>
119 <excludes>
120 <exclude>build.properties</exclude>
121 </excludes>
122 </resource>
123 </resources>
124 <pluginManagement>
125 <plugins>
126 <!-- Maven -->
127 <plugin>
128 <artifactId>maven-compiler-plugin</artifactId>
129 <version>2.3.2</version>
130 <configuration>
131 <source>1.6</source>
132 <target>1.6</target>
133 </configuration>
134 </plugin>
135 <plugin>
136 <artifactId>maven-source-plugin</artifactId>
137 <version>2.1.2</version>
138 <executions>
139 <execution>
140 <id>attach-sources</id>
141 <phase>package</phase>
142 <goals>
143 <goal>jar</goal>
144 </goals>
145 </execution>
146 </executions>
147 </plugin>
148 <plugin>
149 <artifactId>maven-clean-plugin</artifactId>
150 <version>2.4.1</version>
151 <configuration>
152 <filesets>
153 <fileset>
154 <directory>META-INF</directory>
155 <includes>
156 <include>MANIFEST.MF</include>
157 </includes>
158 </fileset>
159 </filesets>
160 </configuration>
161 </plugin>
162 <plugin>
163 <artifactId>maven-surefire-plugin</artifactId>
164 <version>2.12</version>
165 </plugin>
166 <plugin>
167 <artifactId>maven-jar-plugin</artifactId>
168 <version>2.4</version>
169 <configuration>
170 <archive>
171 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
172 </archive>
173 </configuration>
174 </plugin>
175 <plugin>
176 <artifactId>maven-antrun-plugin</artifactId>
177 <version>1.7</version>
178 </plugin>
179 <plugin>
180 <artifactId>maven-resources-plugin</artifactId>
181 <version>2.5</version>
182 </plugin>
183 <plugin>
184 <artifactId>maven-dependency-plugin</artifactId>
185 <version>2.4</version>
186 </plugin>
187 <plugin>
188 <artifactId>maven-release-plugin</artifactId>
189 <version>2.2.2</version>
190 <configuration>
191 <autoVersionSubmodules>true</autoVersionSubmodules>
192 </configuration>
193 </plugin>
194 <plugin>
195 <artifactId>maven-javadoc-plugin</artifactId>
196 <version>2.8.1</version>
197 </plugin>
198 <!-- Apache -->
199 <plugin>
200 <groupId>org.apache.felix</groupId>
201 <artifactId>maven-bundle-plugin</artifactId>
202 <version>2.3.7</version>
203 <extensions>true</extensions>
204 <configuration>
205 <manifestLocation>META-INF</manifestLocation>
206 <instructions>
207 <Bundle-Version>${project.version}-r${timestamp}</Bundle-Version>
208 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
209 <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
210 <!-- SLC specific instructions -->
211 <SLC-GroupId>${project.groupId}</SLC-GroupId>
212 <_removeheaders>Bnd-LastModified,Build-Jdk,Built-By,Tool,Created-By</_removeheaders>
213 </instructions>
214 </configuration>
215 <executions>
216 <execution>
217 <id>bundle-manifest</id>
218 <phase>process-classes</phase>
219 <goals>
220 <goal>manifest</goal>
221 </goals>
222 </execution>
223 </executions>
224 </plugin>
225 <!-- Codehaus -->
226 <plugin>
227 <groupId>org.codehaus.mojo</groupId>
228 <artifactId>buildnumber-maven-plugin</artifactId>
229 <version>1.0</version>
230 </plugin>
231 <plugin>
232 <groupId>org.codehaus.mojo</groupId>
233 <artifactId>rpm-maven-plugin</artifactId>
234 <version>2.1-alpha-1</version>
235 <extensions>true</extensions>
236 <configuration>
237 <version>${project.version}</version>
238 <release>r${timestamp}.el${rpm.release}</release>
239 <distribution>argeo${rpm.release}</distribution>
240 <packager>mbaudier@argeo.org</packager>
241 <group>Applications/System</group>
242 <prefix>/usr</prefix>
243 <copyright>2012 Argeo GmbH and others</copyright>
244 </configuration>
245 </plugin>
246 <plugin>
247 <groupId>org.codehaus.mojo</groupId>
248 <artifactId>exec-maven-plugin</artifactId>
249 <version>1.2.1</version>
250 </plugin>
251 <!-- Argeo -->
252 <plugin>
253 <groupId>org.argeo.maven.plugins</groupId>
254 <artifactId>maven-argeo-osgi-plugin</artifactId>
255 <version>1.1.2</version>
256 </plugin>
257 <!-- Others -->
258 <plugin>
259 <groupId>com.mycila.maven-license-plugin</groupId>
260 <artifactId>maven-license-plugin</artifactId>
261 <version>1.9.0</version>
262 </plugin>
263 <plugin>
264 <groupId>com.agilejava.docbkx</groupId>
265 <artifactId>docbkx-maven-plugin</artifactId>
266 <version>2.0.14</version>
267 </plugin>
268 <!-- Site -->
269 <plugin>
270 <artifactId>maven-site-plugin</artifactId>
271 <version>3.0</version>
272 <configuration>
273 <siteDirectory>doc/site</siteDirectory>
274 <generateSitemap>true</generateSitemap>
275 <skip>true</skip>
276 <reportPlugins>
277 <plugin>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-project-info-reports-plugin</artifactId>
280 <version>2.4</version>
281 <reportSets>
282 <reportSet>
283 <reports>
284 <report>index</report>
285 <report>summary</report>
286 <report>license</report>
287 <report>scm</report>
288 <report>issue-tracking</report>
289 <report>project-team</report>
290 </reports>
291 </reportSet>
292 </reportSets>
293 </plugin>
294 <plugin>
295 <artifactId>maven-javadoc-plugin</artifactId>
296 <version>2.8.1</version>
297 <configuration>
298 <encoding>UTF-8</encoding>
299 <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
300 <detectLinks>true</detectLinks>
301 <links>
302 <!-- Java -->
303 <link>http://docs.oracle.com/javase/6/docs/api</link>
304 <!-- OSGi -->
305 <link>http://www.osgi.org/javadoc/r4v42</link>
306 <!-- Spring -->
307 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
308 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
309 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
310 <!-- JCR -->
311 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
312 <!-- Eclipse -->
313 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
314 </links>
315 </configuration>
316 <reportSets>
317 <reportSet>
318 <id>aggregate</id>
319 <reports>
320 <report>aggregate</report>
321 </reports>
322 </reportSet>
323 </reportSets>
324 </plugin>
325 <plugin>
326 <artifactId>maven-jxr-plugin</artifactId>
327 <version>2.3</version>
328 <configuration>
329 <excludes>
330 <exclude>**/demo/**/*</exclude>
331 <exclude>**/internal/**/*</exclude>
332 </excludes>
333 </configuration>
334 <reportSets>
335 <reportSet>
336 <id>aggregate</id>
337 <reports>
338 <report>aggregate</report>
339 </reports>
340 </reportSet>
341 </reportSets>
342 </plugin>
343 <plugin>
344 <groupId>org.codehaus.mojo</groupId>
345 <artifactId>taglist-maven-plugin</artifactId>
346 <version>2.4</version>
347 <configuration>
348 <aggregate>true</aggregate>
349 <tags>
350 <tag>TODO</tag>
351 <tag>FIXME</tag>
352 </tags>
353 </configuration>
354 </plugin>
355 <plugin>
356 <artifactId>maven-changelog-plugin</artifactId>
357 <version>2.2</version>
358 <configuration>
359 <type>date</type>
360 <dates>
361 <date>${developmentCycle.argeo-commons.startDate}</date>
362 </dates>
363 <dateFormat>yyyy-MM-dd</dateFormat>
364 </configuration>
365 </plugin>
366 </reportPlugins>
367 </configuration>
368 </plugin>
369 </plugins>
370 </pluginManagement>
371 <plugins>
372 <plugin>
373 <groupId>org.codehaus.mojo</groupId>
374 <artifactId>buildnumber-maven-plugin</artifactId>
375 <executions>
376 <execution>
377 <phase>generate-resources</phase>
378 <goals>
379 <goal>create-timestamp</goal>
380 </goals>
381 </execution>
382 </executions>
383 <configuration>
384 <doCheck>false</doCheck>
385 <doUpdate>false</doUpdate>
386 <timestampFormat>yyMMdd_HHmm</timestampFormat>
387 </configuration>
388 </plugin>
389 <plugin>
390 <artifactId>maven-clean-plugin</artifactId>
391 <configuration>
392 <filesets>
393 <fileset>
394 <directory>META-INF</directory>
395 <includes>
396 <include>MANIFEST.MF</include>
397 </includes>
398 </fileset>
399 </filesets>
400 </configuration>
401 </plugin>
402 <plugin>
403 <artifactId>maven-javadoc-plugin</artifactId>
404 <configuration>
405 <skip>true</skip>
406 </configuration>
407 </plugin>
408 <plugin>
409 <artifactId>maven-resources-plugin</artifactId>
410 <configuration>
411 <encoding>UTF-8</encoding>
412 </configuration>
413 </plugin>
414 <plugin>
415 <artifactId>maven-site-plugin</artifactId>
416 <inherited>false</inherited>
417 <configuration>
418 <skip>false</skip>
419 </configuration>
420 </plugin>
421 <plugin>
422 <artifactId>maven-release-plugin</artifactId>
423 <configuration>
424 <goals>deploy</goals>
425 <releaseProfiles>rpmbuild,rpmbuild-tp</releaseProfiles>
426 </configuration>
427 </plugin>
428 <plugin>
429 <groupId>com.mycila.maven-license-plugin</groupId>
430 <artifactId>maven-license-plugin</artifactId>
431 <configuration>
432 <header>license-apache2-header.txt</header>
433 <failIfMissing>true</failIfMissing>
434 <aggregate>true</aggregate>
435 <includes>
436 <include>src/**/*.java</include>
437 <include>src/**/*.xml</include>
438 </includes>
439 <excludes>
440 <exclude>**/springutil/**</exclude>
441 <exclude>**/qooxdoo-sdk/**</exclude>
442 </excludes>
443 <useDefaultExcludes>true</useDefaultExcludes>
444 <mapping>
445 <java>SLASHSTAR_STYLE</java>
446 <xml>XML_STYLE</xml>
447 </mapping>
448 </configuration>
449 </plugin>
450 <plugin>
451 <groupId>com.agilejava.docbkx</groupId>
452 <artifactId>docbkx-maven-plugin</artifactId>
453 <configuration>
454 <sourceDirectory>doc/reference</sourceDirectory>
455 <targetDirectory>target/site/reference</targetDirectory>
456 <htmlStylesheet>css/style.css</htmlStylesheet>
457 <postProcess>
458 <copy todir="target/site/reference">
459 <fileset dir="doc/reference">
460 <include name="*/*.css" />
461 </fileset>
462 <fileset dir="doc/reference">
463 <include name="img/**" />
464 </fileset>
465 </copy>
466 </postProcess>
467 </configuration>
468 <executions>
469 <execution>
470 <goals>
471 <goal>generate-html</goal>
472 <goal>generate-pdf</goal>
473 </goals>
474 <phase>pre-site</phase>
475 </execution>
476 </executions>
477 </plugin>
478 </plugins>
479 </build>
480 <dependencyManagement>
481 <dependencies>
482 <dependency>
483 <groupId>org.argeo.tp</groupId>
484 <artifactId>binaries</artifactId>
485 <version>${version.argeo-distribution}</version>
486 <type>pom</type>
487 <scope>import</scope>
488 </dependency>
489 <!-- Eclipse RAP -->
490 <dependency>
491 <groupId>org.argeo.tp.rap</groupId>
492 <artifactId>binaries</artifactId>
493 <version>${version.argeo-distribution}</version>
494 <type>pom</type>
495 <scope>import</scope>
496 </dependency>
497 <dependency>
498 <groupId>org.argeo.tp.rap.addons</groupId>
499 <artifactId>binaries</artifactId>
500 <version>${version.rap.addons}</version>
501 <type>pom</type>
502 <scope>import</scope>
503 </dependency>
504 <dependency>
505 <groupId>org.argeo.tp.rap.platform</groupId>
506 <artifactId>binaries</artifactId>
507 <version>${version.rap}</version>
508 <type>pom</type>
509 <scope>import</scope>
510 </dependency>
511 </dependencies>
512 </dependencyManagement>
513 <repositories>
514 <repository>
515 <id>argeo-tp</id>
516 <url>http://repo.argeo.org/data/public/java/argeo-tp-1.4</url>
517 <releases>
518 <enabled>true</enabled>
519 <updatePolicy>daily</updatePolicy>
520 <checksumPolicy>warn</checksumPolicy>
521 </releases>
522 </repository>
523 <repository>
524 <id>argeo-tp-rap</id>
525 <url>http://repo.argeo.org/data/public/java/eclipse-rap-2.2</url>
526 <releases>
527 <enabled>true</enabled>
528 <updatePolicy>daily</updatePolicy>
529 <checksumPolicy>warn</checksumPolicy>
530 </releases>
531 </repository>
532 <!--<repository> <id>argeo-tp-rap</id> <url>http://localhost:9070/data/public/java/eclipse-rap-2.2</url>
533 <releases> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> <checksumPolicy>warn</checksumPolicy>
534 </releases> </repository> -->
535 </repositories>
536 <pluginRepositories>
537 <pluginRepository>
538 <id>central</id>
539 <url>http://repo1.maven.org/maven2</url>
540 <releases>
541 <enabled>true</enabled>
542 <updatePolicy>daily</updatePolicy>
543 <checksumPolicy>warn</checksumPolicy>
544 </releases>
545 </pluginRepository>
546 <pluginRepository>
547 <id>argeo-maven-plugins</id>
548 <url>http://repo.argeo.org/data/public/java/argeo-maven-1.1</url>
549 <releases>
550 <enabled>true</enabled>
551 <updatePolicy>daily</updatePolicy>
552 <checksumPolicy>warn</checksumPolicy>
553 </releases>
554 </pluginRepository>
555 </pluginRepositories>
556 <distributionManagement>
557 <repository>
558 <id>staging</id>
559 <url>dav:https://repo.argeo.org/data/files/java/argeo-commons-${developmentCycle.argeo-commons}</url>
560 <uniqueVersion>false</uniqueVersion>
561 </repository>
562 <site>
563 <id>site</id>
564 <url>dav:https://repo.argeo.org/data/files/docs/argeo-commons-${developmentCycle.argeo-commons}</url>
565 </site>
566 </distributionManagement>
567 <profiles>
568 <profile>
569 <id>localrepo</id>
570 <distributionManagement>
571 <repository>
572 <id>localrepo</id>
573 <name>Internal Release Repository</name>
574 <url>dav:http://localhost:7070/data/files/java/argeo-commons-${developmentCycle.argeo-commons}</url>
575 </repository>
576 <site>
577 <id>site</id>
578 <name>Argeo Commons Site</name>
579 <url>dav:http://localhost:7070/data/files/docs/argeo-commons-${developmentCycle.argeo-commons}</url>
580 </site>
581 </distributionManagement>
582 </profile>
583 <profile>
584 <id>el5</id>
585 <properties>
586 <rpm.release>5</rpm.release>
587 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64</rpm.stagingRepository>
588 </properties>
589 </profile>
590 </profiles>
591 </project>