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