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