]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
[maven-release-plugin] prepare for next development iteration
[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 <parent>
5 <groupId>org.argeo</groupId>
6 <artifactId>parent</artifactId>
7 <version>1.2.0</version>
8 </parent>
9 <groupId>org.argeo.commons</groupId>
10 <artifactId>argeo-commons</artifactId>
11 <version>1.1.1-SNAPSHOT</version>
12 <name>Argeo Commons</name>
13 <description>Generic layers integrating free / open source technologies in order to quickly develop custom enterprise systems: security, JCR, user interface, monitoring</description>
14 <packaging>pom</packaging>
15 <properties>
16 <developmentCycle>0.4</developmentCycle>
17 <developmentCycle.startDate>2012-06-19</developmentCycle.startDate>
18 <version.argeo-distribution>1.2.0</version.argeo-distribution>
19 <version.argeo-commons>0.4.0</version.argeo-commons>
20 <!-- distribution -->
21 <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
22 <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
23 <rpm.release>6</rpm.release>
24 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64</rpm.stagingRepository>
25 <!-- encoding, see http://is.gd/mvn_source_encoding -->
26 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27 </properties>
28 <modules>
29 <module>basic</module>
30 <module>osgi</module>
31 <module>server</module>
32 <module>eclipse</module>
33 <module>security</module>
34 </modules>
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 <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 <!-- OSGi -->
256 <link>http://www.osgi.org/javadoc/r4v42</link>
257 <!-- Spring -->
258 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
259 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
260 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
261 <!-- JCR -->
262 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
263 <!-- Eclipse -->
264 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
265 </links>
266 </configuration>
267 <reportSets>
268 <reportSet>
269 <id>aggregate</id>
270 <reports>
271 <report>aggregate</report>
272 </reports>
273 </reportSet>
274 </reportSets>
275 </plugin>
276 <plugin>
277 <artifactId>maven-jxr-plugin</artifactId>
278 <version>2.3</version>
279 <configuration>
280 <excludes>
281 <exclude>**/demo/**/*</exclude>
282 <exclude>**/internal/**/*</exclude>
283 </excludes>
284 </configuration>
285 <reportSets>
286 <reportSet>
287 <id>aggregate</id>
288 <reports>
289 <report>aggregate</report>
290 </reports>
291 </reportSet>
292 </reportSets>
293 </plugin>
294 <plugin>
295 <groupId>org.codehaus.mojo</groupId>
296 <artifactId>taglist-maven-plugin</artifactId>
297 <version>2.4</version>
298 <configuration>
299 <aggregate>true</aggregate>
300 <tags>
301 <tag>TODO</tag>
302 <tag>FIXME</tag>
303 </tags>
304 </configuration>
305 </plugin>
306 <plugin>
307 <artifactId>maven-changelog-plugin</artifactId>
308 <version>2.2</version>
309 <configuration>
310 <type>date</type>
311 <dates>
312 <date>${developmentCycle.startDate}</date>
313 </dates>
314 <dateFormat>yyyy-MM-dd</dateFormat>
315 </configuration>
316 </plugin>
317 </reportPlugins>
318 </configuration>
319 </plugin>
320 </plugins>
321 </pluginManagement>
322 <plugins>
323 <plugin>
324 <groupId>org.codehaus.mojo</groupId>
325 <artifactId>buildnumber-maven-plugin</artifactId>
326 <executions>
327 <execution>
328 <phase>generate-resources</phase>
329 <goals>
330 <goal>create-timestamp</goal>
331 </goals>
332 </execution>
333 </executions>
334 <configuration>
335 <doCheck>false</doCheck>
336 <doUpdate>false</doUpdate>
337 <timestampFormat>yyMMdd_HHmm</timestampFormat>
338 </configuration>
339 </plugin>
340 <plugin>
341 <artifactId>maven-resources-plugin</artifactId>
342 <configuration>
343 <encoding>UTF-8</encoding>
344 </configuration>
345 </plugin>
346 <plugin>
347 <artifactId>maven-site-plugin</artifactId>
348 <inherited>false</inherited>
349 <configuration>
350 <skip>false</skip>
351 </configuration>
352 </plugin>
353 <plugin>
354 <artifactId>maven-release-plugin</artifactId>
355 <configuration>
356 <releaseProfiles>rpmbuild,rpmbuild-tp,el5</releaseProfiles>
357 </configuration>
358 </plugin>
359 <plugin>
360 <groupId>com.mycila.maven-license-plugin</groupId>
361 <artifactId>maven-license-plugin</artifactId>
362 <configuration>
363 <header>license-apache2-header.txt</header>
364 <failIfMissing>true</failIfMissing>
365 <aggregate>true</aggregate>
366 <includes>
367 <include>src/**/*.java</include>
368 <include>src/**/*.xml</include>
369 </includes>
370 <excludes>
371 <exclude>**/springutil/**</exclude>
372 <exclude>**/qooxdoo-sdk/**</exclude>
373 </excludes>
374 <useDefaultExcludes>true</useDefaultExcludes>
375 <mapping>
376 <java>SLASHSTAR_STYLE</java>
377 <xml>XML_STYLE</xml>
378 </mapping>
379 </configuration>
380 </plugin>
381 </plugins>
382 </build>
383 <dependencyManagement>
384 <dependencies>
385 <dependency>
386 <groupId>org.argeo.dep</groupId>
387 <artifactId>versions-all</artifactId>
388 <version>${version.argeo-distribution}</version>
389 <type>pom</type>
390 <scope>import</scope>
391 </dependency>
392 </dependencies>
393 </dependencyManagement>
394 <repositories>
395 <repository>
396 <id>argeo</id>
397 <url>http://maven.argeo.org/argeo</url>
398 <releases>
399 <enabled>true</enabled>
400 <updatePolicy>daily</updatePolicy>
401 <checksumPolicy>fail</checksumPolicy>
402 </releases>
403 <snapshots>
404 <enabled>false</enabled>
405 <updatePolicy>never</updatePolicy>
406 <checksumPolicy>fail</checksumPolicy>
407 </snapshots>
408 </repository>
409 </repositories>
410 <distributionManagement>
411 <site>
412 <id>argeo-commons-site</id>
413 <name>Argeo Commons Site</name>
414 <url>file://${site.repoBase}/${project.version}</url>
415 </site>
416 </distributionManagement>
417 <profiles>
418 <profile>
419 <id>localrepo</id>
420 <distributionManagement>
421 <repository>
422 <id>localrepo</id>
423 <name>Internal Release Repository</name>
424 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
425 </url>
426 </repository>
427 <snapshotRepository>
428 <id>localrepo.snapshots</id>
429 <name>Internal Snapshot Repository</name>
430 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
431 </url>
432 </snapshotRepository>
433 </distributionManagement>
434 </profile>
435 <profile>
436 <id>el5</id>
437 <properties>
438 <rpm.release>5</rpm.release>
439 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64
440 </rpm.stagingRepository>
441 </properties>
442 </profile>
443 <profile>
444 <id>doc</id>
445 <modules>
446 <module>doc</module>
447 </modules>
448 </profile>
449 </profiles>
450 </project>