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