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