]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
Make Maven site generation and plugin versions up to date
[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 </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 </plugin>
155 <!-- Apache -->
156 <plugin>
157 <groupId>org.apache.felix</groupId>
158 <artifactId>maven-bundle-plugin</artifactId>
159 <version>2.3.7</version>
160 <extensions>true</extensions>
161 <configuration>
162 <manifestLocation>META-INF</manifestLocation>
163 <instructions>
164 <Bundle-Version>${project.version}-r${timestamp}</Bundle-Version>
165 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
166 <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
167 </instructions>
168 </configuration>
169 <executions>
170 <execution>
171 <id>bundle-manifest</id>
172 <phase>process-classes</phase>
173 <goals>
174 <goal>manifest</goal>
175 </goals>
176 </execution>
177 </executions>
178 </plugin>
179 <!-- Codehaus -->
180 <plugin>
181 <groupId>org.codehaus.mojo</groupId>
182 <artifactId>buildnumber-maven-plugin</artifactId>
183 <version>1.0</version>
184 </plugin>
185 <plugin>
186 <groupId>org.codehaus.mojo</groupId>
187 <artifactId>rpm-maven-plugin</artifactId>
188 <version>2.1-alpha-1</version>
189 <extensions>true</extensions>
190 <configuration>
191 <version>${project.version}</version>
192 <release>r${timestamp}.el${rpm.release}</release>
193 <distribution>argeo${rpm.release}</distribution>
194 <packager>mbaudier@argeo.org</packager>
195 <group>Applications/System</group>
196 <prefix>/usr</prefix>
197 </configuration>
198 </plugin>
199 <plugin>
200 <groupId>org.codehaus.mojo</groupId>
201 <artifactId>exec-maven-plugin</artifactId>
202 <version>1.2.1</version>
203 </plugin>
204 <!-- Argeo -->
205 <plugin>
206 <groupId>org.argeo.maven.plugins</groupId>
207 <artifactId>maven-argeo-osgi-plugin</artifactId>
208 <version>1.0.33</version>
209 </plugin>
210 <!-- Others -->
211 <plugin>
212 <groupId>com.mycila.maven-license-plugin</groupId>
213 <artifactId>maven-license-plugin</artifactId>
214 <version>1.9.0</version>
215 </plugin>
216 <!-- Site -->
217 <plugin>
218 <artifactId>maven-site-plugin</artifactId>
219 <version>3.0</version>
220 <inherited>false</inherited>
221 <configuration>
222 <siteDirectory>doc/site</siteDirectory>
223 <generateSitemap>true</generateSitemap>
224 <skip>true</skip>
225 <reportPlugins>
226 <plugin>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-project-info-reports-plugin</artifactId>
229 <version>2.4</version>
230 <reportSets>
231 <reportSet>
232 <reports>
233 <report>index</report>
234 <report>summary</report>
235 <report>license</report>
236 <report>scm</report>
237 <report>issue-tracking</report>
238 <report>project-team</report>
239 </reports>
240 </reportSet>
241 </reportSets>
242 </plugin>
243 <plugin>
244 <artifactId>maven-javadoc-plugin</artifactId>
245 <version>2.8.1</version>
246 <configuration>
247 <encoding>UTF-8</encoding>
248 <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
249 <detectLinks>true</detectLinks>
250 <links>
251 <!-- OSGi -->
252 <link>http://www.osgi.org/javadoc/r4v42</link>
253 <!-- Spring -->
254 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
255 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
256 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
257 <!-- JCR -->
258 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
259 <!-- Eclipse -->
260 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
261 </links>
262 </configuration>
263 <reportSets>
264 <reportSet>
265 <id>aggregate</id>
266 <reports>
267 <report>aggregate</report>
268 </reports>
269 </reportSet>
270 </reportSets>
271 </plugin>
272 <plugin>
273 <artifactId>maven-jxr-plugin</artifactId>
274 <version>2.3</version>
275 <configuration>
276 <excludes>
277 <exclude>**/demo/**/*</exclude>
278 <exclude>**/internal/**/*</exclude>
279 </excludes>
280 </configuration>
281 <reportSets>
282 <reportSet>
283 <id>aggregate</id>
284 <reports>
285 <report>aggregate</report>
286 </reports>
287 </reportSet>
288 </reportSets>
289 </plugin>
290 <plugin>
291 <groupId>org.codehaus.mojo</groupId>
292 <artifactId>taglist-maven-plugin</artifactId>
293 <version>2.4</version>
294 <configuration>
295 <aggregate>true</aggregate>
296 <tags>
297 <tag>TODO</tag>
298 <tag>FIXME</tag>
299 </tags>
300 </configuration>
301 </plugin>
302 <plugin>
303 <artifactId>maven-changelog-plugin</artifactId>
304 <version>2.2</version>
305 <configuration>
306 <type>date</type>
307 <dates>
308 <date>${developmentCycle.startDate}</date>
309 </dates>
310 <dateFormat>yyyy-MM-dd</dateFormat>
311 </configuration>
312 </plugin>
313 <!-- <plugin> -->
314 <!-- <artifactId>maven-pmd-plugin</artifactId> -->
315 <!-- <version>2.7.1</version> -->
316 <!-- <configuration> -->
317 <!-- <linkXref>true</linkXref> -->
318 <!-- <targetJdk>1.6</targetJdk> -->
319 <!-- <aggregate>true</aggregate> -->
320 <!-- <excludes> -->
321 <!-- <exclude>**/springutil/*.java</exclude> -->
322 <!-- <exclude>**/demo/**/*.java</exclude> -->
323 <!-- <exclude>**/internal/**/*.java</exclude> -->
324 <!-- </excludes> -->
325 <!-- </configuration> -->
326 <!-- </plugin> -->
327 </reportPlugins>
328 </configuration>
329 </plugin>
330 </plugins>
331 </pluginManagement>
332 <plugins>
333 <plugin>
334 <groupId>org.codehaus.mojo</groupId>
335 <artifactId>buildnumber-maven-plugin</artifactId>
336 <executions>
337 <execution>
338 <phase>generate-resources</phase>
339 <goals>
340 <goal>create-timestamp</goal>
341 </goals>
342 </execution>
343 </executions>
344 <configuration>
345 <doCheck>false</doCheck>
346 <doUpdate>false</doUpdate>
347 <timestampFormat>yyMMdd_HHmm</timestampFormat>
348 </configuration>
349 </plugin>
350 <plugin>
351 <artifactId>maven-resources-plugin</artifactId>
352 <configuration>
353 <encoding>UTF-8</encoding>
354 </configuration>
355 </plugin>
356 <plugin>
357 <artifactId>maven-site-plugin</artifactId>
358 <inherited>false</inherited>
359 <configuration>
360 <skip>false</skip>
361 </configuration>
362 </plugin>
363 </plugins>
364 <!-- NOTE: This is just a vision for the future, it's not yet implemented:
365 see MNG-2216 -->
366 <!-- <sourceEncoding>UTF-8</sourceEncoding> -->
367 </build>
368 <dependencyManagement>
369 <dependencies>
370 <dependency>
371 <groupId>org.argeo.dep</groupId>
372 <artifactId>versions-all</artifactId>
373 <version>${version.argeo-distribution}</version>
374 <type>pom</type>
375 <scope>import</scope>
376 </dependency>
377 </dependencies>
378 </dependencyManagement>
379 <repositories>
380 <repository>
381 <id>argeo</id>
382 <url>http://maven.argeo.org/argeo</url>
383 <releases>
384 <enabled>true</enabled>
385 <updatePolicy>daily</updatePolicy>
386 <checksumPolicy>fail</checksumPolicy>
387 </releases>
388 <snapshots>
389 <enabled>false</enabled>
390 <updatePolicy>never</updatePolicy>
391 <checksumPolicy>fail</checksumPolicy>
392 </snapshots>
393 </repository>
394 </repositories>
395 <distributionManagement>
396 <site>
397 <id>argeo-commons-site</id>
398 <name>Argeo Commons Site</name>
399 <url>file://${site.repoBase}/${developmentCycle}/</url>
400 </site>
401 </distributionManagement>
402 <profiles>
403 <profile>
404 <id>release</id>
405 <distributionManagement>
406 <site>
407 <id>argeo-commons-site</id>
408 <name>Argeo Commons Site</name>
409 <url>file://${site.repoBase}/${project.version}</url>
410 </site>
411 </distributionManagement>
412 </profile>
413 <profile>
414 <id>localrepo</id>
415 <distributionManagement>
416 <repository>
417 <id>localrepo</id>
418 <name>Internal Release Repository</name>
419 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
420 </url>
421 </repository>
422 <snapshotRepository>
423 <id>localrepo.snapshots</id>
424 <name>Internal Snapshot Repository</name>
425 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
426 </url>
427 </snapshotRepository>
428 </distributionManagement>
429 </profile>
430 <profile>
431 <id>full</id>
432 <modules>
433 <module>doc</module>
434 <module>sandbox</module>
435 </modules>
436 </profile>
437 <profile>
438 <id>el5</id>
439 <properties>
440 <rpm.release>5</rpm.release>
441 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64
442 </rpm.stagingRepository>
443 </properties>
444 </profile>
445 </profiles>
446 </project>