]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
490e685d2d2e794ea5e41aa3472c322b086fc14a
[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.8-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>1.1</developmentCycle>
12 <developmentCycle.startDate>2012-06-19</developmentCycle.startDate>
13 <version.argeo-distribution>1.3.1</version.argeo-distribution>
14 <version.argeo-commons>1.1.8-SNAPSHOT</version.argeo-commons>
15 <rpm.release>6</rpm.release>
16 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64</rpm.stagingRepository>
17 <!-- encoding, see http://is.gd/mvn_source_encoding -->
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 </properties>
20 <modules>
21 <module>base</module>
22 <module>server</module>
23 <module>security</module>
24 </modules>
25 <organization>
26 <name>Argeo</name>
27 <url>http://www.argeo.org</url>
28 </organization>
29 <url>${site.urlBase}/${developmentCycle}</url>
30 <scm>
31 <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
32 <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk
33 </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 <!-- Site -->
237 <plugin>
238 <artifactId>maven-site-plugin</artifactId>
239 <version>3.0</version>
240 <configuration>
241 <siteDirectory>doc/site</siteDirectory>
242 <generateSitemap>true</generateSitemap>
243 <skip>true</skip>
244 <reportPlugins>
245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-project-info-reports-plugin</artifactId>
248 <version>2.4</version>
249 <reportSets>
250 <reportSet>
251 <reports>
252 <report>index</report>
253 <report>summary</report>
254 <report>license</report>
255 <report>scm</report>
256 <report>issue-tracking</report>
257 <report>project-team</report>
258 </reports>
259 </reportSet>
260 </reportSets>
261 </plugin>
262 <plugin>
263 <artifactId>maven-javadoc-plugin</artifactId>
264 <version>2.8.1</version>
265 <configuration>
266 <encoding>UTF-8</encoding>
267 <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
268 <detectLinks>true</detectLinks>
269 <links>
270 <!-- Java -->
271 <link>http://docs.oracle.com/javase/6/docs/api</link>
272 <!-- OSGi -->
273 <link>http://www.osgi.org/javadoc/r4v42</link>
274 <!-- Spring -->
275 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
276 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
277 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
278 <!-- JCR -->
279 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
280 <!-- Eclipse -->
281 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
282 </links>
283 </configuration>
284 <reportSets>
285 <reportSet>
286 <id>aggregate</id>
287 <reports>
288 <report>aggregate</report>
289 </reports>
290 </reportSet>
291 </reportSets>
292 </plugin>
293 <plugin>
294 <artifactId>maven-jxr-plugin</artifactId>
295 <version>2.3</version>
296 <configuration>
297 <excludes>
298 <exclude>**/demo/**/*</exclude>
299 <exclude>**/internal/**/*</exclude>
300 </excludes>
301 </configuration>
302 <reportSets>
303 <reportSet>
304 <id>aggregate</id>
305 <reports>
306 <report>aggregate</report>
307 </reports>
308 </reportSet>
309 </reportSets>
310 </plugin>
311 <plugin>
312 <groupId>org.codehaus.mojo</groupId>
313 <artifactId>taglist-maven-plugin</artifactId>
314 <version>2.4</version>
315 <configuration>
316 <aggregate>true</aggregate>
317 <tags>
318 <tag>TODO</tag>
319 <tag>FIXME</tag>
320 </tags>
321 </configuration>
322 </plugin>
323 <plugin>
324 <artifactId>maven-changelog-plugin</artifactId>
325 <version>2.2</version>
326 <configuration>
327 <type>date</type>
328 <dates>
329 <date>${developmentCycle.startDate}</date>
330 </dates>
331 <dateFormat>yyyy-MM-dd</dateFormat>
332 </configuration>
333 </plugin>
334 </reportPlugins>
335 </configuration>
336 </plugin>
337 </plugins>
338 </pluginManagement>
339 <resources>
340 <resource>
341 <directory>src/main/resources</directory>
342 </resource>
343 <resource>
344 <directory>.</directory>
345 <includes>
346 <include>plugin.xml</include>
347 <include>META-INF/**</include>
348 <include>WEB-INF/**</include>
349 <include>icons/**</include>
350 <include>branding/**</include>
351 <include>*.properties</include>
352 <include>properties/*.properties</include>
353 <include>p2.inf</include>
354 </includes>
355 <excludes>
356 <exclude>build.properties</exclude>
357 </excludes>
358 </resource>
359 </resources>
360 <plugins>
361 <plugin>
362 <groupId>org.codehaus.mojo</groupId>
363 <artifactId>buildnumber-maven-plugin</artifactId>
364 <executions>
365 <execution>
366 <phase>generate-resources</phase>
367 <goals>
368 <goal>create-timestamp</goal>
369 </goals>
370 </execution>
371 </executions>
372 <configuration>
373 <doCheck>false</doCheck>
374 <doUpdate>false</doUpdate>
375 <timestampFormat>yyMMdd_HHmm</timestampFormat>
376 </configuration>
377 </plugin>
378 <plugin>
379 <artifactId>maven-clean-plugin</artifactId>
380 <configuration>
381 <filesets>
382 <fileset>
383 <directory>META-INF</directory>
384 <includes>
385 <include>MANIFEST.MF</include>
386 </includes>
387 </fileset>
388 </filesets>
389 </configuration>
390 </plugin>
391 <plugin>
392 <artifactId>maven-javadoc-plugin</artifactId>
393 <configuration>
394 <skip>true</skip>
395 </configuration>
396 </plugin>
397 <plugin>
398 <artifactId>maven-resources-plugin</artifactId>
399 <configuration>
400 <encoding>UTF-8</encoding>
401 </configuration>
402 </plugin>
403 <plugin>
404 <artifactId>maven-site-plugin</artifactId>
405 <inherited>false</inherited>
406 <configuration>
407 <skip>false</skip>
408 </configuration>
409 </plugin>
410 <plugin>
411 <artifactId>maven-release-plugin</artifactId>
412 <configuration>
413 <goals>deploy</goals>
414 <releaseProfiles>rpmbuild,rpmbuild-tp</releaseProfiles>
415 </configuration>
416 </plugin>
417 <plugin>
418 <groupId>com.mycila.maven-license-plugin</groupId>
419 <artifactId>maven-license-plugin</artifactId>
420 <configuration>
421 <header>license-apache2-header.txt</header>
422 <failIfMissing>true</failIfMissing>
423 <aggregate>true</aggregate>
424 <includes>
425 <include>src/**/*.java</include>
426 <include>src/**/*.xml</include>
427 </includes>
428 <excludes>
429 <exclude>**/springutil/**</exclude>
430 <exclude>**/qooxdoo-sdk/**</exclude>
431 </excludes>
432 <useDefaultExcludes>true</useDefaultExcludes>
433 <mapping>
434 <java>SLASHSTAR_STYLE</java>
435 <xml>XML_STYLE</xml>
436 </mapping>
437 </configuration>
438 </plugin>
439 </plugins>
440 </build>
441 <dependencyManagement>
442 <dependencies>
443 <dependency>
444 <groupId>org.argeo.tp</groupId>
445 <artifactId>binaries</artifactId>
446 <version>${version.argeo-distribution}</version>
447 <type>pom</type>
448 <scope>import</scope>
449 </dependency>
450 </dependencies>
451 </dependencyManagement>
452 <repositories>
453 <repository>
454 <id>argeo-tp</id>
455 <url>http://repo.argeo.org/data/public/java/org.argeo.tp-1.3.1</url>
456 <releases>
457 <enabled>true</enabled>
458 <updatePolicy>daily</updatePolicy>
459 <checksumPolicy>warn</checksumPolicy>
460 </releases>
461 </repository>
462 </repositories>
463 <pluginRepositories>
464 <pluginRepository>
465 <id>central</id>
466 <url>http://repo1.maven.org/maven2</url>
467 <releases>
468 <enabled>true</enabled>
469 <updatePolicy>daily</updatePolicy>
470 <checksumPolicy>warn</checksumPolicy>
471 </releases>
472 </pluginRepository>
473 <pluginRepository>
474 <id>argeo-maven-plugins</id>
475 <url>http://repo.argeo.org/data/public/java/org.argeo.maven.plugins-1.1.x</url>
476 <releases>
477 <enabled>true</enabled>
478 <updatePolicy>daily</updatePolicy>
479 <checksumPolicy>warn</checksumPolicy>
480 </releases>
481 </pluginRepository>
482 </pluginRepositories>
483 <distributionManagement>
484 <repository>
485 <id>staging</id>
486 <url>dav:https://repo.argeo.org/data/files/java/org.argeo.commons-1.1.x</url>
487 <uniqueVersion>false</uniqueVersion>
488 </repository>
489 <site>
490 <id>site</id>
491 <name>Argeo Commons Site</name>
492 <url>file:///srv/projects/www/commons/site/${project.version}</url>
493 </site>
494 </distributionManagement>
495 <profiles>
496 <profile>
497 <id>localrepo</id>
498 <distributionManagement>
499 <repository>
500 <id>localrepo</id>
501 <name>Internal Release Repository</name>
502 <url>dav:http://localrepo:7070/data/files/java/org.argeo.commons-1.1.x</url>
503 </repository>
504 <snapshotRepository>
505 <id>localrepo.snapshots</id>
506 <name>Internal Snapshot Repository</name>
507 <url>dav:http://localrepo:7070/data/files/java/org.argeo.commons-1.1.x</url>
508 </snapshotRepository>
509 </distributionManagement>
510 </profile>
511 <profile>
512 <id>el5</id>
513 <properties>
514 <rpm.release>5</rpm.release>
515 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64</rpm.stagingRepository>
516 </properties>
517 </profile>
518 <profile>
519 <id>doc</id>
520 <modules>
521 <module>doc</module>
522 </modules>
523 </profile>
524 </profiles>
525 </project>