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