]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
version.argeo-commons as version range
[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 </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 <!-- Site -->
238 <plugin>
239 <artifactId>maven-site-plugin</artifactId>
240 <version>3.0</version>
241 <configuration>
242 <siteDirectory>doc/site</siteDirectory>
243 <generateSitemap>true</generateSitemap>
244 <skip>true</skip>
245 <reportPlugins>
246 <plugin>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-project-info-reports-plugin</artifactId>
249 <version>2.4</version>
250 <reportSets>
251 <reportSet>
252 <reports>
253 <report>index</report>
254 <report>summary</report>
255 <report>license</report>
256 <report>scm</report>
257 <report>issue-tracking</report>
258 <report>project-team</report>
259 </reports>
260 </reportSet>
261 </reportSets>
262 </plugin>
263 <plugin>
264 <artifactId>maven-javadoc-plugin</artifactId>
265 <version>2.8.1</version>
266 <configuration>
267 <encoding>UTF-8</encoding>
268 <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
269 <detectLinks>true</detectLinks>
270 <links>
271 <!-- Java -->
272 <link>http://docs.oracle.com/javase/6/docs/api</link>
273 <!-- OSGi -->
274 <link>http://www.osgi.org/javadoc/r4v42</link>
275 <!-- Spring -->
276 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
277 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
278 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
279 <!-- JCR -->
280 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
281 <!-- Eclipse -->
282 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
283 </links>
284 </configuration>
285 <reportSets>
286 <reportSet>
287 <id>aggregate</id>
288 <reports>
289 <report>aggregate</report>
290 </reports>
291 </reportSet>
292 </reportSets>
293 </plugin>
294 <plugin>
295 <artifactId>maven-jxr-plugin</artifactId>
296 <version>2.3</version>
297 <configuration>
298 <excludes>
299 <exclude>**/demo/**/*</exclude>
300 <exclude>**/internal/**/*</exclude>
301 </excludes>
302 </configuration>
303 <reportSets>
304 <reportSet>
305 <id>aggregate</id>
306 <reports>
307 <report>aggregate</report>
308 </reports>
309 </reportSet>
310 </reportSets>
311 </plugin>
312 <plugin>
313 <groupId>org.codehaus.mojo</groupId>
314 <artifactId>taglist-maven-plugin</artifactId>
315 <version>2.4</version>
316 <configuration>
317 <aggregate>true</aggregate>
318 <tags>
319 <tag>TODO</tag>
320 <tag>FIXME</tag>
321 </tags>
322 </configuration>
323 </plugin>
324 <plugin>
325 <artifactId>maven-changelog-plugin</artifactId>
326 <version>2.2</version>
327 <configuration>
328 <type>date</type>
329 <dates>
330 <date>${developmentCycle.startDate}</date>
331 </dates>
332 <dateFormat>yyyy-MM-dd</dateFormat>
333 </configuration>
334 </plugin>
335 </reportPlugins>
336 </configuration>
337 </plugin>
338 </plugins>
339 </pluginManagement>
340 <resources>
341 <resource>
342 <directory>src/main/resources</directory>
343 </resource>
344 <resource>
345 <directory>.</directory>
346 <includes>
347 <include>plugin.xml</include>
348 <include>META-INF/**</include>
349 <include>WEB-INF/**</include>
350 <include>icons/**</include>
351 <include>branding/**</include>
352 <include>*.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/org.argeo.jcr.webapp/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/org.argeo.jcr.webapp/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/org.argeo.jcr.webapp/webdav/java/org.argeo.commons-1.1.x</url>
487 <uniqueVersion>false</uniqueVersion>
488 </repository>
489 <site>
490 <id>argeo-commons-site</id>
491 <name>Argeo Commons Site</name>
492 <url>file://${site.repoBase}/${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/org.argeo.jcr.webapp/webdav/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/org.argeo.jcr.webapp/webdav/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>