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