]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
First try to solve RAP specific file download service issue revealed by the upgrade...
[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 <groupId>org.argeo.commons</groupId>
5 <artifactId>argeo-commons</artifactId>
6 <version>2.1.4-SNAPSHOT</version>
7 <name>Argeo Commons</name>
8 <description>Generic layers integrating free / open source technologies in order to quickly develop custom enterprise systems: security, JCR, user interface, monitoring</description>
9 <packaging>pom</packaging>
10 <properties>
11 <developmentCycle.argeo-commons>2.1</developmentCycle.argeo-commons>
12 <developmentCycle.argeo-commons.startDate>2012-12-19</developmentCycle.argeo-commons.startDate>
13 <version.argeo-distribution>1.4.0</version.argeo-distribution>
14 <version.argeo-commons>2.1.4-SNAPSHOT</version.argeo-commons>
15 <!-- RPM -->
16 <rpm.release>6</rpm.release>
17 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-2-staging/6/x86_64</rpm.stagingRepository>
18 <!-- encoding, see http://is.gd/mvn_source_encoding -->
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 </properties>
21 <modules>
22 <module>base</module>
23 <module>server</module>
24 <module>security</module>
25 </modules>
26 <organization>
27 <name>Argeo</name>
28 <url>http://www.argeo.org</url>
29 </organization>
30 <url>http://projects.argeo.org/commons/</url>
31 <scm>
32 <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
33 <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk</developerConnection>
34 <url>https://svn.argeo.org/commons/trunk</url>
35 </scm>
36 <inceptionYear>2007</inceptionYear>
37 <licenses>
38 <license>
39 <name>Apache 2</name>
40 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
41 <distribution>repo</distribution>
42 <comments><![CDATA[
43 Argeo Commons Enterprise Framework
44
45 Copyright (C) 2007-2012 Argeo GmbH
46
47 Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
48 you may not use this file except in compliance with the License.
49 You may obtain a copy of the License at
50
51 http://www.apache.org/licenses/LICENSE-2.0
52
53 Unless required by applicable law or agreed to in writing, software
54 distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
55 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
56 See the License for the specific language governing permissions and
57 limitations under the License.
58 ]]>
59 </comments>
60 </license>
61 </licenses>
62 <issueManagement>
63 <system>Bugzilla</system>
64 <url>https://bugzilla.argeo.org</url>
65 </issueManagement>
66 <developers>
67 <developer>
68 <id>mbaudier</id>
69 <name>Mathieu Baudier</name>
70 <email><![CDATA[http://mailhide.recaptcha.net/d?k=01EM7GpnvY3k8woQ2tnnZLUA==&c=crsNpHjhOBDPswHG6HD_gXaqymhC69wmBf7wlagcSHw=]]></email>
71 <organization>Argeo</organization>
72 <organizationUrl>http://www.argeo.org</organizationUrl>
73 <roles>
74 <role>architect</role>
75 <role>developer</role>
76 <role>QA</role>
77 </roles>
78 </developer>
79 <developer>
80 <id>bsinou</id>
81 <name>Bruno Sinou</name>
82 <email><![CDATA[http://www.google.com/recaptcha/mailhide/d?k=01SZoYvDnJzcw0KOR7M7u6Qg==&c=SVgEjXA_Uu9ZrNzLES92w1ght6puLFiVpoNUddCfSU8=]]></email>
83 <organization>Argeo</organization>
84 <organizationUrl>http://www.argeo.org</organizationUrl>
85 <roles>
86 <role>developer</role>
87 </roles>
88 </developer>
89 </developers>
90 <build>
91 <extensions>
92 <extension>
93 <groupId>org.apache.maven.wagon</groupId>
94 <artifactId>wagon-webdav-jackrabbit</artifactId>
95 <version>2.2</version>
96 </extension>
97 </extensions>
98 <resources>
99 <resource>
100 <directory>src/main/resources</directory>
101 </resource>
102 <resource>
103 <directory>.</directory>
104 <includes>
105 <include>plugin.xml</include>
106 <include>META-INF/**</include>
107 <include>WEB-INF/**</include>
108 <include>icons/**</include>
109 <include>branding/**</include>
110 <include>img/**</include>
111 <include>theme/**</include>
112 <include>*.properties</include>
113 <include>properties/*.properties</include>
114 <include>p2.inf</include>
115 </includes>
116 <excludes>
117 <exclude>build.properties</exclude>
118 </excludes>
119 </resource>
120 </resources>
121 <pluginManagement>
122 <plugins>
123 <!-- Maven -->
124 <plugin>
125 <artifactId>maven-compiler-plugin</artifactId>
126 <version>2.3.2</version>
127 <configuration>
128 <source>1.6</source>
129 <target>1.6</target>
130 </configuration>
131 </plugin>
132 <plugin>
133 <artifactId>maven-source-plugin</artifactId>
134 <version>2.1.2</version>
135 <executions>
136 <execution>
137 <id>attach-sources</id>
138 <phase>package</phase>
139 <goals>
140 <goal>jar</goal>
141 </goals>
142 </execution>
143 </executions>
144 </plugin>
145 <plugin>
146 <artifactId>maven-clean-plugin</artifactId>
147 <version>2.4.1</version>
148 <configuration>
149 <filesets>
150 <fileset>
151 <directory>META-INF</directory>
152 <includes>
153 <include>MANIFEST.MF</include>
154 </includes>
155 </fileset>
156 </filesets>
157 </configuration>
158 </plugin>
159 <plugin>
160 <artifactId>maven-surefire-plugin</artifactId>
161 <version>2.12</version>
162 </plugin>
163 <plugin>
164 <artifactId>maven-jar-plugin</artifactId>
165 <version>2.4</version>
166 <configuration>
167 <archive>
168 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
169 </archive>
170 </configuration>
171 </plugin>
172 <plugin>
173 <artifactId>maven-antrun-plugin</artifactId>
174 <version>1.7</version>
175 </plugin>
176 <plugin>
177 <artifactId>maven-resources-plugin</artifactId>
178 <version>2.5</version>
179 </plugin>
180 <plugin>
181 <artifactId>maven-dependency-plugin</artifactId>
182 <version>2.4</version>
183 </plugin>
184 <plugin>
185 <artifactId>maven-release-plugin</artifactId>
186 <version>2.2.2</version>
187 <configuration>
188 <autoVersionSubmodules>true</autoVersionSubmodules>
189 </configuration>
190 </plugin>
191 <plugin>
192 <artifactId>maven-javadoc-plugin</artifactId>
193 <version>2.8.1</version>
194 </plugin>
195 <!-- Apache -->
196 <plugin>
197 <groupId>org.apache.felix</groupId>
198 <artifactId>maven-bundle-plugin</artifactId>
199 <version>2.3.7</version>
200 <extensions>true</extensions>
201 <configuration>
202 <manifestLocation>META-INF</manifestLocation>
203 <instructions>
204 <Bundle-Version>${project.version}-r${timestamp}</Bundle-Version>
205 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
206 <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
207 <!-- SLC specific instructions -->
208 <SLC-GroupId>${project.groupId}</SLC-GroupId>
209 </instructions>
210 </configuration>
211 <executions>
212 <execution>
213 <id>bundle-manifest</id>
214 <phase>process-classes</phase>
215 <goals>
216 <goal>manifest</goal>
217 </goals>
218 </execution>
219 </executions>
220 </plugin>
221 <!-- Codehaus -->
222 <plugin>
223 <groupId>org.codehaus.mojo</groupId>
224 <artifactId>buildnumber-maven-plugin</artifactId>
225 <version>1.0</version>
226 </plugin>
227 <plugin>
228 <groupId>org.codehaus.mojo</groupId>
229 <artifactId>rpm-maven-plugin</artifactId>
230 <version>2.1-alpha-1</version>
231 <extensions>true</extensions>
232 <configuration>
233 <version>${project.version}</version>
234 <release>r${timestamp}.el${rpm.release}</release>
235 <distribution>argeo${rpm.release}</distribution>
236 <packager>mbaudier@argeo.org</packager>
237 <group>Applications/System</group>
238 <prefix>/usr</prefix>
239 <copyright>2012 Argeo GmbH and others</copyright>
240 </configuration>
241 </plugin>
242 <plugin>
243 <groupId>org.codehaus.mojo</groupId>
244 <artifactId>exec-maven-plugin</artifactId>
245 <version>1.2.1</version>
246 </plugin>
247 <!-- Argeo -->
248 <plugin>
249 <groupId>org.argeo.maven.plugins</groupId>
250 <artifactId>maven-argeo-osgi-plugin</artifactId>
251 <version>1.1.2</version>
252 </plugin>
253 <!-- Others -->
254 <plugin>
255 <groupId>com.mycila.maven-license-plugin</groupId>
256 <artifactId>maven-license-plugin</artifactId>
257 <version>1.9.0</version>
258 </plugin>
259 <plugin>
260 <groupId>com.agilejava.docbkx</groupId>
261 <artifactId>docbkx-maven-plugin</artifactId>
262 <version>2.0.14</version>
263 </plugin>
264 <!-- Site -->
265 <plugin>
266 <artifactId>maven-site-plugin</artifactId>
267 <version>3.0</version>
268 <configuration>
269 <siteDirectory>doc/site</siteDirectory>
270 <generateSitemap>true</generateSitemap>
271 <skip>true</skip>
272 <reportPlugins>
273 <plugin>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-project-info-reports-plugin</artifactId>
276 <version>2.4</version>
277 <reportSets>
278 <reportSet>
279 <reports>
280 <report>index</report>
281 <report>summary</report>
282 <report>license</report>
283 <report>scm</report>
284 <report>issue-tracking</report>
285 <report>project-team</report>
286 </reports>
287 </reportSet>
288 </reportSets>
289 </plugin>
290 <plugin>
291 <artifactId>maven-javadoc-plugin</artifactId>
292 <version>2.8.1</version>
293 <configuration>
294 <encoding>UTF-8</encoding>
295 <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
296 <detectLinks>true</detectLinks>
297 <links>
298 <!-- Java -->
299 <link>http://docs.oracle.com/javase/6/docs/api</link>
300 <!-- OSGi -->
301 <link>http://www.osgi.org/javadoc/r4v42</link>
302 <!-- Spring -->
303 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
304 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
305 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
306 <!-- JCR -->
307 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
308 <!-- Eclipse -->
309 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
310 </links>
311 </configuration>
312 <reportSets>
313 <reportSet>
314 <id>aggregate</id>
315 <reports>
316 <report>aggregate</report>
317 </reports>
318 </reportSet>
319 </reportSets>
320 </plugin>
321 <plugin>
322 <artifactId>maven-jxr-plugin</artifactId>
323 <version>2.3</version>
324 <configuration>
325 <excludes>
326 <exclude>**/demo/**/*</exclude>
327 <exclude>**/internal/**/*</exclude>
328 </excludes>
329 </configuration>
330 <reportSets>
331 <reportSet>
332 <id>aggregate</id>
333 <reports>
334 <report>aggregate</report>
335 </reports>
336 </reportSet>
337 </reportSets>
338 </plugin>
339 <plugin>
340 <groupId>org.codehaus.mojo</groupId>
341 <artifactId>taglist-maven-plugin</artifactId>
342 <version>2.4</version>
343 <configuration>
344 <aggregate>true</aggregate>
345 <tags>
346 <tag>TODO</tag>
347 <tag>FIXME</tag>
348 </tags>
349 </configuration>
350 </plugin>
351 <plugin>
352 <artifactId>maven-changelog-plugin</artifactId>
353 <version>2.2</version>
354 <configuration>
355 <type>date</type>
356 <dates>
357 <date>${developmentCycle.argeo-commons.startDate}</date>
358 </dates>
359 <dateFormat>yyyy-MM-dd</dateFormat>
360 </configuration>
361 </plugin>
362 </reportPlugins>
363 </configuration>
364 </plugin>
365 </plugins>
366 </pluginManagement>
367 <plugins>
368 <plugin>
369 <groupId>org.codehaus.mojo</groupId>
370 <artifactId>buildnumber-maven-plugin</artifactId>
371 <executions>
372 <execution>
373 <phase>generate-resources</phase>
374 <goals>
375 <goal>create-timestamp</goal>
376 </goals>
377 </execution>
378 </executions>
379 <configuration>
380 <doCheck>false</doCheck>
381 <doUpdate>false</doUpdate>
382 <timestampFormat>yyMMdd_HHmm</timestampFormat>
383 </configuration>
384 </plugin>
385 <plugin>
386 <artifactId>maven-clean-plugin</artifactId>
387 <configuration>
388 <filesets>
389 <fileset>
390 <directory>META-INF</directory>
391 <includes>
392 <include>MANIFEST.MF</include>
393 </includes>
394 </fileset>
395 </filesets>
396 </configuration>
397 </plugin>
398 <plugin>
399 <artifactId>maven-javadoc-plugin</artifactId>
400 <configuration>
401 <skip>true</skip>
402 </configuration>
403 </plugin>
404 <plugin>
405 <artifactId>maven-resources-plugin</artifactId>
406 <configuration>
407 <encoding>UTF-8</encoding>
408 </configuration>
409 </plugin>
410 <plugin>
411 <artifactId>maven-site-plugin</artifactId>
412 <inherited>false</inherited>
413 <configuration>
414 <skip>false</skip>
415 </configuration>
416 </plugin>
417 <plugin>
418 <artifactId>maven-release-plugin</artifactId>
419 <configuration>
420 <goals>deploy</goals>
421 <releaseProfiles>rpmbuild,rpmbuild-tp</releaseProfiles>
422 </configuration>
423 </plugin>
424 <plugin>
425 <groupId>com.mycila.maven-license-plugin</groupId>
426 <artifactId>maven-license-plugin</artifactId>
427 <configuration>
428 <header>license-apache2-header.txt</header>
429 <failIfMissing>true</failIfMissing>
430 <aggregate>true</aggregate>
431 <includes>
432 <include>src/**/*.java</include>
433 <include>src/**/*.xml</include>
434 </includes>
435 <excludes>
436 <exclude>**/springutil/**</exclude>
437 <exclude>**/qooxdoo-sdk/**</exclude>
438 </excludes>
439 <useDefaultExcludes>true</useDefaultExcludes>
440 <mapping>
441 <java>SLASHSTAR_STYLE</java>
442 <xml>XML_STYLE</xml>
443 </mapping>
444 </configuration>
445 </plugin>
446 <plugin>
447 <groupId>com.agilejava.docbkx</groupId>
448 <artifactId>docbkx-maven-plugin</artifactId>
449 <configuration>
450 <sourceDirectory>doc/reference</sourceDirectory>
451 <targetDirectory>target/site/reference</targetDirectory>
452 <htmlStylesheet>css/style.css</htmlStylesheet>
453 <postProcess>
454 <copy todir="target/site/reference">
455 <fileset dir="doc/reference">
456 <include name="*/*.css" />
457 </fileset>
458 <fileset dir="doc/reference">
459 <include name="img/**" />
460 </fileset>
461 </copy>
462 </postProcess>
463 </configuration>
464 <executions>
465 <execution>
466 <goals>
467 <goal>generate-html</goal>
468 <goal>generate-pdf</goal>
469 </goals>
470 <phase>pre-site</phase>
471 </execution>
472 </executions>
473 </plugin>
474 </plugins>
475 </build>
476 <dependencyManagement>
477 <dependencies>
478 <dependency>
479 <groupId>org.argeo.tp</groupId>
480 <artifactId>binaries</artifactId>
481 <version>${version.argeo-distribution}</version>
482 <type>pom</type>
483 <scope>import</scope>
484 </dependency>
485 </dependencies>
486 </dependencyManagement>
487 <repositories>
488 <repository>
489 <id>argeo-tp</id>
490 <url>http://repo.argeo.org/data/public/java/org.argeo.tp-1.4.x</url>
491 <releases>
492 <enabled>true</enabled>
493 <updatePolicy>daily</updatePolicy>
494 <checksumPolicy>warn</checksumPolicy>
495 </releases>
496 </repository>
497 <repository>
498 <id>argeo-tp-rap</id>
499 <url>http://repo.argeo.org/data/public/java/org.argeo.tp.rap-2.1.x</url>
500 <releases>
501 <enabled>true</enabled>
502 <updatePolicy>daily</updatePolicy>
503 <checksumPolicy>warn</checksumPolicy>
504 </releases>
505 </repository>
506 </repositories>
507 <pluginRepositories>
508 <pluginRepository>
509 <id>central</id>
510 <url>http://repo1.maven.org/maven2</url>
511 <releases>
512 <enabled>true</enabled>
513 <updatePolicy>daily</updatePolicy>
514 <checksumPolicy>warn</checksumPolicy>
515 </releases>
516 </pluginRepository>
517 <pluginRepository>
518 <id>argeo-maven-plugins</id>
519 <url>http://repo.argeo.org/data/public/java/org.argeo.maven.plugins-1.1.x</url>
520 <releases>
521 <enabled>true</enabled>
522 <updatePolicy>daily</updatePolicy>
523 <checksumPolicy>warn</checksumPolicy>
524 </releases>
525 </pluginRepository>
526 </pluginRepositories>
527 <distributionManagement>
528 <repository>
529 <id>staging</id>
530 <url>dav:https://repo.argeo.org/data/files/java/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
531 <uniqueVersion>false</uniqueVersion>
532 </repository>
533 <site>
534 <id>site</id>
535 <url>dav:https://repo.argeo.org/data/files/docs/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
536 </site>
537 </distributionManagement>
538 <profiles>
539 <profile>
540 <id>localrepo</id>
541 <distributionManagement>
542 <repository>
543 <id>localrepo</id>
544 <name>Internal Release Repository</name>
545 <url>dav:http://localhost:7070/data/files/java/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
546 </repository>
547 <site>
548 <id>site</id>
549 <name>Argeo Commons Site</name>
550 <url>dav:http://localhost:7070/data/files/docs/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
551 </site>
552 </distributionManagement>
553 </profile>
554 <profile>
555 <id>el5</id>
556 <properties>
557 <rpm.release>5</rpm.release>
558 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64</rpm.stagingRepository>
559 </properties>
560 </profile>
561 </profiles>
562 </project>