]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
Merge Add sorting to user list table
[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>1.2.1-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>1.2</developmentCycle.argeo-commons>
12 <developmentCycle.argeo-commons.startDate>2012-12-18</developmentCycle.argeo-commons.startDate>
13 <version.argeo-distribution>1.4.0</version.argeo-distribution>
14 <version.argeo-commons>1.2.1-SNAPSHOT</version.argeo-commons>
15 <!-- RPM -->
16 <rpm.release>6</rpm.release>
17 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-1-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/branches/1.x</connection>
33 <developerConnection>scm:svn:https://svn.argeo.org/commons/branches/1.x</developerConnection>
34 <url>https://svn.argeo.org/commons/branches/1.x</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>*.properties</include>
111 <include>properties/*.properties</include>
112 <include>p2.inf</include>
113 </includes>
114 <excludes>
115 <exclude>build.properties</exclude>
116 </excludes>
117 </resource>
118 </resources>
119 <pluginManagement>
120 <plugins>
121 <!-- Maven -->
122 <plugin>
123 <artifactId>maven-compiler-plugin</artifactId>
124 <version>2.3.2</version>
125 <configuration>
126 <source>1.6</source>
127 <target>1.6</target>
128 </configuration>
129 </plugin>
130 <plugin>
131 <artifactId>maven-source-plugin</artifactId>
132 <version>2.1.2</version>
133 <executions>
134 <execution>
135 <id>attach-sources</id>
136 <phase>package</phase>
137 <goals>
138 <goal>jar</goal>
139 </goals>
140 </execution>
141 </executions>
142 </plugin>
143 <plugin>
144 <artifactId>maven-clean-plugin</artifactId>
145 <version>2.4.1</version>
146 <configuration>
147 <filesets>
148 <fileset>
149 <directory>META-INF</directory>
150 <includes>
151 <include>MANIFEST.MF</include>
152 </includes>
153 </fileset>
154 </filesets>
155 </configuration>
156 </plugin>
157 <plugin>
158 <artifactId>maven-surefire-plugin</artifactId>
159 <version>2.12</version>
160 </plugin>
161 <plugin>
162 <artifactId>maven-jar-plugin</artifactId>
163 <version>2.4</version>
164 <configuration>
165 <archive>
166 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
167 </archive>
168 </configuration>
169 </plugin>
170 <plugin>
171 <artifactId>maven-antrun-plugin</artifactId>
172 <version>1.7</version>
173 </plugin>
174 <plugin>
175 <artifactId>maven-resources-plugin</artifactId>
176 <version>2.5</version>
177 </plugin>
178 <plugin>
179 <artifactId>maven-dependency-plugin</artifactId>
180 <version>2.4</version>
181 </plugin>
182 <plugin>
183 <artifactId>maven-release-plugin</artifactId>
184 <version>2.2.2</version>
185 <configuration>
186 <autoVersionSubmodules>true</autoVersionSubmodules>
187 </configuration>
188 </plugin>
189 <plugin>
190 <artifactId>maven-javadoc-plugin</artifactId>
191 <version>2.8.1</version>
192 </plugin>
193 <!-- Apache -->
194 <plugin>
195 <groupId>org.apache.felix</groupId>
196 <artifactId>maven-bundle-plugin</artifactId>
197 <version>2.3.7</version>
198 <extensions>true</extensions>
199 <configuration>
200 <manifestLocation>META-INF</manifestLocation>
201 <instructions>
202 <Bundle-Version>${project.version}-r${timestamp}</Bundle-Version>
203 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
204 <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
205 <!-- SLC specific instructions -->
206 <SLC-GroupId>${project.groupId}</SLC-GroupId>
207 </instructions>
208 </configuration>
209 <executions>
210 <execution>
211 <id>bundle-manifest</id>
212 <phase>process-classes</phase>
213 <goals>
214 <goal>manifest</goal>
215 </goals>
216 </execution>
217 </executions>
218 </plugin>
219 <!-- Codehaus -->
220 <plugin>
221 <groupId>org.codehaus.mojo</groupId>
222 <artifactId>buildnumber-maven-plugin</artifactId>
223 <version>1.0</version>
224 </plugin>
225 <plugin>
226 <groupId>org.codehaus.mojo</groupId>
227 <artifactId>rpm-maven-plugin</artifactId>
228 <version>2.1-alpha-1</version>
229 <extensions>true</extensions>
230 <configuration>
231 <version>${project.version}</version>
232 <release>r${timestamp}.el${rpm.release}</release>
233 <distribution>argeo${rpm.release}</distribution>
234 <packager>mbaudier@argeo.org</packager>
235 <group>Applications/System</group>
236 <prefix>/usr</prefix>
237 <copyright>2012 Argeo GmbH and others</copyright>
238 </configuration>
239 </plugin>
240 <plugin>
241 <groupId>org.codehaus.mojo</groupId>
242 <artifactId>exec-maven-plugin</artifactId>
243 <version>1.2.1</version>
244 </plugin>
245 <!-- Argeo -->
246 <plugin>
247 <groupId>org.argeo.maven.plugins</groupId>
248 <artifactId>maven-argeo-osgi-plugin</artifactId>
249 <version>1.1.2</version>
250 </plugin>
251 <!-- Others -->
252 <plugin>
253 <groupId>com.mycila.maven-license-plugin</groupId>
254 <artifactId>maven-license-plugin</artifactId>
255 <version>1.9.0</version>
256 </plugin>
257 <plugin>
258 <groupId>com.agilejava.docbkx</groupId>
259 <artifactId>docbkx-maven-plugin</artifactId>
260 <version>2.0.14</version>
261 </plugin>
262 <!-- Site -->
263 <plugin>
264 <artifactId>maven-site-plugin</artifactId>
265 <version>3.0</version>
266 <configuration>
267 <siteDirectory>doc/site</siteDirectory>
268 <generateSitemap>true</generateSitemap>
269 <skip>true</skip>
270 <reportPlugins>
271 <plugin>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-project-info-reports-plugin</artifactId>
274 <version>2.4</version>
275 <reportSets>
276 <reportSet>
277 <reports>
278 <report>index</report>
279 <report>summary</report>
280 <report>license</report>
281 <report>scm</report>
282 <report>issue-tracking</report>
283 <report>project-team</report>
284 </reports>
285 </reportSet>
286 </reportSets>
287 </plugin>
288 <plugin>
289 <artifactId>maven-javadoc-plugin</artifactId>
290 <version>2.8.1</version>
291 <configuration>
292 <encoding>UTF-8</encoding>
293 <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
294 <detectLinks>true</detectLinks>
295 <links>
296 <!-- Java -->
297 <link>http://docs.oracle.com/javase/6/docs/api</link>
298 <!-- OSGi -->
299 <link>http://www.osgi.org/javadoc/r4v42</link>
300 <!-- Spring -->
301 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
302 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
303 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
304 <!-- JCR -->
305 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
306 <!-- Eclipse -->
307 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
308 </links>
309 </configuration>
310 <reportSets>
311 <reportSet>
312 <id>aggregate</id>
313 <reports>
314 <report>aggregate</report>
315 </reports>
316 </reportSet>
317 </reportSets>
318 </plugin>
319 <plugin>
320 <artifactId>maven-jxr-plugin</artifactId>
321 <version>2.3</version>
322 <configuration>
323 <excludes>
324 <exclude>**/demo/**/*</exclude>
325 <exclude>**/internal/**/*</exclude>
326 </excludes>
327 </configuration>
328 <reportSets>
329 <reportSet>
330 <id>aggregate</id>
331 <reports>
332 <report>aggregate</report>
333 </reports>
334 </reportSet>
335 </reportSets>
336 </plugin>
337 <plugin>
338 <groupId>org.codehaus.mojo</groupId>
339 <artifactId>taglist-maven-plugin</artifactId>
340 <version>2.4</version>
341 <configuration>
342 <aggregate>true</aggregate>
343 <tags>
344 <tag>TODO</tag>
345 <tag>FIXME</tag>
346 </tags>
347 </configuration>
348 </plugin>
349 <plugin>
350 <artifactId>maven-changelog-plugin</artifactId>
351 <version>2.2</version>
352 <configuration>
353 <type>date</type>
354 <dates>
355 <date>${developmentCycle.argeo-commons.startDate}</date>
356 </dates>
357 <dateFormat>yyyy-MM-dd</dateFormat>
358 </configuration>
359 </plugin>
360 </reportPlugins>
361 </configuration>
362 </plugin>
363 </plugins>
364 </pluginManagement>
365 <plugins>
366 <plugin>
367 <groupId>org.codehaus.mojo</groupId>
368 <artifactId>buildnumber-maven-plugin</artifactId>
369 <executions>
370 <execution>
371 <phase>generate-resources</phase>
372 <goals>
373 <goal>create-timestamp</goal>
374 </goals>
375 </execution>
376 </executions>
377 <configuration>
378 <doCheck>false</doCheck>
379 <doUpdate>false</doUpdate>
380 <timestampFormat>yyMMdd_HHmm</timestampFormat>
381 </configuration>
382 </plugin>
383 <plugin>
384 <artifactId>maven-clean-plugin</artifactId>
385 <configuration>
386 <filesets>
387 <fileset>
388 <directory>META-INF</directory>
389 <includes>
390 <include>MANIFEST.MF</include>
391 </includes>
392 </fileset>
393 </filesets>
394 </configuration>
395 </plugin>
396 <plugin>
397 <artifactId>maven-javadoc-plugin</artifactId>
398 <configuration>
399 <skip>true</skip>
400 </configuration>
401 </plugin>
402 <plugin>
403 <artifactId>maven-resources-plugin</artifactId>
404 <configuration>
405 <encoding>UTF-8</encoding>
406 </configuration>
407 </plugin>
408 <plugin>
409 <artifactId>maven-site-plugin</artifactId>
410 <inherited>false</inherited>
411 <configuration>
412 <skip>false</skip>
413 </configuration>
414 </plugin>
415 <plugin>
416 <artifactId>maven-release-plugin</artifactId>
417 <configuration>
418 <goals>deploy</goals>
419 <releaseProfiles>rpmbuild,rpmbuild-tp</releaseProfiles>
420 </configuration>
421 </plugin>
422 <plugin>
423 <groupId>com.mycila.maven-license-plugin</groupId>
424 <artifactId>maven-license-plugin</artifactId>
425 <configuration>
426 <header>license-apache2-header.txt</header>
427 <failIfMissing>true</failIfMissing>
428 <aggregate>true</aggregate>
429 <includes>
430 <include>src/**/*.java</include>
431 <include>src/**/*.xml</include>
432 </includes>
433 <excludes>
434 <exclude>**/springutil/**</exclude>
435 <exclude>**/qooxdoo-sdk/**</exclude>
436 </excludes>
437 <useDefaultExcludes>true</useDefaultExcludes>
438 <mapping>
439 <java>SLASHSTAR_STYLE</java>
440 <xml>XML_STYLE</xml>
441 </mapping>
442 </configuration>
443 </plugin>
444 <plugin>
445 <groupId>com.agilejava.docbkx</groupId>
446 <artifactId>docbkx-maven-plugin</artifactId>
447 <configuration>
448 <sourceDirectory>doc/reference</sourceDirectory>
449 <targetDirectory>target/site/reference</targetDirectory>
450 <htmlStylesheet>css/style.css</htmlStylesheet>
451 <postProcess>
452 <copy todir="target/site/reference">
453 <fileset dir="doc/reference">
454 <include name="*/*.css" />
455 </fileset>
456 <fileset dir="doc/reference">
457 <include name="img/**" />
458 </fileset>
459 </copy>
460 </postProcess>
461 </configuration>
462 <executions>
463 <execution>
464 <goals>
465 <goal>generate-html</goal>
466 <goal>generate-pdf</goal>
467 </goals>
468 <phase>pre-site</phase>
469 </execution>
470 </executions>
471 </plugin>
472 </plugins>
473 </build>
474 <dependencyManagement>
475 <dependencies>
476 <dependency>
477 <groupId>org.argeo.tp</groupId>
478 <artifactId>binaries</artifactId>
479 <version>${version.argeo-distribution}</version>
480 <type>pom</type>
481 <scope>import</scope>
482 </dependency>
483 </dependencies>
484 </dependencyManagement>
485 <repositories>
486 <repository>
487 <id>argeo-tp</id>
488 <url>http://repo.argeo.org/data/public/java/org.argeo.tp-1.4.x</url>
489 <releases>
490 <enabled>true</enabled>
491 <updatePolicy>daily</updatePolicy>
492 <checksumPolicy>warn</checksumPolicy>
493 </releases>
494 </repository>
495 </repositories>
496 <pluginRepositories>
497 <pluginRepository>
498 <id>central</id>
499 <url>http://repo1.maven.org/maven2</url>
500 <releases>
501 <enabled>true</enabled>
502 <updatePolicy>daily</updatePolicy>
503 <checksumPolicy>warn</checksumPolicy>
504 </releases>
505 </pluginRepository>
506 <pluginRepository>
507 <id>argeo-maven-plugins</id>
508 <url>http://repo.argeo.org/data/public/java/org.argeo.maven.plugins-1.1.x</url>
509 <releases>
510 <enabled>true</enabled>
511 <updatePolicy>daily</updatePolicy>
512 <checksumPolicy>warn</checksumPolicy>
513 </releases>
514 </pluginRepository>
515 </pluginRepositories>
516 <distributionManagement>
517 <repository>
518 <id>staging</id>
519 <url>dav:https://repo.argeo.org/data/files/java/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
520 <uniqueVersion>false</uniqueVersion>
521 </repository>
522 <site>
523 <id>site</id>
524 <url>dav:https://repo.argeo.org/data/files/docs/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
525 </site>
526 </distributionManagement>
527 <profiles>
528 <profile>
529 <id>localrepo</id>
530 <distributionManagement>
531 <repository>
532 <id>localrepo</id>
533 <name>Internal Release Repository</name>
534 <url>dav:http://localhost:7070/data/files/java/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
535 </repository>
536 <site>
537 <id>site</id>
538 <name>Argeo Commons Site</name>
539 <url>dav:http://localhost:7070/data/files/docs/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
540 </site>
541 </distributionManagement>
542 </profile>
543 <profile>
544 <id>el5</id>
545 <properties>
546 <rpm.release>5</rpm.release>
547 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64</rpm.stagingRepository>
548 </properties>
549 </profile>
550 </profiles>
551 </project>