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