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