]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
Use lexicographic order for OSGi Boot
[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 <parent>
5 <groupId>org.argeo</groupId>
6 <artifactId>parent</artifactId>
7 <version>1.2.0</version>
8 </parent>
9 <groupId>org.argeo.commons</groupId>
10 <artifactId>argeo-commons</artifactId>
11 <version>0.3.4-SNAPSHOT</version>
12 <name>Argeo Commons</name>
13 <packaging>pom</packaging>
14 <properties>
15 <developmentCycle>0.3</developmentCycle>
16 <version.argeo-distribution>1.1.5</version.argeo-distribution>
17 <version.argeo-commons>0.3.4-SNAPSHOT</version.argeo-commons>
18 <version.argeo-ria>0.12.5</version.argeo-ria>
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>sandbox</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 <pluginManagement>
83 <plugins>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-compiler-plugin</artifactId>
87 <version>2.3.2</version>
88 <configuration>
89 <source>1.5</source>
90 <target>1.5</target>
91 </configuration>
92 </plugin>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-source-plugin</artifactId>
96 <version>2.1.2</version>
97 <executions>
98 <execution>
99 <id>attach-sources</id>
100 <phase>package</phase>
101 <goals>
102 <goal>jar</goal>
103 </goals>
104 </execution>
105 </executions>
106 </plugin>
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-clean-plugin</artifactId>
110 <version>2.4.1</version>
111 </plugin>
112 <plugin>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-surefire-plugin</artifactId>
115 <version>2.7.1</version>
116 </plugin>
117 <plugin>
118 <groupId>org.argeo.maven.plugins</groupId>
119 <artifactId>maven-argeo-osgi-plugin</artifactId>
120 <version>${version.maven-argeo-osgi}</version>
121 </plugin>
122 <plugin>
123 <artifactId>maven-jar-plugin</artifactId>
124 <version>2.3.1</version>
125 <configuration>
126 <archive>
127 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
128 </archive>
129 </configuration>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.felix</groupId>
133 <artifactId>maven-bundle-plugin</artifactId>
134 <version>${version.maven-bundle-plugin}</version>
135 <extensions>true</extensions>
136 <configuration>
137 <manifestLocation>META-INF</manifestLocation>
138 <instructions>
139 <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
140 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
141 <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
142 <_removeheaders>Bnd-LastModified</_removeheaders>
143 </instructions>
144 </configuration>
145 <executions>
146 <execution>
147 <id>bundle-manifest</id>
148 <phase>process-classes</phase>
149 <goals>
150 <goal>manifest</goal>
151 </goals>
152 </execution>
153 </executions>
154 </plugin>
155 </plugins>
156 </pluginManagement>
157 <plugins>
158 <plugin>
159 <groupId>org.codehaus.mojo</groupId>
160 <artifactId>buildnumber-maven-plugin</artifactId>
161 <version>1.0-beta-4</version>
162 <executions>
163 <execution>
164 <phase>generate-resources</phase>
165 <goals>
166 <goal>create</goal>
167 </goals>
168 </execution>
169 </executions>
170 <configuration>
171 <doCheck>false</doCheck>
172 <doUpdate>false</doUpdate>
173 <format>{0,date,yyyyMMdd_HHmmss}</format>
174 <items>
175 <item>timestamp</item>
176 </items>
177 <revisionOnScmFailure>git</revisionOnScmFailure>
178 <providerImplementations>
179 <git>svn</git>
180 </providerImplementations>
181 </configuration>
182 </plugin>
183 <plugin>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-resources-plugin</artifactId>
186 <version>2.4.3</version>
187 <configuration>
188 <encoding>UTF-8</encoding>
189 </configuration>
190 </plugin>
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-site-plugin</artifactId>
194 <version>2.1.1</version>
195 </plugin>
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-release-plugin</artifactId>
199 <version>2.1</version>
200 <configuration>
201 <autoVersionSubmodules>true</autoVersionSubmodules>
202 <releaseProfiles>release</releaseProfiles>
203 <preparationGoals>clean install</preparationGoals>
204 </configuration>
205 </plugin>
206 <plugin>
207 <groupId>com.mycila.maven-license-plugin</groupId>
208 <artifactId>maven-license-plugin</artifactId>
209 <version>1.8.0</version>
210 <configuration>
211 <header>license-apache2-header.txt</header>
212 <failIfMissing>true</failIfMissing>
213 <aggregate>true</aggregate>
214 <includes>
215 <include>src/**/*.java</include>
216 <include>src/**/*.xml</include>
217 </includes>
218 <excludes>
219 <exclude>**/springutil/**</exclude>
220 <exclude>**/qooxdoo-sdk/**</exclude>
221 </excludes>
222 <useDefaultExcludes>true</useDefaultExcludes>
223 <mapping>
224 <java>SLASHSTAR_STYLE</java>
225 <xml>XML_STYLE</xml>
226 </mapping>
227 </configuration>
228 </plugin>
229 </plugins>
230 </build>
231 <dependencyManagement>
232 <dependencies>
233 <dependency>
234 <groupId>org.argeo.dep</groupId>
235 <artifactId>versions-all</artifactId>
236 <version>${version.argeo-distribution}</version>
237 <type>pom</type>
238 <scope>import</scope>
239 </dependency>
240 </dependencies>
241 </dependencyManagement>
242 <repositories>
243 <repository>
244 <id>argeo</id>
245 <url>http://maven.argeo.org/argeo</url>
246 <releases>
247 <enabled>true</enabled>
248 <updatePolicy>daily</updatePolicy>
249 <checksumPolicy>fail</checksumPolicy>
250 </releases>
251 <snapshots>
252 <enabled>false</enabled>
253 <updatePolicy>never</updatePolicy>
254 <checksumPolicy>fail</checksumPolicy>
255 </snapshots>
256 </repository>
257 </repositories>
258 <distributionManagement>
259 <site>
260 <id>argeo-commons-site</id>
261 <name>Argeo Commons Site</name>
262 <url>file://${site.repoBase}/${developmentCycle}/</url>
263 </site>
264 </distributionManagement>
265 <reporting>
266 <plugins>
267 <plugin>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-project-info-reports-plugin</artifactId>
270 <version>2.3.1</version>
271 <reportSets>
272 <reportSet>
273 <reports>
274 <report>index</report>
275 <report>summary</report>
276 <report>license</report>
277 <report>scm</report>
278 <report>issue-tracking</report>
279 <report>dependencies</report>
280 </reports>
281 </reportSet>
282 <reportSet>
283 <inherited>false</inherited>
284 <reports>
285 <report>project-team</report>
286 </reports>
287 </reportSet>
288 </reportSets>
289 </plugin>
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-javadoc-plugin</artifactId>
293 <version>2.7</version>
294 <inherited>false</inherited>
295 <configuration>
296 <aggregate>true</aggregate>
297 <encoding>UTF-8</encoding>
298 </configuration>
299 </plugin>
300 <plugin>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-jxr-plugin</artifactId>
303 <version>2.2</version>
304 <configuration>
305 <aggregate>true</aggregate>
306 </configuration>
307 </plugin>
308 <plugin>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-surefire-report-plugin</artifactId>
311 <version>2.7.1</version>
312 <inherited>false</inherited>
313 <configuration>
314 <aggregate>true</aggregate>
315 </configuration>
316 </plugin>
317 <plugin>
318 <groupId>org.codehaus.mojo</groupId>
319 <artifactId>taglist-maven-plugin</artifactId>
320 <version>2.4</version>
321 <configuration>
322 <aggregate>true</aggregate>
323 <tags>
324 <tag>TODO</tag>
325 <tag>FIXME</tag>
326 <tag>@deprecated</tag>
327 </tags>
328 </configuration>
329 </plugin>
330 <plugin>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-changelog-plugin</artifactId>
333 <version>2.2</version>
334 <inherited>false</inherited>
335 </plugin>
336 <plugin>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-pmd-plugin</artifactId>
339 <version>2.3</version>
340 <inherited>false</inherited>
341 <configuration>
342 <linkXref>true</linkXref>
343 <targetJdk>1.5</targetJdk>
344 <aggregate>true</aggregate>
345 <excludes>
346 <exclude>**/springutil/*.java</exclude>
347 </excludes>
348 </configuration>
349 <reportSets>
350 <reportSet>
351 <reports>
352 <report>cpd</report>
353 </reports>
354 </reportSet>
355 </reportSets>
356 </plugin>
357 </plugins>
358 </reporting>
359 <profiles>
360 <profile>
361 <id>release</id>
362 <distributionManagement>
363 <site>
364 <id>argeo-commons-site</id>
365 <name>Argeo Commons Site</name>
366 <url>file://${site.repoBase}/${project.version}</url>
367 </site>
368 </distributionManagement>
369 </profile>
370 </profiles>
371 </project>