]> 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 </configuration>
250 <reportSets>
251 <reportSet>
252 <id>aggregate</id>
253 <reports>
254 <report>aggregate</report>
255 </reports>
256 </reportSet>
257 </reportSets>
258 </plugin>
259 <plugin>
260 <artifactId>maven-jxr-plugin</artifactId>
261 <version>2.3</version>
262 <configuration>
263 <excludes>
264 <exclude>**/demo/**/*</exclude>
265 <exclude>**/internal/**/*</exclude>
266 </excludes>
267 </configuration>
268 <reportSets>
269 <reportSet>
270 <id>aggregate</id>
271 <reports>
272 <report>aggregate</report>
273 </reports>
274 </reportSet>
275 </reportSets>
276 </plugin>
277 <plugin>
278 <groupId>org.codehaus.mojo</groupId>
279 <artifactId>taglist-maven-plugin</artifactId>
280 <version>2.4</version>
281 <configuration>
282 <aggregate>true</aggregate>
283 <tags>
284 <tag>TODO</tag>
285 <tag>FIXME</tag>
286 </tags>
287 </configuration>
288 </plugin>
289 <plugin>
290 <artifactId>maven-changelog-plugin</artifactId>
291 <version>2.2</version>
292 <configuration>
293 <type>date</type>
294 <dates>
295 <date>${developmentCycle.startDate}</date>
296 </dates>
297 <dateFormat>yyyy-MM-dd</dateFormat>
298 </configuration>
299 </plugin>
300 <!-- <plugin> -->
301 <!-- <artifactId>maven-pmd-plugin</artifactId> -->
302 <!-- <version>2.7.1</version> -->
303 <!-- <configuration> -->
304 <!-- <linkXref>true</linkXref> -->
305 <!-- <targetJdk>1.6</targetJdk> -->
306 <!-- <aggregate>true</aggregate> -->
307 <!-- <excludes> -->
308 <!-- <exclude>**/springutil/*.java</exclude> -->
309 <!-- <exclude>**/demo/**/*.java</exclude> -->
310 <!-- <exclude>**/internal/**/*.java</exclude> -->
311 <!-- </excludes> -->
312 <!-- </configuration> -->
313 <!-- </plugin> -->
314 </reportPlugins>
315 </configuration>
316 </plugin>
317 </plugins>
318 </pluginManagement>
319 <plugins>
320 <plugin>
321 <groupId>org.codehaus.mojo</groupId>
322 <artifactId>buildnumber-maven-plugin</artifactId>
323 <executions>
324 <execution>
325 <phase>generate-resources</phase>
326 <goals>
327 <goal>create-timestamp</goal>
328 </goals>
329 </execution>
330 </executions>
331 <configuration>
332 <doCheck>false</doCheck>
333 <doUpdate>false</doUpdate>
334 <timestampFormat>yyMMdd_HHmm</timestampFormat>
335 </configuration>
336 </plugin>
337 <plugin>
338 <artifactId>maven-resources-plugin</artifactId>
339 <configuration>
340 <encoding>UTF-8</encoding>
341 </configuration>
342 </plugin>
343 <plugin>
344 <artifactId>maven-site-plugin</artifactId>
345 <inherited>false</inherited>
346 <configuration>
347 <skip>false</skip>
348 </configuration>
349 </plugin>
350 </plugins>
351 <!-- NOTE: This is just a vision for the future, it's not yet implemented:
352 see MNG-2216 -->
353 <!-- <sourceEncoding>UTF-8</sourceEncoding> -->
354 </build>
355 <dependencyManagement>
356 <dependencies>
357 <dependency>
358 <groupId>org.argeo.dep</groupId>
359 <artifactId>versions-all</artifactId>
360 <version>${version.argeo-distribution}</version>
361 <type>pom</type>
362 <scope>import</scope>
363 </dependency>
364 </dependencies>
365 </dependencyManagement>
366 <repositories>
367 <repository>
368 <id>argeo</id>
369 <url>http://maven.argeo.org/argeo</url>
370 <releases>
371 <enabled>true</enabled>
372 <updatePolicy>daily</updatePolicy>
373 <checksumPolicy>fail</checksumPolicy>
374 </releases>
375 <snapshots>
376 <enabled>false</enabled>
377 <updatePolicy>never</updatePolicy>
378 <checksumPolicy>fail</checksumPolicy>
379 </snapshots>
380 </repository>
381 </repositories>
382 <distributionManagement>
383 <site>
384 <id>argeo-commons-site</id>
385 <name>Argeo Commons Site</name>
386 <url>file://${site.repoBase}/${developmentCycle}/</url>
387 </site>
388 </distributionManagement>
389 <profiles>
390 <profile>
391 <id>release</id>
392 <distributionManagement>
393 <site>
394 <id>argeo-commons-site</id>
395 <name>Argeo Commons Site</name>
396 <url>file://${site.repoBase}/${project.version}</url>
397 </site>
398 </distributionManagement>
399 </profile>
400 <profile>
401 <id>localrepo</id>
402 <distributionManagement>
403 <repository>
404 <id>localrepo</id>
405 <name>Internal Release Repository</name>
406 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
407 </url>
408 </repository>
409 <snapshotRepository>
410 <id>localrepo.snapshots</id>
411 <name>Internal Snapshot Repository</name>
412 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
413 </url>
414 </snapshotRepository>
415 </distributionManagement>
416 </profile>
417 <profile>
418 <id>full</id>
419 <modules>
420 <module>doc</module>
421 <module>sandbox</module>
422 </modules>
423 </profile>
424 <profile>
425 <id>el5</id>
426 <properties>
427 <rpm.release>5</rpm.release>
428 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64
429 </rpm.stagingRepository>
430 </properties>
431 </profile>
432 </profiles>
433 </project>