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