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