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