]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
Upgrade maven BND plugin
[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 <parent>
6 <groupId>org.argeo</groupId>
7 <artifactId>parent</artifactId>
8 <version>1.2.0</version>
9 </parent>
10 <groupId>org.argeo.commons</groupId>
11 <artifactId>argeo-commons</artifactId>
12 <version>0.3.4-SNAPSHOT</version>
13 <name>Argeo Commons</name>
14 <packaging>pom</packaging>
15 <properties>
16 <developmentCycle>0.3</developmentCycle>
17 <version.argeo-distribution>1.1.7</version.argeo-distribution>
18 <version.argeo-commons>0.3.4-SNAPSHOT</version.argeo-commons>
19 <version.equinox>3.6.2</version.equinox>
20 <!-- maven -->
21 <version.maven-argeo-osgi>1.0.33</version.maven-argeo-osgi>
22 <version.maven-argeo-qooxdoo>1.1.1</version.maven-argeo-qooxdoo>
23 <!-- distribution -->
24 <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
25 <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
26 <rpm.release>6</rpm.release>
27 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64</rpm.stagingRepository>
28 <!-- encoding, see http://is.gd/mvn_source_encoding -->
29 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30 </properties>
31 <modules>
32 <module>basic</module>
33 <module>osgi</module>
34 <module>server</module>
35 <module>eclipse</module>
36 <module>security</module>
37 <module>demo</module>
38 </modules>
39 <url>${site.urlBase}/${developmentCycle}</url>
40 <scm>
41 <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
42 <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk
43 </developerConnection>
44 <url>https://svn.argeo.org/commons/trunk</url>
45 </scm>
46 <licenses>
47 <license>
48 <name>Apache 2</name>
49 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
50 <distribution>repo</distribution>
51 <comments><![CDATA[
52 Argeo Commons Enterprise Framework
53
54 Copyright 2011 Mathieu Baudier
55
56 Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
57 you may not use this file except in compliance with the License.
58 You may obtain a copy of the License at
59
60 http://www.apache.org/licenses/LICENSE-2.0
61
62 Unless required by applicable law or agreed to in writing, software
63 distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
64 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
65 See the License for the specific language governing permissions and
66 limitations under the License.
67 ]]>
68 </comments>
69 </license>
70 </licenses>
71 <developers>
72 <developer>
73 <id>mbaudier</id>
74 <name>Mathieu Baudier</name>
75 <email><![CDATA[http://mailhide.recaptcha.net/d?k=01EM7GpnvY3k8woQ2tnnZLUA==&c=crsNpHjhOBDPswHG6HD_gXaqymhC69wmBf7wlagcSHw=]]></email>
76 <organization>Argeo</organization>
77 <organizationUrl>http://www.argeo.org</organizationUrl>
78 <roles>
79 <role>architect</role>
80 <role>developer</role>
81 <role>QA</role>
82 </roles>
83 </developer>
84 <developer>
85 <id>bsinou</id>
86 <name>Bruno Sinou</name>
87 <email><![CDATA[http://www.google.com/recaptcha/mailhide/d?k=01SZoYvDnJzcw0KOR7M7u6Qg==&c=SVgEjXA_Uu9ZrNzLES92w1ght6puLFiVpoNUddCfSU8=]]></email>
88 <organization>Argeo</organization>
89 <organizationUrl>http://www.argeo.org</organizationUrl>
90 <roles>
91 <role>developer</role>
92 </roles>
93 </developer>
94 </developers>
95 <build>
96 <!-- NOTE: This is just a vision for the future, it's not yet implemented:
97 see MNG-2216 <sourceEncoding>UTF-8</sourceEncoding> -->
98 <extensions>
99 <extension>
100 <groupId>org.apache.maven.wagon</groupId>
101 <artifactId>wagon-webdav</artifactId>
102 <version>1.0-beta-2</version>
103 </extension>
104 </extensions>
105 <pluginManagement>
106 <plugins>
107 <!-- Maven -->
108 <plugin>
109 <artifactId>maven-compiler-plugin</artifactId>
110 <version>2.3.2</version>
111 <configuration>
112 <source>1.5</source>
113 <target>1.5</target>
114 </configuration>
115 </plugin>
116 <plugin>
117 <artifactId>maven-source-plugin</artifactId>
118 <version>2.1.2</version>
119 <executions>
120 <execution>
121 <id>attach-sources</id>
122 <phase>package</phase>
123 <goals>
124 <goal>jar</goal>
125 </goals>
126 </execution>
127 </executions>
128 </plugin>
129 <plugin>
130 <artifactId>maven-clean-plugin</artifactId>
131 <version>2.4.1</version>
132 </plugin>
133 <plugin>
134 <artifactId>maven-surefire-plugin</artifactId>
135 <version>2.7.1</version>
136 </plugin>
137 <plugin>
138 <artifactId>maven-jar-plugin</artifactId>
139 <version>2.3.1</version>
140 <configuration>
141 <archive>
142 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
143 </archive>
144 </configuration>
145 </plugin>
146 <plugin>
147 <artifactId>maven-antrun-plugin</artifactId>
148 <version>1.7</version>
149 </plugin>
150 <plugin>
151 <artifactId>maven-resources-plugin</artifactId>
152 <version>2.4.3</version>
153 </plugin>
154 <plugin>
155 <artifactId>maven-site-plugin</artifactId>
156 <version>2.1.1</version>
157 </plugin>
158 <plugin>
159 <artifactId>maven-release-plugin</artifactId>
160 <version>2.1</version>
161 </plugin>
162 <!-- Apache -->
163 <plugin>
164 <groupId>org.apache.felix</groupId>
165 <artifactId>maven-bundle-plugin</artifactId>
166 <version>2.3.7</version>
167 <extensions>true</extensions>
168 <configuration>
169 <manifestLocation>META-INF</manifestLocation>
170 <instructions>
171 <Bundle-Version>${project.version}-r${timestamp}</Bundle-Version>
172 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
173 <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
174 </instructions>
175 </configuration>
176 <executions>
177 <execution>
178 <id>bundle-manifest</id>
179 <phase>process-classes</phase>
180 <goals>
181 <goal>manifest</goal>
182 </goals>
183 </execution>
184 </executions>
185 </plugin>
186 <!-- Codehaus -->
187 <plugin>
188 <groupId>org.codehaus.mojo</groupId>
189 <artifactId>buildnumber-maven-plugin</artifactId>
190 <version>1.0</version>
191 </plugin>
192 <plugin>
193 <groupId>org.codehaus.mojo</groupId>
194 <artifactId>rpm-maven-plugin</artifactId>
195 <version>2.1-alpha-1</version>
196 <extensions>true</extensions>
197 <configuration>
198 <version>${project.version}</version>
199 <release>r${timestamp}.el${rpm.release}</release>
200 <distribution>argeo${rpm.release}</distribution>
201 <packager>mbaudier@argeo.org</packager>
202 <group>Applications/System</group>
203 <prefix>/usr</prefix>
204 </configuration>
205 </plugin>
206 <plugin>
207 <groupId>org.codehaus.mojo</groupId>
208 <artifactId>exec-maven-plugin</artifactId>
209 <version>1.2.1</version>
210 </plugin>
211 <!-- Argeo -->
212 <plugin>
213 <groupId>org.argeo.maven.plugins</groupId>
214 <artifactId>maven-argeo-osgi-plugin</artifactId>
215 <version>${version.maven-argeo-osgi}</version>
216 </plugin>
217 <!-- Others -->
218 <plugin>
219 <groupId>com.mycila.maven-license-plugin</groupId>
220 <artifactId>maven-license-plugin</artifactId>
221 <version>1.8.0</version>
222 </plugin>
223 </plugins>
224 </pluginManagement>
225 <plugins>
226 <plugin>
227 <groupId>org.codehaus.mojo</groupId>
228 <artifactId>buildnumber-maven-plugin</artifactId>
229 <executions>
230 <execution>
231 <phase>generate-resources</phase>
232 <goals>
233 <goal>create-timestamp</goal>
234 </goals>
235 </execution>
236 </executions>
237 <configuration>
238 <doCheck>false</doCheck>
239 <doUpdate>false</doUpdate>
240 <timestampFormat>yyMMdd_HHmm</timestampFormat>
241 </configuration>
242 <!-- <configuration> -->
243 <!-- <doCheck>false</doCheck> -->
244 <!-- <doUpdate>false</doUpdate> -->
245 <!-- <format>{0,date,yyyyMMdd_HHmmss}</format> -->
246 <!-- <items> -->
247 <!-- <item>timestamp</item> -->
248 <!-- </items> -->
249 <!-- <revisionOnScmFailure>git</revisionOnScmFailure> -->
250 <!-- <providerImplementations> -->
251 <!-- <git>svn</git> -->
252 <!-- </providerImplementations> -->
253 <!-- </configuration> -->
254 </plugin>
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-resources-plugin</artifactId>
258 <configuration>
259 <encoding>UTF-8</encoding>
260 </configuration>
261 </plugin>
262 <plugin>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-site-plugin</artifactId>
265 <configuration>
266 <siteDirectory>doc/site</siteDirectory>
267 </configuration>
268 </plugin>
269 <plugin>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-release-plugin</artifactId>
272 <configuration>
273 <autoVersionSubmodules>true</autoVersionSubmodules>
274 <releaseProfiles>release</releaseProfiles>
275 <preparationGoals>clean install</preparationGoals>
276 </configuration>
277 </plugin>
278 <plugin>
279 <groupId>com.mycila.maven-license-plugin</groupId>
280 <artifactId>maven-license-plugin</artifactId>
281 <configuration>
282 <header>license-apache2-header.txt</header>
283 <failIfMissing>true</failIfMissing>
284 <aggregate>true</aggregate>
285 <includes>
286 <include>src/**/*.java</include>
287 <include>src/**/*.xml</include>
288 </includes>
289 <excludes>
290 <exclude>**/springutil/**</exclude>
291 <exclude>**/qooxdoo-sdk/**</exclude>
292 </excludes>
293 <useDefaultExcludes>true</useDefaultExcludes>
294 <mapping>
295 <java>SLASHSTAR_STYLE</java>
296 <xml>XML_STYLE</xml>
297 </mapping>
298 </configuration>
299 </plugin>
300 </plugins>
301 </build>
302 <dependencyManagement>
303 <dependencies>
304 <dependency>
305 <groupId>org.argeo.dep</groupId>
306 <artifactId>versions-all</artifactId>
307 <version>${version.argeo-distribution}</version>
308 <type>pom</type>
309 <scope>import</scope>
310 </dependency>
311 </dependencies>
312 </dependencyManagement>
313 <repositories>
314 <repository>
315 <id>argeo</id>
316 <url>http://maven.argeo.org/argeo</url>
317 <releases>
318 <enabled>true</enabled>
319 <updatePolicy>daily</updatePolicy>
320 <checksumPolicy>fail</checksumPolicy>
321 </releases>
322 <snapshots>
323 <enabled>false</enabled>
324 <updatePolicy>never</updatePolicy>
325 <checksumPolicy>fail</checksumPolicy>
326 </snapshots>
327 </repository>
328 </repositories>
329 <distributionManagement>
330 <site>
331 <id>argeo-commons-site</id>
332 <name>Argeo Commons Site</name>
333 <url>file://${site.repoBase}/${developmentCycle}/</url>
334 </site>
335 </distributionManagement>
336 <reporting>
337 <plugins>
338 <plugin>
339 <groupId>org.apache.maven.plugins</groupId>
340 <artifactId>maven-project-info-reports-plugin</artifactId>
341 <version>2.3.1</version>
342 <reportSets>
343 <reportSet>
344 <reports>
345 <report>index</report>
346 <report>summary</report>
347 <report>license</report>
348 <report>scm</report>
349 <report>issue-tracking</report>
350 <report>dependencies</report>
351 </reports>
352 </reportSet>
353 <reportSet>
354 <inherited>false</inherited>
355 <reports>
356 <report>project-team</report>
357 </reports>
358 </reportSet>
359 </reportSets>
360 </plugin>
361 <plugin>
362 <groupId>org.apache.maven.plugins</groupId>
363 <artifactId>maven-javadoc-plugin</artifactId>
364 <version>2.7</version>
365 <inherited>false</inherited>
366 <configuration>
367 <aggregate>true</aggregate>
368 <encoding>UTF-8</encoding>
369 </configuration>
370 </plugin>
371 <plugin>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-jxr-plugin</artifactId>
374 <version>2.2</version>
375 <configuration>
376 <aggregate>true</aggregate>
377 </configuration>
378 </plugin>
379 <plugin>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-surefire-report-plugin</artifactId>
382 <version>2.7.1</version>
383 <inherited>false</inherited>
384 <configuration>
385 <aggregate>true</aggregate>
386 </configuration>
387 </plugin>
388 <plugin>
389 <groupId>org.codehaus.mojo</groupId>
390 <artifactId>taglist-maven-plugin</artifactId>
391 <version>2.4</version>
392 <configuration>
393 <aggregate>true</aggregate>
394 <tags>
395 <tag>TODO</tag>
396 <tag>FIXME</tag>
397 <tag>@deprecated</tag>
398 </tags>
399 </configuration>
400 </plugin>
401 <plugin>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-changelog-plugin</artifactId>
404 <version>2.2</version>
405 <inherited>false</inherited>
406 </plugin>
407 <plugin>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-pmd-plugin</artifactId>
410 <version>2.3</version>
411 <inherited>false</inherited>
412 <configuration>
413 <linkXref>true</linkXref>
414 <targetJdk>1.5</targetJdk>
415 <aggregate>true</aggregate>
416 <excludes>
417 <exclude>**/springutil/*.java</exclude>
418 </excludes>
419 </configuration>
420 <reportSets>
421 <reportSet>
422 <reports>
423 <report>cpd</report>
424 </reports>
425 </reportSet>
426 </reportSets>
427 </plugin>
428 </plugins>
429 </reporting>
430 <profiles>
431 <profile>
432 <id>release</id>
433 <distributionManagement>
434 <site>
435 <id>argeo-commons-site</id>
436 <name>Argeo Commons Site</name>
437 <url>file://${site.repoBase}/${project.version}</url>
438 </site>
439 </distributionManagement>
440 </profile>
441 <profile>
442 <id>localrepo</id>
443 <distributionManagement>
444 <repository>
445 <id>localrepo</id>
446 <name>Internal Release Repository</name>
447 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
448 </url>
449 </repository>
450 <snapshotRepository>
451 <id>localrepo.snapshots</id>
452 <name>Internal Snapshot Repository</name>
453 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
454 </url>
455 </snapshotRepository>
456 </distributionManagement>
457 </profile>
458 <profile>
459 <id>full</id>
460 <modules>
461 <module>doc</module>
462 <module>sandbox</module>
463 </modules>
464 </profile>
465 <profile>
466 <id>el5</id>
467 <properties>
468 <rpm.release>5</rpm.release>
469 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64
470 </rpm.stagingRepository>
471 </properties>
472 </profile>
473 </profiles>
474 </project>