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