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