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