]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
e2abe3aafcbc7989cd484e4f77e506d368dc50b9
[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.12-SNAPSHOT</version>
8 <name>Argeo Commons</name>
9 <packaging>pom</packaging>
10 <properties>
11 <version.argeo-commons>2.1.12-SNAPSHOT</version.argeo-commons>
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>2.1.2</version.argeo-distribution>
15 <version.eclipseIde>3.8.2</version.eclipseIde>
16 <version.rap>2.2.0-R-20131204-0942</version.rap>
17 <version.rap.addons>0.5.0.argeo.20141029</version.rap.addons>
18 <!-- RPM -->
19 <rpm.release>6</rpm.release>
20 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-2-staging/6/x86_64</rpm.stagingRepository>
21 <!-- encoding, see http://is.gd/mvn_source_encoding -->
22 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23 </properties>
24 <modules>
25 <!-- Base -->
26 <module>org.argeo.util</module>
27 <module>org.argeo.osgi.boot</module>
28 <module>org.argeo.server.jcr</module>
29 <!-- Security -->
30 <module>org.argeo.security.core</module>
31 <module>org.argeo.security.jackrabbit</module>
32 <module>org.argeo.security.ldap</module>
33 <!-- <module>org.argeo.security.mvc</module> -->
34 <!-- Security Services -->
35 <module>org.argeo.security.auth.ldap</module>
36 <module>org.argeo.security.dao.ldap</module>
37 <module>org.argeo.security.dao.cli</module>
38 <module>org.argeo.security.dao.os</module>
39 <module>org.argeo.security.dao.jackrabbit</module>
40 <!-- Servers -->
41 <module>org.argeo.server.jcr.mvc</module>
42 <module>org.argeo.server.jackrabbit</module>
43 <!-- <module>org.argeo.jackrabbit.webapp</module> -->
44 <!-- <module>org.argeo.server.rap.webapp</module> -->
45 <!-- <module>org.argeo.server.ads</module> -->
46 <!-- <module>org.argeo.server.ads.server</module> -->
47 <!-- Eclipse -->
48 <module>org.argeo.eclipse.ui</module>
49 <module>org.argeo.eclipse.ui.rap</module>
50 <module>org.argeo.eclipse.ui.rcp</module>
51 <!-- Node -->
52 <module>org.argeo.node.repo.jackrabbit</module>
53 <module>org.argeo.cms</module>
54 <!-- Standard Workbench Perspectives -->
55 <module>org.argeo.eclipse.ui.workbench</module>
56 <module>org.argeo.security.equinox</module>
57 <module>org.argeo.security.ui</module>
58 <module>org.argeo.security.ui.admin</module>
59 <!-- Standard Workbench Products -->
60 <module>org.argeo.security.ui.rap</module>
61 <module>org.argeo.security.ui.rcp</module>
62 <!-- Legacy -->
63 <module>org.argeo.server.core</module>
64 <!-- <module>org.argeo.ext.jdbm</module> -->
65 <!-- Dependencies and Distributions -->
66 <module>dep</module>
67 <!-- <module>dist</module> -->
68 </modules>
69 <scm>
70 <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
71 <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk</developerConnection>
72 <url>https://svn.argeo.org/commons/trunk</url>
73 </scm>
74 <inceptionYear>2007</inceptionYear>
75 <licenses>
76 <license>
77 <name>Apache 2</name>
78 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
79 <distribution>repo</distribution>
80 <comments><![CDATA[
81 Argeo Commons Enterprise Framework
82
83 Copyright (C) 2007-2012 Argeo GmbH
84
85 Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
86 you may not use this file except in compliance with the License.
87 You may obtain a copy of the License at
88
89 http://www.apache.org/licenses/LICENSE-2.0
90
91 Unless required by applicable law or agreed to in writing, software
92 distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
93 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
94 See the License for the specific language governing permissions and
95 limitations under the License.
96 ]]>
97 </comments>
98 </license>
99 </licenses>
100 <build>
101 <extensions>
102 <extension>
103 <groupId>org.apache.maven.wagon</groupId>
104 <artifactId>wagon-webdav-jackrabbit</artifactId>
105 <version>2.8</version>
106 </extension>
107 </extensions>
108 <sourceDirectory>src</sourceDirectory>
109 <testSourceDirectory>ext/test</testSourceDirectory>
110 <resources>
111 <resource>
112 <directory>src</directory>
113 <includes>
114 <include>**</include>
115 </includes>
116 <excludes>
117 <exclude>**/*.java</exclude>
118 </excludes>
119 </resource>
120 <resource>
121 <directory>.</directory>
122 <includes>
123 <include>**</include>
124 </includes>
125 <excludes>
126 <exclude>.*</exclude>
127 <exclude>.*/**</exclude>
128 <exclude>src/**</exclude>
129 <exclude>ext/**</exclude>
130 <exclude>target/**</exclude>
131 <exclude>bin/**</exclude>
132 <exclude>pom.xml</exclude>
133 <exclude>build.properties</exclude>
134 <exclude>*.bnd</exclude>
135 <exclude>*.target</exclude>
136 </excludes>
137 </resource>
138 </resources>
139 <testResources>
140 <testResource>
141 <directory>ext/test</directory>
142 <includes>
143 <include>**</include>
144 </includes>
145 <excludes>
146 <exclude>**/*.java</exclude>
147 </excludes>
148 </testResource>
149 </testResources>
150 <pluginManagement>
151 <plugins>
152 <!-- Maven -->
153 <plugin>
154 <artifactId>maven-compiler-plugin</artifactId>
155 <version>3.2</version>
156 <configuration>
157 <source>1.7</source>
158 <target>1.7</target>
159 <compilerId>eclipse</compilerId>
160 <!-- Hack to work around issues with generated annotations : -->
161 <generatedSourcesDirectory>target/classes</generatedSourcesDirectory>
162 <generatedTestSourcesDirectory>target/test-classes</generatedTestSourcesDirectory>
163 </configuration>
164 <dependencies>
165 <dependency>
166 <groupId>org.codehaus.plexus</groupId>
167 <artifactId>plexus-compiler-eclipse</artifactId>
168 <version>2.3</version>
169 </dependency>
170 </dependencies>
171 </plugin>
172 <plugin>
173 <artifactId>maven-source-plugin</artifactId>
174 <version>2.4</version>
175 <executions>
176 <execution>
177 <id>attach-sources</id>
178 <phase>package</phase>
179 <goals>
180 <goal>jar</goal>
181 </goals>
182 </execution>
183 </executions>
184 <configuration>
185 <excludes>
186 <!-- Prevents source jars to contain misleading data -->
187 <exclude>plugin.xml</exclude>
188 <exclude>META-INF/MANIFEST.MF</exclude>
189 </excludes>
190 </configuration>
191 </plugin>
192 <plugin>
193 <artifactId>maven-clean-plugin</artifactId>
194 <version>2.6.1</version>
195 <configuration>
196 <filesets>
197 <fileset>
198 <directory>META-INF</directory>
199 <includes>
200 <include>MANIFEST.MF</include>
201 </includes>
202 </fileset>
203 </filesets>
204 </configuration>
205 </plugin>
206 <plugin>
207 <artifactId>maven-surefire-plugin</artifactId>
208 <version>2.18</version>
209 </plugin>
210 <plugin>
211 <artifactId>maven-jar-plugin</artifactId>
212 <version>2.5</version>
213 <configuration>
214 <archive>
215 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
216 </archive>
217 </configuration>
218 </plugin>
219 <plugin>
220 <artifactId>maven-antrun-plugin</artifactId>
221 <version>1.7</version>
222 </plugin>
223 <plugin>
224 <artifactId>maven-resources-plugin</artifactId>
225 <version>2.7</version>
226 </plugin>
227 <plugin>
228 <artifactId>maven-dependency-plugin</artifactId>
229 <version>2.9</version>
230 </plugin>
231 <plugin>
232 <artifactId>maven-release-plugin</artifactId>
233 <version>2.5.1</version>
234 <configuration>
235 <autoVersionSubmodules>true</autoVersionSubmodules>
236 </configuration>
237 </plugin>
238 <plugin>
239 <artifactId>maven-javadoc-plugin</artifactId>
240 <version>2.10.1</version>
241 </plugin>
242 <!-- Apache -->
243 <plugin>
244 <groupId>org.apache.felix</groupId>
245 <artifactId>maven-bundle-plugin</artifactId>
246 <version>2.3.7</version>
247 <extensions>true</extensions>
248 <configuration>
249 <manifestLocation>META-INF</manifestLocation>
250 <instructions>
251 <_include>bnd.bnd</_include>
252 <Bundle-Version>${project.version}-r${tstamp}</Bundle-Version>
253 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
254 <Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment>
255 <_removeheaders>Bnd-LastModified,Build-Jdk,Built-By,Tool,Created-By</_removeheaders>
256 <!-- SLC specific instructions -->
257 <SLC-Category>${project.groupId}</SLC-Category>
258 </instructions>
259 </configuration>
260 <executions>
261 <execution>
262 <id>bundle-manifest</id>
263 <phase>process-classes</phase>
264 <goals>
265 <goal>manifest</goal>
266 </goals>
267 </execution>
268 </executions>
269 </plugin>
270 <!-- Codehaus -->
271 <plugin>
272 <groupId>org.codehaus.mojo</groupId>
273 <artifactId>rpm-maven-plugin</artifactId>
274 <version>2.1</version>
275 <extensions>true</extensions>
276 <configuration>
277 <version>${project.version}</version>
278 <group>Applications/System</group>
279 <prefix>/usr</prefix>
280 </configuration>
281 </plugin>
282 <plugin>
283 <groupId>org.codehaus.mojo</groupId>
284 <artifactId>exec-maven-plugin</artifactId>
285 <version>1.3.2</version>
286 </plugin>
287 <!-- Argeo -->
288 <plugin>
289 <groupId>org.argeo.maven.plugins</groupId>
290 <artifactId>maven-argeo-osgi-plugin</artifactId>
291 <version>1.1.3</version>
292 </plugin>
293 <!-- Site -->
294 <plugin>
295 <artifactId>maven-site-plugin</artifactId>
296 <version>3.0</version>
297 <configuration>
298 <siteDirectory>doc/site</siteDirectory>
299 <generateSitemap>true</generateSitemap>
300 <skip>true</skip>
301 <reportPlugins>
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-project-info-reports-plugin</artifactId>
305 <version>2.4</version>
306 <reportSets>
307 <reportSet>
308 <reports>
309 <report>index</report>
310 <report>summary</report>
311 <report>license</report>
312 <report>scm</report>
313 </reports>
314 </reportSet>
315 </reportSets>
316 </plugin>
317 <plugin>
318 <artifactId>maven-javadoc-plugin</artifactId>
319 <version>2.8.1</version>
320 <configuration>
321 <encoding>UTF-8</encoding>
322 <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
323 <detectLinks>true</detectLinks>
324 <links>
325 <!-- Java -->
326 <link>http://docs.oracle.com/javase/6/docs/api</link>
327 <!-- OSGi -->
328 <link>http://www.osgi.org/javadoc/r4v42</link>
329 <!-- Spring -->
330 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
331 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
332 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
333 <!-- JCR -->
334 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
335 <!-- Eclipse -->
336 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
337 </links>
338 </configuration>
339 <reportSets>
340 <reportSet>
341 <id>aggregate</id>
342 <reports>
343 <report>aggregate</report>
344 </reports>
345 </reportSet>
346 </reportSets>
347 </plugin>
348 <plugin>
349 <artifactId>maven-jxr-plugin</artifactId>
350 <version>2.3</version>
351 <configuration>
352 <excludes>
353 <exclude>**/demo/**/*</exclude>
354 <exclude>**/internal/**/*</exclude>
355 </excludes>
356 </configuration>
357 <reportSets>
358 <reportSet>
359 <id>aggregate</id>
360 <reports>
361 <report>aggregate</report>
362 </reports>
363 </reportSet>
364 </reportSets>
365 </plugin>
366 </reportPlugins>
367 </configuration>
368 </plugin>
369 </plugins>
370 </pluginManagement>
371 <plugins>
372 <plugin>
373 <artifactId>maven-clean-plugin</artifactId>
374 <configuration>
375 <filesets>
376 <fileset>
377 <directory>META-INF</directory>
378 <includes>
379 <include>MANIFEST.MF</include>
380 </includes>
381 </fileset>
382 </filesets>
383 </configuration>
384 </plugin>
385 <plugin>
386 <artifactId>maven-javadoc-plugin</artifactId>
387 <configuration>
388 <skip>true</skip>
389 </configuration>
390 </plugin>
391 <plugin>
392 <artifactId>maven-resources-plugin</artifactId>
393 <configuration>
394 <encoding>UTF-8</encoding>
395 </configuration>
396 </plugin>
397 <plugin>
398 <artifactId>maven-site-plugin</artifactId>
399 <inherited>false</inherited>
400 <configuration>
401 <skip>false</skip>
402 </configuration>
403 </plugin>
404 <plugin>
405 <artifactId>maven-release-plugin</artifactId>
406 <configuration>
407 <goals>deploy</goals>
408 <releaseProfiles>rpmbuild,rpmbuild-tp</releaseProfiles>
409 </configuration>
410 </plugin>
411 <plugin>
412 <groupId>org.apache.felix</groupId>
413 <artifactId>maven-bundle-plugin</artifactId>
414 </plugin>
415 </plugins>
416 </build>
417 <!-- <dependencies> -->
418 <!-- <dependency> -->
419 <!-- <groupId>org.argeo.tp</groupId> -->
420 <!-- <artifactId>binaries</artifactId> -->
421 <!-- <type>pom</type> -->
422 <!-- <version>${version.argeo-distribution}</version> -->
423 <!-- <scope>compile</scope> -->
424 <!-- </dependency> -->
425 <!-- </dependencies> -->
426 <dependencies>
427 <dependency>
428 <groupId>org.argeo.tp</groupId>
429 <artifactId>argeo-tp</artifactId>
430 <version>${version.argeo-distribution}</version>
431 <scope>provided</scope>
432 </dependency>
433 </dependencies>
434 <dependencyManagement>
435 <dependencies>
436 <!-- <dependency> -->
437 <!-- <groupId>org.argeo.tp</groupId> -->
438 <!-- <artifactId>argeo-tp</artifactId> -->
439 <!-- <version>${version.argeo-distribution}</version> -->
440 <!-- <type>pom</type> -->
441 <!-- <scope>import</scope> -->
442 <!-- </dependency> -->
443 <!-- Eclipse RAP -->
444 <!-- <dependency> -->
445 <!-- <groupId>org.argeo.tp.rap</groupId> -->
446 <!-- <artifactId>binaries</artifactId> -->
447 <!-- <version>${version.argeo-distribution}</version> -->
448 <!-- <type>pom</type> -->
449 <!-- <scope>import</scope> -->
450 <!-- </dependency> -->
451 <!-- <dependency> -->
452 <!-- <groupId>org.argeo.tp.rap.addons</groupId> -->
453 <!-- <artifactId>binaries</artifactId> -->
454 <!-- <version>${version.rap.addons}</version> -->
455 <!-- <type>pom</type> -->
456 <!-- <scope>import</scope> -->
457 <!-- </dependency> -->
458 <dependency>
459 <groupId>org.argeo.tp.rcp.platform</groupId>
460 <artifactId>binaries</artifactId>
461 <version>${version.eclipseIde}</version>
462 <type>pom</type>
463 <scope>import</scope>
464 </dependency>
465 <dependency>
466 <groupId>org.argeo.tp.rap.addons</groupId>
467 <artifactId>binaries</artifactId>
468 <version>${version.rap.addons}</version>
469 <type>pom</type>
470 <scope>import</scope>
471 </dependency>
472 <dependency>
473 <groupId>org.argeo.tp.rap.platform</groupId>
474 <artifactId>binaries</artifactId>
475 <version>${version.rap}</version>
476 <type>pom</type>
477 <scope>import</scope>
478 </dependency>
479 </dependencies>
480 </dependencyManagement>
481 <repositories>
482 <repository>
483 <id>argeo-tp</id>
484 <url>https://forge.argeo.org/data/public/java/argeo-tp-2.1</url>
485 <releases>
486 <enabled>true</enabled>
487 <updatePolicy>daily</updatePolicy>
488 <checksumPolicy>warn</checksumPolicy>
489 </releases>
490 </repository>
491 <repository>
492 <id>argeo-tp-eclipseIde</id>
493 <url>https://forge.argeo.org/data/public/java/eclipse-ide-3.8</url>
494 <releases>
495 <enabled>true</enabled>
496 <updatePolicy>daily</updatePolicy>
497 <checksumPolicy>warn</checksumPolicy>
498 </releases>
499 </repository>
500 <repository>
501 <id>argeo-tp-rap</id>
502 <url>http://repo.argeo.org/data/public/java/eclipse-rap-2.2</url>
503 <releases>
504 <enabled>true</enabled>
505 <updatePolicy>daily</updatePolicy>
506 <checksumPolicy>warn</checksumPolicy>
507 </releases>
508 </repository>
509 </repositories>
510 <pluginRepositories>
511 <pluginRepository>
512 <id>central</id>
513 <url>http://repo1.maven.org/maven2</url>
514 <releases>
515 <enabled>true</enabled>
516 <updatePolicy>daily</updatePolicy>
517 <checksumPolicy>warn</checksumPolicy>
518 </releases>
519 </pluginRepository>
520 <pluginRepository>
521 <id>argeo-maven-plugins</id>
522 <url>http://repo.argeo.org/data/public/java/argeo-maven-1.1</url>
523 <releases>
524 <enabled>true</enabled>
525 <updatePolicy>daily</updatePolicy>
526 <checksumPolicy>warn</checksumPolicy>
527 </releases>
528 </pluginRepository>
529 </pluginRepositories>
530 <distributionManagement>
531 <repository>
532 <id>staging</id>
533 <url>dav:https://repo.argeo.org/data/files/java/argeo-commons-${developmentCycle.argeo-commons}</url>
534 <uniqueVersion>false</uniqueVersion>
535 </repository>
536 <site>
537 <id>site</id>
538 <url>dav:https://repo.argeo.org/data/files/docs/argeo-commons-${developmentCycle.argeo-commons}</url>
539 </site>
540 </distributionManagement>
541 <profiles>
542 <profile>
543 <id>localrepo</id>
544 <distributionManagement>
545 <repository>
546 <id>localrepo</id>
547 <name>Internal Release Repository</name>
548 <url>dav:http://localhost:7080/data/files/java/argeo-commons-${developmentCycle.argeo-commons}</url>
549 </repository>
550 <site>
551 <id>site</id>
552 <name>Argeo Commons Site</name>
553 <url>dav:http://localhost:7080/data/files/docs/argeo-commons-${developmentCycle.argeo-commons}</url>
554 </site>
555 </distributionManagement>
556 </profile>
557 </profiles>
558 </project>