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