]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
a2f6b55d96ed1240e20db86ef9a41b184f6a0567
[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.3-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-SNAPSHOT</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 <!-- OSGi -->
259 <link>http://www.osgi.org/javadoc/r4v42</link>
260 <!-- Spring -->
261 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
262 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
263 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
264 <!-- JCR -->
265 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
266 <!-- Eclipse -->
267 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
268 </links>
269 </configuration>
270 <reportSets>
271 <reportSet>
272 <id>aggregate</id>
273 <reports>
274 <report>aggregate</report>
275 </reports>
276 </reportSet>
277 </reportSets>
278 </plugin>
279 <plugin>
280 <artifactId>maven-jxr-plugin</artifactId>
281 <version>2.3</version>
282 <configuration>
283 <excludes>
284 <exclude>**/demo/**/*</exclude>
285 <exclude>**/internal/**/*</exclude>
286 </excludes>
287 </configuration>
288 <reportSets>
289 <reportSet>
290 <id>aggregate</id>
291 <reports>
292 <report>aggregate</report>
293 </reports>
294 </reportSet>
295 </reportSets>
296 </plugin>
297 <plugin>
298 <groupId>org.codehaus.mojo</groupId>
299 <artifactId>taglist-maven-plugin</artifactId>
300 <version>2.4</version>
301 <configuration>
302 <aggregate>true</aggregate>
303 <tags>
304 <tag>TODO</tag>
305 <tag>FIXME</tag>
306 </tags>
307 </configuration>
308 </plugin>
309 <plugin>
310 <artifactId>maven-changelog-plugin</artifactId>
311 <version>2.2</version>
312 <configuration>
313 <type>date</type>
314 <dates>
315 <date>${developmentCycle.startDate}</date>
316 </dates>
317 <dateFormat>yyyy-MM-dd</dateFormat>
318 </configuration>
319 </plugin>
320 </reportPlugins>
321 </configuration>
322 </plugin>
323 </plugins>
324 </pluginManagement>
325 <plugins>
326 <plugin>
327 <groupId>org.codehaus.mojo</groupId>
328 <artifactId>buildnumber-maven-plugin</artifactId>
329 <executions>
330 <execution>
331 <phase>generate-resources</phase>
332 <goals>
333 <goal>create-timestamp</goal>
334 </goals>
335 </execution>
336 </executions>
337 <configuration>
338 <doCheck>false</doCheck>
339 <doUpdate>false</doUpdate>
340 <timestampFormat>yyMMdd_HHmm</timestampFormat>
341 </configuration>
342 </plugin>
343 <plugin>
344 <artifactId>maven-resources-plugin</artifactId>
345 <configuration>
346 <encoding>UTF-8</encoding>
347 </configuration>
348 </plugin>
349 <plugin>
350 <artifactId>maven-site-plugin</artifactId>
351 <inherited>false</inherited>
352 <configuration>
353 <skip>false</skip>
354 </configuration>
355 </plugin>
356 <plugin>
357 <artifactId>maven-release-plugin</artifactId>
358 <configuration>
359 <goals>deploy</goals>
360 <releaseProfiles>rpmbuild,rpmbuild-tp,el5</releaseProfiles>
361 </configuration>
362 </plugin>
363 <plugin>
364 <groupId>com.mycila.maven-license-plugin</groupId>
365 <artifactId>maven-license-plugin</artifactId>
366 <configuration>
367 <header>license-apache2-header.txt</header>
368 <failIfMissing>true</failIfMissing>
369 <aggregate>true</aggregate>
370 <includes>
371 <include>src/**/*.java</include>
372 <include>src/**/*.xml</include>
373 </includes>
374 <excludes>
375 <exclude>**/springutil/**</exclude>
376 <exclude>**/qooxdoo-sdk/**</exclude>
377 </excludes>
378 <useDefaultExcludes>true</useDefaultExcludes>
379 <mapping>
380 <java>SLASHSTAR_STYLE</java>
381 <xml>XML_STYLE</xml>
382 </mapping>
383 </configuration>
384 </plugin>
385 </plugins>
386 </build>
387 <dependencyManagement>
388 <dependencies>
389 <dependency>
390 <groupId>org.argeo.tp</groupId>
391 <artifactId>binaries</artifactId>
392 <version>${version.argeo-distribution}</version>
393 <type>pom</type>
394 <scope>import</scope>
395 </dependency>
396 </dependencies>
397 </dependencyManagement>
398 <repositories>
399 <repository>
400 <id>argeo-tp</id>
401 <url>http://dev.argeo.org/org.argeo.jcr.webapp/public/java/org.argeo.tp-1.3.1</url>
402 <releases>
403 <enabled>true</enabled>
404 <updatePolicy>daily</updatePolicy>
405 <checksumPolicy>fail</checksumPolicy>
406 </releases>
407 <snapshots>
408 <enabled>false</enabled>
409 <updatePolicy>never</updatePolicy>
410 <checksumPolicy>fail</checksumPolicy>
411 </snapshots>
412 </repository>
413 </repositories>
414 <pluginRepositories>
415 <pluginRepository>
416 <id>central</id>
417 <url>http://repo1.maven.org/maven2</url>
418 <releases>
419 <enabled>true</enabled>
420 <updatePolicy>daily</updatePolicy>
421 <checksumPolicy>fail</checksumPolicy>
422 </releases>
423 <snapshots>
424 <enabled>false</enabled>
425 <updatePolicy>never</updatePolicy>
426 <checksumPolicy>fail</checksumPolicy>
427 </snapshots>
428 </pluginRepository>
429 <pluginRepository>
430 <id>argeo</id>
431 <url>http://maven.argeo.org/argeo</url>
432 <releases>
433 <enabled>true</enabled>
434 <updatePolicy>daily</updatePolicy>
435 <checksumPolicy>fail</checksumPolicy>
436 </releases>
437 <snapshots>
438 <enabled>false</enabled>
439 <updatePolicy>never</updatePolicy>
440 <checksumPolicy>fail</checksumPolicy>
441 </snapshots>
442 </pluginRepository>
443 </pluginRepositories>
444 <distributionManagement>
445 <repository>
446 <uniqueVersion>false</uniqueVersion>
447 <id>argeo-commons-restricted</id>
448 <name>Argeo FOSS Repository</name>
449 <url>dav:http://localhost:7080/org.argeo.jcr.webapp/webdav/java/org.argeo.commons-${version.argeo-commons}</url>
450 </repository>
451 <site>
452 <id>argeo-commons-site</id>
453 <name>Argeo Commons Site</name>
454 <url>file://${site.repoBase}/${project.version}</url>
455 </site>
456 </distributionManagement>
457 <profiles>
458 <profile>
459 <id>localrepo</id>
460 <distributionManagement>
461 <repository>
462 <id>localrepo</id>
463 <name>Internal Release Repository</name>
464 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
465 </url>
466 </repository>
467 <snapshotRepository>
468 <id>localrepo.snapshots</id>
469 <name>Internal Snapshot Repository</name>
470 <url>dav:http://localhost:7070/org.argeo.jcr.webapp/webdav/java/org.argeo.commons-${version.argeo-commons}</url>
471 </snapshotRepository>
472 </distributionManagement>
473 </profile>
474 <profile>
475 <id>el5</id>
476 <properties>
477 <rpm.release>5</rpm.release>
478 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64
479 </rpm.stagingRepository>
480 </properties>
481 </profile>
482 <profile>
483 <id>doc</id>
484 <modules>
485 <module>doc</module>
486 </modules>
487 </profile>
488 </profiles>
489 </project>