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