]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
New project conventions
[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>1.4.0</version.argeo-distribution>
15 <version.rap>2.2.0-R-20131204-0942</version.rap>
16 <version.rap.addons>0.5.0.argeo.20141029</version.rap.addons>
17 <!-- RPM -->
18 <rpm.release>6</rpm.release>
19 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-2-staging/6/x86_64</rpm.stagingRepository>
20 <!-- encoding, see http://is.gd/mvn_source_encoding -->
21 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22 </properties>
23 <modules>
24 <!-- Base -->
25 <module>org.argeo.util</module>
26 <module>org.argeo.osgi.boot</module>
27 <module>org.argeo.server.jcr</module>
28 <!-- Eclipse -->
29 <module>org.argeo.eclipse.ui</module>
30 <module>org.argeo.eclipse.ui.rap</module>
31 <module>org.argeo.eclipse.ui.rcp</module>
32 <!-- Security -->
33 <module>org.argeo.security.core</module>
34 <module>org.argeo.security.jackrabbit</module>
35 <module>org.argeo.security.ldap</module>
36 <module>org.argeo.security.mvc</module>
37 <!-- Security Services -->
38 <module>org.argeo.security.auth.ldap</module>
39 <module>org.argeo.security.dao.ldap</module>
40 <module>org.argeo.security.dao.cli</module>
41 <module>org.argeo.security.dao.os</module>
42 <module>org.argeo.security.dao.jackrabbit</module>
43 <!-- Servers -->
44 <module>org.argeo.server.jcr.mvc</module>
45 <module>org.argeo.server.jackrabbit</module>
46 <module>org.argeo.jackrabbit.webapp</module>
47 <module>org.argeo.server.ads</module>
48 <module>org.argeo.server.ads.server</module>
49 <module>org.argeo.server.rap.webapp</module>
50 <!-- Node -->
51 <module>org.argeo.node.repo.jackrabbit</module>
52 <module>org.argeo.cms</module>
53 <!-- Standard Workbench Perspectives -->
54 <module>org.argeo.osgi.ui.explorer</module>
55 <module>org.argeo.jcr.ui.explorer</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 <resources>
109 <resource>
110 <directory>src/main/resources</directory>
111 </resource>
112 <resource>
113 <directory>.</directory>
114 <includes>
115 <include>**</include>
116 </includes>
117 <excludes>
118 <exclude>.*</exclude>
119 <exclude>.*/**</exclude>
120 <exclude>src/**</exclude>
121 <exclude>target/**</exclude>
122 <exclude>bin/**</exclude>
123 <exclude>pom.xml</exclude>
124 <exclude>build.properties</exclude>
125 <exclude>*.bnd</exclude>
126 <exclude>*.target</exclude>
127 </excludes>
128 </resource>
129 </resources>
130 <pluginManagement>
131 <plugins>
132 <!-- Maven -->
133 <plugin>
134 <artifactId>maven-compiler-plugin</artifactId>
135 <version>3.2</version>
136 <configuration>
137 <source>1.6</source>
138 <target>1.6</target>
139 <compilerId>eclipse</compilerId>
140 <!-- Hack to work around issues with generated annotations : -->
141 <generatedSourcesDirectory>target/classes</generatedSourcesDirectory>
142 <generatedTestSourcesDirectory>target/classes</generatedTestSourcesDirectory>
143 </configuration>
144 <dependencies>
145 <dependency>
146 <groupId>org.codehaus.plexus</groupId>
147 <artifactId>plexus-compiler-eclipse</artifactId>
148 <version>2.3</version>
149 </dependency>
150 </dependencies>
151 </plugin>
152 <plugin>
153 <artifactId>maven-source-plugin</artifactId>
154 <version>2.4</version>
155 <executions>
156 <execution>
157 <id>attach-sources</id>
158 <phase>package</phase>
159 <goals>
160 <goal>jar</goal>
161 </goals>
162 </execution>
163 </executions>
164 <configuration>
165 <excludes>
166 <!-- Prevents source jars to contain misleading data -->
167 <exclude>plugin.xml</exclude>
168 <exclude>META-INF/MANIFEST.MF</exclude>
169 </excludes>
170 </configuration>
171 </plugin>
172 <plugin>
173 <artifactId>maven-clean-plugin</artifactId>
174 <version>2.6.1</version>
175 <configuration>
176 <filesets>
177 <fileset>
178 <directory>META-INF</directory>
179 <includes>
180 <include>MANIFEST.MF</include>
181 </includes>
182 </fileset>
183 </filesets>
184 </configuration>
185 </plugin>
186 <plugin>
187 <artifactId>maven-surefire-plugin</artifactId>
188 <version>2.18</version>
189 </plugin>
190 <plugin>
191 <artifactId>maven-jar-plugin</artifactId>
192 <version>2.5</version>
193 <configuration>
194 <archive>
195 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
196 </archive>
197 </configuration>
198 </plugin>
199 <plugin>
200 <artifactId>maven-antrun-plugin</artifactId>
201 <version>1.7</version>
202 </plugin>
203 <plugin>
204 <artifactId>maven-resources-plugin</artifactId>
205 <version>2.7</version>
206 </plugin>
207 <plugin>
208 <artifactId>maven-dependency-plugin</artifactId>
209 <version>2.9</version>
210 </plugin>
211 <plugin>
212 <artifactId>maven-release-plugin</artifactId>
213 <version>2.5.1</version>
214 <configuration>
215 <autoVersionSubmodules>true</autoVersionSubmodules>
216 </configuration>
217 </plugin>
218 <plugin>
219 <artifactId>maven-javadoc-plugin</artifactId>
220 <version>2.10.1</version>
221 </plugin>
222 <!-- Apache -->
223 <plugin>
224 <groupId>org.apache.felix</groupId>
225 <artifactId>maven-bundle-plugin</artifactId>
226 <version>2.3.7</version>
227 <extensions>true</extensions>
228 <configuration>
229 <manifestLocation>META-INF</manifestLocation>
230 <instructions>
231 <Bundle-Version>${project.version}-r${tstamp}</Bundle-Version>
232 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
233 <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
234 <_removeheaders>Bnd-LastModified,Build-Jdk,Built-By,Tool,Created-By</_removeheaders>
235 <!-- SLC specific instructions -->
236 <SLC-Category>${project.groupId}</SLC-Category>
237 </instructions>
238 </configuration>
239 <executions>
240 <execution>
241 <id>bundle-manifest</id>
242 <phase>process-classes</phase>
243 <goals>
244 <goal>manifest</goal>
245 </goals>
246 </execution>
247 </executions>
248 </plugin>
249 <!-- Codehaus -->
250 <plugin>
251 <groupId>org.codehaus.mojo</groupId>
252 <artifactId>rpm-maven-plugin</artifactId>
253 <version>2.1</version>
254 <extensions>true</extensions>
255 <configuration>
256 <version>${project.version}</version>
257 <group>Applications/System</group>
258 <prefix>/usr</prefix>
259 </configuration>
260 </plugin>
261 <plugin>
262 <groupId>org.codehaus.mojo</groupId>
263 <artifactId>exec-maven-plugin</artifactId>
264 <version>1.3.2</version>
265 </plugin>
266 <!-- Argeo -->
267 <plugin>
268 <groupId>org.argeo.maven.plugins</groupId>
269 <artifactId>maven-argeo-osgi-plugin</artifactId>
270 <version>1.1.3</version>
271 </plugin>
272 <!-- Site -->
273 <plugin>
274 <artifactId>maven-site-plugin</artifactId>
275 <version>3.0</version>
276 <configuration>
277 <siteDirectory>doc/site</siteDirectory>
278 <generateSitemap>true</generateSitemap>
279 <skip>true</skip>
280 <reportPlugins>
281 <plugin>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-project-info-reports-plugin</artifactId>
284 <version>2.4</version>
285 <reportSets>
286 <reportSet>
287 <reports>
288 <report>index</report>
289 <report>summary</report>
290 <report>license</report>
291 <report>scm</report>
292 </reports>
293 </reportSet>
294 </reportSets>
295 </plugin>
296 <plugin>
297 <artifactId>maven-javadoc-plugin</artifactId>
298 <version>2.8.1</version>
299 <configuration>
300 <encoding>UTF-8</encoding>
301 <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
302 <detectLinks>true</detectLinks>
303 <links>
304 <!-- Java -->
305 <link>http://docs.oracle.com/javase/6/docs/api</link>
306 <!-- OSGi -->
307 <link>http://www.osgi.org/javadoc/r4v42</link>
308 <!-- Spring -->
309 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
310 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
311 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
312 <!-- JCR -->
313 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
314 <!-- Eclipse -->
315 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
316 </links>
317 </configuration>
318 <reportSets>
319 <reportSet>
320 <id>aggregate</id>
321 <reports>
322 <report>aggregate</report>
323 </reports>
324 </reportSet>
325 </reportSets>
326 </plugin>
327 <plugin>
328 <artifactId>maven-jxr-plugin</artifactId>
329 <version>2.3</version>
330 <configuration>
331 <excludes>
332 <exclude>**/demo/**/*</exclude>
333 <exclude>**/internal/**/*</exclude>
334 </excludes>
335 </configuration>
336 <reportSets>
337 <reportSet>
338 <id>aggregate</id>
339 <reports>
340 <report>aggregate</report>
341 </reports>
342 </reportSet>
343 </reportSets>
344 </plugin>
345 </reportPlugins>
346 </configuration>
347 </plugin>
348 </plugins>
349 </pluginManagement>
350 <plugins>
351 <plugin>
352 <artifactId>maven-clean-plugin</artifactId>
353 <configuration>
354 <filesets>
355 <fileset>
356 <directory>META-INF</directory>
357 <includes>
358 <include>MANIFEST.MF</include>
359 </includes>
360 </fileset>
361 </filesets>
362 </configuration>
363 </plugin>
364 <plugin>
365 <artifactId>maven-javadoc-plugin</artifactId>
366 <configuration>
367 <skip>true</skip>
368 </configuration>
369 </plugin>
370 <plugin>
371 <artifactId>maven-resources-plugin</artifactId>
372 <configuration>
373 <encoding>UTF-8</encoding>
374 </configuration>
375 </plugin>
376 <plugin>
377 <artifactId>maven-site-plugin</artifactId>
378 <inherited>false</inherited>
379 <configuration>
380 <skip>false</skip>
381 </configuration>
382 </plugin>
383 <plugin>
384 <artifactId>maven-release-plugin</artifactId>
385 <configuration>
386 <goals>deploy</goals>
387 <releaseProfiles>rpmbuild,rpmbuild-tp</releaseProfiles>
388 </configuration>
389 </plugin>
390 <plugin>
391 <groupId>org.apache.felix</groupId>
392 <artifactId>maven-bundle-plugin</artifactId>
393 </plugin>
394 </plugins>
395 </build>
396 <!-- <dependencies> -->
397 <!-- <dependency> -->
398 <!-- <groupId>org.argeo.tp</groupId> -->
399 <!-- <artifactId>binaries</artifactId> -->
400 <!-- <type>pom</type> -->
401 <!-- <version>${version.argeo-distribution}</version> -->
402 <!-- <scope>compile</scope> -->
403 <!-- </dependency> -->
404 <!-- </dependencies> -->
405 <dependencyManagement>
406 <dependencies>
407 <dependency>
408 <groupId>org.argeo.tp</groupId>
409 <artifactId>binaries</artifactId>
410 <version>${version.argeo-distribution}</version>
411 <type>pom</type>
412 <scope>import</scope>
413 </dependency>
414 <!-- Eclipse RAP -->
415 <dependency>
416 <groupId>org.argeo.tp.rap</groupId>
417 <artifactId>binaries</artifactId>
418 <version>${version.argeo-distribution}</version>
419 <type>pom</type>
420 <scope>import</scope>
421 </dependency>
422 <dependency>
423 <groupId>org.argeo.tp.rap.addons</groupId>
424 <artifactId>binaries</artifactId>
425 <version>${version.rap.addons}</version>
426 <type>pom</type>
427 <scope>import</scope>
428 </dependency>
429 <dependency>
430 <groupId>org.argeo.tp.rap.platform</groupId>
431 <artifactId>binaries</artifactId>
432 <version>${version.rap}</version>
433 <type>pom</type>
434 <scope>import</scope>
435 </dependency>
436 </dependencies>
437 </dependencyManagement>
438 <repositories>
439 <repository>
440 <id>argeo-tp</id>
441 <url>http://repo.argeo.org/data/public/java/argeo-tp-1.4</url>
442 <releases>
443 <enabled>true</enabled>
444 <updatePolicy>daily</updatePolicy>
445 <checksumPolicy>warn</checksumPolicy>
446 </releases>
447 </repository>
448 <repository>
449 <id>argeo-tp-rap</id>
450 <url>http://repo.argeo.org/data/public/java/eclipse-rap-2.2</url>
451 <releases>
452 <enabled>true</enabled>
453 <updatePolicy>daily</updatePolicy>
454 <checksumPolicy>warn</checksumPolicy>
455 </releases>
456 </repository>
457 </repositories>
458 <pluginRepositories>
459 <pluginRepository>
460 <id>central</id>
461 <url>http://repo1.maven.org/maven2</url>
462 <releases>
463 <enabled>true</enabled>
464 <updatePolicy>daily</updatePolicy>
465 <checksumPolicy>warn</checksumPolicy>
466 </releases>
467 </pluginRepository>
468 <pluginRepository>
469 <id>argeo-maven-plugins</id>
470 <url>http://repo.argeo.org/data/public/java/argeo-maven-1.1</url>
471 <releases>
472 <enabled>true</enabled>
473 <updatePolicy>daily</updatePolicy>
474 <checksumPolicy>warn</checksumPolicy>
475 </releases>
476 </pluginRepository>
477 </pluginRepositories>
478 <distributionManagement>
479 <repository>
480 <id>staging</id>
481 <url>dav:https://repo.argeo.org/data/files/java/argeo-commons-${developmentCycle.argeo-commons}</url>
482 <uniqueVersion>false</uniqueVersion>
483 </repository>
484 <site>
485 <id>site</id>
486 <url>dav:https://repo.argeo.org/data/files/docs/argeo-commons-${developmentCycle.argeo-commons}</url>
487 </site>
488 </distributionManagement>
489 </project>