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