]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
Checksum for big files
[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.30-SNAPSHOT</version>
7 <name>Argeo Commons</name>
8 <packaging>pom</packaging>
9 <properties>
10 <version.argeo-commons>2.1.30-SNAPSHOT</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.11</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 <!-- Required for compliance level, see http://jira.codehaus.org/browse/PLXCOMP-231 -->
135 <optimize>true</optimize>
136 <!-- Hack to work around issues with generated annotations : -->
137 <generatedSourcesDirectory>target/classes</generatedSourcesDirectory>
138 <generatedTestSourcesDirectory>target/test-classes</generatedTestSourcesDirectory>
139 </configuration>
140 <dependencies>
141 <dependency>
142 <groupId>org.codehaus.plexus</groupId>
143 <artifactId>plexus-compiler-eclipse</artifactId>
144 <version>2.3</version>
145 </dependency>
146 </dependencies>
147 </plugin>
148 <plugin>
149 <artifactId>maven-source-plugin</artifactId>
150 <version>2.4</version>
151 <executions>
152 <execution>
153 <id>attach-sources</id>
154 <phase>package</phase>
155 <goals>
156 <goal>jar</goal>
157 </goals>
158 </execution>
159 </executions>
160 <configuration>
161 <excludes>
162 <!-- Prevents source jars to contain misleading data -->
163 <exclude>plugin.xml</exclude>
164 <exclude>META-INF/MANIFEST.MF</exclude>
165 </excludes>
166 </configuration>
167 </plugin>
168 <plugin>
169 <artifactId>maven-clean-plugin</artifactId>
170 <version>2.6.1</version>
171 <configuration>
172 <filesets>
173 <fileset>
174 <directory>META-INF</directory>
175 <includes>
176 <include>MANIFEST.MF</include>
177 </includes>
178 </fileset>
179 </filesets>
180 </configuration>
181 </plugin>
182 <plugin>
183 <artifactId>maven-surefire-plugin</artifactId>
184 <version>2.18</version>
185 </plugin>
186 <plugin>
187 <artifactId>maven-jar-plugin</artifactId>
188 <version>2.5</version>
189 <configuration>
190 <archive>
191 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
192 </archive>
193 </configuration>
194 </plugin>
195 <plugin>
196 <artifactId>maven-antrun-plugin</artifactId>
197 <version>1.7</version>
198 </plugin>
199 <plugin>
200 <artifactId>maven-resources-plugin</artifactId>
201 <version>2.7</version>
202 </plugin>
203 <plugin>
204 <artifactId>maven-dependency-plugin</artifactId>
205 <version>2.9</version>
206 </plugin>
207 <plugin>
208 <artifactId>maven-release-plugin</artifactId>
209 <version>2.5.1</version>
210 <configuration>
211 <autoVersionSubmodules>true</autoVersionSubmodules>
212 </configuration>
213 </plugin>
214 <plugin>
215 <artifactId>maven-javadoc-plugin</artifactId>
216 <version>2.10.1</version>
217 </plugin>
218 <!-- Apache -->
219 <plugin>
220 <groupId>org.apache.felix</groupId>
221 <artifactId>maven-bundle-plugin</artifactId>
222 <version>2.3.7</version>
223 <extensions>true</extensions>
224 <configuration>
225 <manifestLocation>META-INF</manifestLocation>
226 <instructions>
227 <_include>bnd.bnd</_include>
228 <Bundle-Version>${project.version}-r${tstamp}</Bundle-Version>
229 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
230 <Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment>
231 <_removeheaders>Bnd-LastModified,Build-Jdk,Built-By,Tool,Created-By</_removeheaders>
232 <!-- SLC specific instructions -->
233 <SLC-Category>${project.groupId}</SLC-Category>
234 </instructions>
235 </configuration>
236 <executions>
237 <execution>
238 <id>bundle-manifest</id>
239 <phase>process-classes</phase>
240 <goals>
241 <goal>manifest</goal>
242 </goals>
243 </execution>
244 </executions>
245 </plugin>
246 <!-- Codehaus -->
247 <plugin>
248 <groupId>org.codehaus.mojo</groupId>
249 <artifactId>rpm-maven-plugin</artifactId>
250 <version>2.1-alpha-1</version>
251 <extensions>true</extensions>
252 <configuration>
253 <version>${project.version}</version>
254 <release>1.el${rpm.release}</release>
255 <distribution>argeo${rpm.release}</distribution>
256 <group>Applications/System</group>
257 <prefix>/usr</prefix>
258 </configuration>
259 </plugin>
260 <plugin>
261 <groupId>org.codehaus.mojo</groupId>
262 <artifactId>exec-maven-plugin</artifactId>
263 <version>1.3.2</version>
264 </plugin>
265 <!-- Argeo -->
266 <plugin>
267 <groupId>org.argeo.maven.plugins</groupId>
268 <artifactId>maven-argeo-osgi-plugin</artifactId>
269 <version>1.1.4</version>
270 </plugin>
271 <!-- Site -->
272 <plugin>
273 <artifactId>maven-site-plugin</artifactId>
274 <version>3.0</version>
275 <configuration>
276 <siteDirectory>doc/site</siteDirectory>
277 <generateSitemap>true</generateSitemap>
278 <skip>true</skip>
279 <reportPlugins>
280 <plugin>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-project-info-reports-plugin</artifactId>
283 <version>2.4</version>
284 <reportSets>
285 <reportSet>
286 <reports>
287 <report>index</report>
288 <report>summary</report>
289 <report>license</report>
290 <report>scm</report>
291 </reports>
292 </reportSet>
293 </reportSets>
294 </plugin>
295 <plugin>
296 <artifactId>maven-javadoc-plugin</artifactId>
297 <version>2.8.1</version>
298 <configuration>
299 <encoding>UTF-8</encoding>
300 <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
301 <detectLinks>true</detectLinks>
302 <links>
303 <!-- Java -->
304 <link>http://docs.oracle.com/javase/6/docs/api</link>
305 <!-- OSGi -->
306 <link>http://www.osgi.org/javadoc/r4v42</link>
307 <!-- Spring -->
308 <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
309 <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
310 <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
311 <!-- JCR -->
312 <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
313 <!-- Eclipse -->
314 <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
315 </links>
316 </configuration>
317 <reportSets>
318 <reportSet>
319 <id>aggregate</id>
320 <reports>
321 <report>aggregate</report>
322 </reports>
323 </reportSet>
324 </reportSets>
325 </plugin>
326 <plugin>
327 <artifactId>maven-jxr-plugin</artifactId>
328 <version>2.3</version>
329 <configuration>
330 <excludes>
331 <exclude>**/demo/**/*</exclude>
332 <exclude>**/internal/**/*</exclude>
333 </excludes>
334 </configuration>
335 <reportSets>
336 <reportSet>
337 <id>aggregate</id>
338 <reports>
339 <report>aggregate</report>
340 </reports>
341 </reportSet>
342 </reportSets>
343 </plugin>
344 </reportPlugins>
345 </configuration>
346 </plugin>
347 </plugins>
348 </pluginManagement>
349 <plugins>
350 <plugin>
351 <artifactId>maven-clean-plugin</artifactId>
352 <configuration>
353 <filesets>
354 <fileset>
355 <directory>META-INF</directory>
356 <includes>
357 <include>MANIFEST.MF</include>
358 </includes>
359 </fileset>
360 </filesets>
361 </configuration>
362 </plugin>
363 <plugin>
364 <artifactId>maven-javadoc-plugin</artifactId>
365 <configuration>
366 <skip>true</skip>
367 </configuration>
368 </plugin>
369 <plugin>
370 <artifactId>maven-resources-plugin</artifactId>
371 <configuration>
372 <encoding>UTF-8</encoding>
373 </configuration>
374 </plugin>
375 <plugin>
376 <artifactId>maven-site-plugin</artifactId>
377 <inherited>false</inherited>
378 <configuration>
379 <skip>false</skip>
380 </configuration>
381 </plugin>
382 <plugin>
383 <artifactId>maven-release-plugin</artifactId>
384 <configuration>
385 <goals>deploy</goals>
386 <releaseProfiles>rpmbuild,rpmbuild-tp</releaseProfiles>
387 </configuration>
388 </plugin>
389 <plugin>
390 <groupId>org.apache.felix</groupId>
391 <artifactId>maven-bundle-plugin</artifactId>
392 </plugin>
393 </plugins>
394 </build>
395 <dependencies>
396 <dependency>
397 <groupId>org.argeo.tp</groupId>
398 <artifactId>argeo-tp</artifactId>
399 <version>${version.argeo-distribution}</version>
400 <scope>provided</scope>
401 <exclusions>
402 <exclusion>
403 <groupId>org.argeo.tp.spring</groupId>
404 <artifactId>org.springframework.ldap</artifactId>
405 </exclusion>
406 <exclusion>
407 <groupId>org.argeo.tp.spring.security</groupId>
408 <artifactId>org.springframework.security.acls</artifactId>
409 </exclusion>
410 <exclusion>
411 <groupId>org.argeo.tp.spring.security</groupId>
412 <artifactId>org.springframework.security.aspects</artifactId>
413 </exclusion>
414 <exclusion>
415 <groupId>org.argeo.tp.spring.security</groupId>
416 <artifactId>org.springframework.security.config</artifactId>
417 </exclusion>
418 <exclusion>
419 <groupId>org.argeo.tp.spring.security</groupId>
420 <artifactId>org.springframework.security.core</artifactId>
421 </exclusion>
422 <exclusion>
423 <groupId>org.argeo.tp.spring.security</groupId>
424 <artifactId>org.springframework.security.ldap</artifactId>
425 </exclusion>
426 <exclusion>
427 <groupId>org.argeo.tp.spring.security</groupId>
428 <artifactId>org.springframework.security.web</artifactId>
429 </exclusion>
430 </exclusions>
431 </dependency>
432 </dependencies>
433 <repositories>
434 <repository>
435 <id>argeo-tp</id>
436 <url>http://forge.argeo.org/data/public/java/argeo-tp-2.1/</url>
437 <releases>
438 <enabled>true</enabled>
439 <updatePolicy>daily</updatePolicy>
440 <checksumPolicy>warn</checksumPolicy>
441 </releases>
442 </repository>
443 </repositories>
444 <pluginRepositories>
445 <pluginRepository>
446 <id>central</id>
447 <url>http://repo1.maven.org/maven2</url>
448 <releases>
449 <enabled>true</enabled>
450 <updatePolicy>daily</updatePolicy>
451 <checksumPolicy>warn</checksumPolicy>
452 </releases>
453 </pluginRepository>
454 <pluginRepository>
455 <id>argeo-maven-plugins</id>
456 <url>http://repo.argeo.org/data/public/java/argeo-maven-1.1</url>
457 <releases>
458 <enabled>true</enabled>
459 <updatePolicy>daily</updatePolicy>
460 <checksumPolicy>warn</checksumPolicy>
461 </releases>
462 </pluginRepository>
463 </pluginRepositories>
464 <distributionManagement>
465 <repository>
466 <id>staging</id>
467 <url>dav:https://repo.argeo.org/data/files/java/argeo-commons-${developmentCycle.argeo-commons}</url>
468 <uniqueVersion>false</uniqueVersion>
469 </repository>
470 </distributionManagement>
471 <profiles>
472 <profile>
473 <id>localrepo</id>
474 <repositories>
475 <repository>
476 <id>argeo-tp</id>
477 <url>http://localhost:7080/data/public/java/argeo-tp-${developmentCycle.argeo-commons}/</url>
478 <releases>
479 <enabled>true</enabled>
480 <updatePolicy>daily</updatePolicy>
481 <checksumPolicy>warn</checksumPolicy>
482 </releases>
483 </repository>
484 </repositories>
485 <distributionManagement>
486 <repository>
487 <id>staging</id>
488 <name>Internal Release Repository</name>
489 <url>dav:http://localhost:7080/data/files/java/argeo-commons-${developmentCycle.argeo-commons}</url>
490 </repository>
491 </distributionManagement>
492 </profile>
493 </profiles>
494 </project>