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