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