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