]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
e3ce398b0f28d6e9c3cc8a3553bd66843c5cbda0
[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 <parent>
5 <groupId>org.argeo</groupId>
6 <artifactId>parent</artifactId>
7 <version>1.2.0</version>
8 </parent>
9 <groupId>org.argeo.commons</groupId>
10 <artifactId>argeo-commons</artifactId>
11 <version>0.3.5-SNAPSHOT</version>
12 <name>Argeo Commons</name>
13 <description>Generic layers integrating free / open source technologies in order to quickly develop custom enterprise systems: security, JCR, user interface, monitoring</description>
14 <packaging>pom</packaging>
15 <properties>
16 <developmentCycle>0.3</developmentCycle>
17 <developmentCycle.startDate>2011-03-24</developmentCycle.startDate>
18 <version.argeo-distribution>1.1.7</version.argeo-distribution>
19 <version.argeo-commons>0.3.4-SNAPSHOT</version.argeo-commons>
20 <!-- distribution -->
21 <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
22 <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
23 <rpm.release>6</rpm.release>
24 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64</rpm.stagingRepository>
25 <!-- encoding, see http://is.gd/mvn_source_encoding -->
26 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27 </properties>
28 <modules>
29 <module>basic</module>
30 <module>osgi</module>
31 <module>server</module>
32 <module>eclipse</module>
33 <module>security</module>
34 <module>demo</module>
35 </modules>
36 <url>${site.urlBase}/${developmentCycle}</url>
37 <scm>
38 <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
39 <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk
40 </developerConnection>
41 <url>https://svn.argeo.org/commons/trunk</url>
42 </scm>
43 <inceptionYear>2007</inceptionYear>
44 <licenses>
45 <license>
46 <name>Apache 2</name>
47 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
48 <distribution>repo</distribution>
49 <comments><![CDATA[
50 Argeo Commons Enterprise Framework
51
52 Copyright 2011 Mathieu Baudier
53
54 Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
55 you may not use this file except in compliance with the License.
56 You may obtain a copy of the License at
57
58 http://www.apache.org/licenses/LICENSE-2.0
59
60 Unless required by applicable law or agreed to in writing, software
61 distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
62 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
63 See the License for the specific language governing permissions and
64 limitations under the License.
65 ]]>
66 </comments>
67 </license>
68 </licenses>
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 </plugin>
129 <plugin>
130 <artifactId>maven-surefire-plugin</artifactId>
131 <version>2.12</version>
132 </plugin>
133 <plugin>
134 <artifactId>maven-jar-plugin</artifactId>
135 <version>2.4</version>
136 <configuration>
137 <archive>
138 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
139 </archive>
140 </configuration>
141 </plugin>
142 <plugin>
143 <artifactId>maven-antrun-plugin</artifactId>
144 <version>1.7</version>
145 </plugin>
146 <plugin>
147 <artifactId>maven-resources-plugin</artifactId>
148 <version>2.5</version>
149 </plugin>
150 <plugin>
151 <artifactId>maven-release-plugin</artifactId>
152 <version>2.2.2</version>
153 </plugin>
154 <!-- Apache -->
155 <plugin>
156 <groupId>org.apache.felix</groupId>
157 <artifactId>maven-bundle-plugin</artifactId>
158 <version>2.3.7</version>
159 <extensions>true</extensions>
160 <configuration>
161 <manifestLocation>META-INF</manifestLocation>
162 <instructions>
163 <Bundle-Version>${project.version}-r${timestamp}</Bundle-Version>
164 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
165 <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
166 </instructions>
167 </configuration>
168 <executions>
169 <execution>
170 <id>bundle-manifest</id>
171 <phase>process-classes</phase>
172 <goals>
173 <goal>manifest</goal>
174 </goals>
175 </execution>
176 </executions>
177 </plugin>
178 <!-- Codehaus -->
179 <plugin>
180 <groupId>org.codehaus.mojo</groupId>
181 <artifactId>buildnumber-maven-plugin</artifactId>
182 <version>1.0</version>
183 </plugin>
184 <plugin>
185 <groupId>org.codehaus.mojo</groupId>
186 <artifactId>rpm-maven-plugin</artifactId>
187 <version>2.1-alpha-1</version>
188 <extensions>true</extensions>
189 <configuration>
190 <version>${project.version}</version>
191 <release>r${timestamp}.el${rpm.release}</release>
192 <distribution>argeo${rpm.release}</distribution>
193 <packager>mbaudier@argeo.org</packager>
194 <group>Applications/System</group>
195 <prefix>/usr</prefix>
196 </configuration>
197 </plugin>
198 <plugin>
199 <groupId>org.codehaus.mojo</groupId>
200 <artifactId>exec-maven-plugin</artifactId>
201 <version>1.2.1</version>
202 </plugin>
203 <!-- Argeo -->
204 <plugin>
205 <groupId>org.argeo.maven.plugins</groupId>
206 <artifactId>maven-argeo-osgi-plugin</artifactId>
207 <version>1.0.33</version>
208 </plugin>
209 <!-- Others -->
210 <plugin>
211 <groupId>com.mycila.maven-license-plugin</groupId>
212 <artifactId>maven-license-plugin</artifactId>
213 <version>1.9.0</version>
214 </plugin>
215 <!-- Site -->
216 <plugin>
217 <artifactId>maven-site-plugin</artifactId>
218 <version>3.0</version>
219 <configuration>
220 <siteDirectory>doc/site</siteDirectory>
221 <generateSitemap>true</generateSitemap>
222 <skip>true</skip>
223 <reportPlugins>
224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-project-info-reports-plugin</artifactId>
227 <version>2.4</version>
228 <reportSets>
229 <reportSet>
230 <reports>
231 <report>index</report>
232 <report>summary</report>
233 <report>license</report>
234 <report>scm</report>
235 <report>issue-tracking</report>
236 <report>project-team</report>
237 </reports>
238 </reportSet>
239 </reportSets>
240 </plugin>
241 <plugin>
242 <artifactId>maven-javadoc-plugin</artifactId>
243 <version>2.8.1</version>
244 <configuration>
245 <encoding>UTF-8</encoding>
246 <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
247 <detectLinks>true</detectLinks>
248 <links>
249 <!-- OSGi -->
250 <link>http://www.osgi.org/javadoc/r4v42</link>
251 <!-- Spring -->
252 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
253 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
254 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
255 <!-- JCR -->
256 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
257 <!-- Eclipse -->
258 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
259 </links>
260 </configuration>
261 <reportSets>
262 <reportSet>
263 <id>aggregate</id>
264 <reports>
265 <report>aggregate</report>
266 </reports>
267 </reportSet>
268 </reportSets>
269 </plugin>
270 <plugin>
271 <artifactId>maven-jxr-plugin</artifactId>
272 <version>2.3</version>
273 <configuration>
274 <excludes>
275 <exclude>**/demo/**/*</exclude>
276 <exclude>**/internal/**/*</exclude>
277 </excludes>
278 </configuration>
279 <reportSets>
280 <reportSet>
281 <id>aggregate</id>
282 <reports>
283 <report>aggregate</report>
284 </reports>
285 </reportSet>
286 </reportSets>
287 </plugin>
288 <plugin>
289 <groupId>org.codehaus.mojo</groupId>
290 <artifactId>taglist-maven-plugin</artifactId>
291 <version>2.4</version>
292 <configuration>
293 <aggregate>true</aggregate>
294 <tags>
295 <tag>TODO</tag>
296 <tag>FIXME</tag>
297 </tags>
298 </configuration>
299 </plugin>
300 <plugin>
301 <artifactId>maven-changelog-plugin</artifactId>
302 <version>2.2</version>
303 <configuration>
304 <type>date</type>
305 <dates>
306 <date>${developmentCycle.startDate}</date>
307 </dates>
308 <dateFormat>yyyy-MM-dd</dateFormat>
309 </configuration>
310 </plugin>
311 <!-- <plugin> -->
312 <!-- <artifactId>maven-pmd-plugin</artifactId> -->
313 <!-- <version>2.7.1</version> -->
314 <!-- <configuration> -->
315 <!-- <linkXref>true</linkXref> -->
316 <!-- <targetJdk>1.6</targetJdk> -->
317 <!-- <aggregate>true</aggregate> -->
318 <!-- <excludes> -->
319 <!-- <exclude>**/springutil/*.java</exclude> -->
320 <!-- <exclude>**/demo/**/*.java</exclude> -->
321 <!-- <exclude>**/internal/**/*.java</exclude> -->
322 <!-- </excludes> -->
323 <!-- </configuration> -->
324 <!-- </plugin> -->
325 </reportPlugins>
326 </configuration>
327 </plugin>
328 </plugins>
329 </pluginManagement>
330 <plugins>
331 <plugin>
332 <groupId>org.codehaus.mojo</groupId>
333 <artifactId>buildnumber-maven-plugin</artifactId>
334 <executions>
335 <execution>
336 <phase>generate-resources</phase>
337 <goals>
338 <goal>create-timestamp</goal>
339 </goals>
340 </execution>
341 </executions>
342 <configuration>
343 <doCheck>false</doCheck>
344 <doUpdate>false</doUpdate>
345 <timestampFormat>yyMMdd_HHmm</timestampFormat>
346 </configuration>
347 </plugin>
348 <plugin>
349 <artifactId>maven-resources-plugin</artifactId>
350 <configuration>
351 <encoding>UTF-8</encoding>
352 </configuration>
353 </plugin>
354 <plugin>
355 <artifactId>maven-site-plugin</artifactId>
356 <inherited>false</inherited>
357 <configuration>
358 <skip>false</skip>
359 </configuration>
360 </plugin>
361 <plugin>
362 <artifactId>maven-release-plugin</artifactId>
363 <configuration>
364 <releaseProfiles>rpmbuild,rpmbuild-tp,el5</releaseProfiles>
365 </configuration>
366 </plugin>
367 <plugin>
368 <groupId>com.mycila.maven-license-plugin</groupId>
369 <artifactId>maven-license-plugin</artifactId>
370 <configuration>
371 <header>license-apache2-header.txt</header>
372 <failIfMissing>true</failIfMissing>
373 <aggregate>true</aggregate>
374 <includes>
375 <include>src/**/*.java</include>
376 <include>src/**/*.xml</include>
377 </includes>
378 <excludes>
379 <exclude>**/springutil/**</exclude>
380 <exclude>**/qooxdoo-sdk/**</exclude>
381 </excludes>
382 <useDefaultExcludes>true</useDefaultExcludes>
383 <mapping>
384 <java>SLASHSTAR_STYLE</java>
385 <xml>XML_STYLE</xml>
386 </mapping>
387 </configuration>
388 </plugin>
389 </plugins>
390 <!-- NOTE: This is just a vision for the future, it's not yet implemented:
391 see MNG-2216 -->
392 <!-- <sourceEncoding>UTF-8</sourceEncoding> -->
393 </build>
394 <dependencyManagement>
395 <dependencies>
396 <dependency>
397 <groupId>org.argeo.dep</groupId>
398 <artifactId>versions-all</artifactId>
399 <version>${version.argeo-distribution}</version>
400 <type>pom</type>
401 <scope>import</scope>
402 </dependency>
403 </dependencies>
404 </dependencyManagement>
405 <repositories>
406 <repository>
407 <id>argeo</id>
408 <url>http://maven.argeo.org/argeo</url>
409 <releases>
410 <enabled>true</enabled>
411 <updatePolicy>daily</updatePolicy>
412 <checksumPolicy>fail</checksumPolicy>
413 </releases>
414 <snapshots>
415 <enabled>false</enabled>
416 <updatePolicy>never</updatePolicy>
417 <checksumPolicy>fail</checksumPolicy>
418 </snapshots>
419 </repository>
420 </repositories>
421 <distributionManagement>
422 <site>
423 <id>argeo-commons-site</id>
424 <name>Argeo Commons Site</name>
425 <url>file://${site.repoBase}/${developmentCycle}/</url>
426 </site>
427 </distributionManagement>
428 <profiles>
429 <profile>
430 <id>release</id>
431 <distributionManagement>
432 <site>
433 <id>argeo-commons-site</id>
434 <name>Argeo Commons Site</name>
435 <url>file://${site.repoBase}/${project.version}</url>
436 </site>
437 </distributionManagement>
438 </profile>
439 <profile>
440 <id>localrepo</id>
441 <distributionManagement>
442 <repository>
443 <id>localrepo</id>
444 <name>Internal Release Repository</name>
445 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
446 </url>
447 </repository>
448 <snapshotRepository>
449 <id>localrepo.snapshots</id>
450 <name>Internal Snapshot Repository</name>
451 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
452 </url>
453 </snapshotRepository>
454 </distributionManagement>
455 </profile>
456 <profile>
457 <id>full</id>
458 <modules>
459 <module>doc</module>
460 <module>sandbox</module>
461 </modules>
462 </profile>
463 <profile>
464 <id>el5</id>
465 <properties>
466 <rpm.release>5</rpm.release>
467 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64
468 </rpm.stagingRepository>
469 </properties>
470 </profile>
471 </profiles>
472 </project>