]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
9aefbfd00b790cf631b0273b21c60df55d3dbcc6
[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-SNAPSHOT
18 </version.argeo-distribution>
19 <version.argeo-commons>0.3.4-SNAPSHOT</version.argeo-commons>
20 <version.equinox>3.6.2</version.equinox>
21 <!-- maven -->
22 <version.maven-argeo-osgi>1.0.33</version.maven-argeo-osgi>
23 <version.maven-argeo-qooxdoo>1.1.1</version.maven-argeo-qooxdoo>
24 <!-- distribution -->
25 <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
26 <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
27 <rpm.release>6</rpm.release>
28 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64
29 </rpm.stagingRepository>
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 </developers>
85 <build>
86 <extensions>
87 <extension>
88 <groupId>org.apache.maven.wagon</groupId>
89 <artifactId>wagon-webdav</artifactId>
90 <version>1.0-beta-2</version>
91 </extension>
92 </extensions>
93 <pluginManagement>
94 <plugins>
95 <!-- Maven -->
96 <plugin>
97 <artifactId>maven-compiler-plugin</artifactId>
98 <version>2.3.2</version>
99 <configuration>
100 <source>1.5</source>
101 <target>1.5</target>
102 </configuration>
103 </plugin>
104 <plugin>
105 <artifactId>maven-source-plugin</artifactId>
106 <version>2.1.2</version>
107 <executions>
108 <execution>
109 <id>attach-sources</id>
110 <phase>package</phase>
111 <goals>
112 <goal>jar</goal>
113 </goals>
114 </execution>
115 </executions>
116 </plugin>
117 <plugin>
118 <artifactId>maven-clean-plugin</artifactId>
119 <version>2.4.1</version>
120 </plugin>
121 <plugin>
122 <artifactId>maven-surefire-plugin</artifactId>
123 <version>2.7.1</version>
124 </plugin>
125 <plugin>
126 <artifactId>maven-jar-plugin</artifactId>
127 <version>2.3.1</version>
128 <configuration>
129 <archive>
130 <manifestFile>META-INF/MANIFEST.MF</manifestFile>
131 </archive>
132 </configuration>
133 </plugin>
134 <plugin>
135 <artifactId>maven-antrun-plugin</artifactId>
136 <version>1.7</version>
137 </plugin>
138 <plugin>
139 <artifactId>maven-resources-plugin</artifactId>
140 <version>2.4.3</version>
141 </plugin>
142 <plugin>
143 <artifactId>maven-site-plugin</artifactId>
144 <version>2.1.1</version>
145 </plugin>
146 <plugin>
147 <artifactId>maven-release-plugin</artifactId>
148 <version>2.1</version>
149 </plugin>
150 <!-- Apache -->
151 <plugin>
152 <groupId>org.apache.felix</groupId>
153 <artifactId>maven-bundle-plugin</artifactId>
154 <version>2.2.0</version>
155 <extensions>true</extensions>
156 <configuration>
157 <manifestLocation>META-INF</manifestLocation>
158 <instructions>
159 <Bundle-Version>${project.version}-r${buildNumber}
160 </Bundle-Version>
161 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
162 <Bundle-RequiredExecutionEnvironment>J2SE-1.5
163 </Bundle-RequiredExecutionEnvironment>
164 <_removeheaders>Bnd-LastModified</_removeheaders>
165 </instructions>
166 </configuration>
167 <executions>
168 <execution>
169 <id>bundle-manifest</id>
170 <phase>process-classes</phase>
171 <goals>
172 <goal>manifest</goal>
173 </goals>
174 </execution>
175 </executions>
176 </plugin>
177 <!-- Codehaus -->
178 <plugin>
179 <groupId>org.codehaus.mojo</groupId>
180 <artifactId>buildnumber-maven-plugin</artifactId>
181 <version>1.0-beta-4</version>
182 </plugin>
183 <plugin>
184 <groupId>org.codehaus.mojo</groupId>
185 <artifactId>rpm-maven-plugin</artifactId>
186 <version>2.1-alpha-1</version>
187 <extensions>true</extensions>
188 <configuration>
189 <version>${project.version}</version>
190 <release>r${buildNumber}.el${rpm.release}</release>
191 <distribution>argeo${rpm.release}</distribution>
192 <packager>mbaudier@argeo.org</packager>
193 <group>Applications/System</group>
194 <prefix>/usr</prefix>
195 </configuration>
196 </plugin>
197 <plugin>
198 <groupId>org.codehaus.mojo</groupId>
199 <artifactId>exec-maven-plugin</artifactId>
200 <version>1.2.1</version>
201 </plugin>
202 <!-- Argeo -->
203 <plugin>
204 <groupId>org.argeo.maven.plugins</groupId>
205 <artifactId>maven-argeo-osgi-plugin</artifactId>
206 <version>${version.maven-argeo-osgi}</version>
207 </plugin>
208 <!-- Others -->
209 <plugin>
210 <groupId>com.mycila.maven-license-plugin</groupId>
211 <artifactId>maven-license-plugin</artifactId>
212 <version>1.8.0</version>
213 </plugin>
214 </plugins>
215 </pluginManagement>
216 <plugins>
217 <plugin>
218 <groupId>org.codehaus.mojo</groupId>
219 <artifactId>buildnumber-maven-plugin</artifactId>
220 <executions>
221 <execution>
222 <phase>generate-resources</phase>
223 <goals>
224 <goal>create</goal>
225 </goals>
226 </execution>
227 </executions>
228 <configuration>
229 <doCheck>false</doCheck>
230 <doUpdate>false</doUpdate>
231 <format>{0,date,yyyyMMdd_HHmmss}</format>
232 <items>
233 <item>timestamp</item>
234 </items>
235 <revisionOnScmFailure>git</revisionOnScmFailure>
236 <providerImplementations>
237 <git>svn</git>
238 </providerImplementations>
239 </configuration>
240 </plugin>
241 <plugin>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-resources-plugin</artifactId>
244 <configuration>
245 <encoding>UTF-8</encoding>
246 </configuration>
247 </plugin>
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-site-plugin</artifactId>
251 <configuration>
252 <siteDirectory>doc/site</siteDirectory>
253 </configuration>
254 </plugin>
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-release-plugin</artifactId>
258 <configuration>
259 <autoVersionSubmodules>true</autoVersionSubmodules>
260 <releaseProfiles>release</releaseProfiles>
261 <preparationGoals>clean install</preparationGoals>
262 </configuration>
263 </plugin>
264 <plugin>
265 <groupId>com.mycila.maven-license-plugin</groupId>
266 <artifactId>maven-license-plugin</artifactId>
267 <configuration>
268 <header>license-apache2-header.txt</header>
269 <failIfMissing>true</failIfMissing>
270 <aggregate>true</aggregate>
271 <includes>
272 <include>src/**/*.java</include>
273 <include>src/**/*.xml</include>
274 </includes>
275 <excludes>
276 <exclude>**/springutil/**</exclude>
277 <exclude>**/qooxdoo-sdk/**</exclude>
278 </excludes>
279 <useDefaultExcludes>true</useDefaultExcludes>
280 <mapping>
281 <java>SLASHSTAR_STYLE</java>
282 <xml>XML_STYLE</xml>
283 </mapping>
284 </configuration>
285 </plugin>
286 </plugins>
287 </build>
288 <dependencyManagement>
289 <dependencies>
290 <dependency>
291 <groupId>org.argeo.dep</groupId>
292 <artifactId>versions-all</artifactId>
293 <version>${version.argeo-distribution}</version>
294 <type>pom</type>
295 <scope>import</scope>
296 </dependency>
297 </dependencies>
298 </dependencyManagement>
299 <repositories>
300 <repository>
301 <id>argeo</id>
302 <url>http://maven.argeo.org/argeo</url>
303 <releases>
304 <enabled>true</enabled>
305 <updatePolicy>daily</updatePolicy>
306 <checksumPolicy>fail</checksumPolicy>
307 </releases>
308 <snapshots>
309 <enabled>false</enabled>
310 <updatePolicy>never</updatePolicy>
311 <checksumPolicy>fail</checksumPolicy>
312 </snapshots>
313 </repository>
314 </repositories>
315 <distributionManagement>
316 <site>
317 <id>argeo-commons-site</id>
318 <name>Argeo Commons Site</name>
319 <url>file://${site.repoBase}/${developmentCycle}/</url>
320 </site>
321 </distributionManagement>
322 <reporting>
323 <plugins>
324 <plugin>
325 <groupId>org.apache.maven.plugins</groupId>
326 <artifactId>maven-project-info-reports-plugin</artifactId>
327 <version>2.3.1</version>
328 <reportSets>
329 <reportSet>
330 <reports>
331 <report>index</report>
332 <report>summary</report>
333 <report>license</report>
334 <report>scm</report>
335 <report>issue-tracking</report>
336 <report>dependencies</report>
337 </reports>
338 </reportSet>
339 <reportSet>
340 <inherited>false</inherited>
341 <reports>
342 <report>project-team</report>
343 </reports>
344 </reportSet>
345 </reportSets>
346 </plugin>
347 <plugin>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-javadoc-plugin</artifactId>
350 <version>2.7</version>
351 <inherited>false</inherited>
352 <configuration>
353 <aggregate>true</aggregate>
354 <encoding>UTF-8</encoding>
355 </configuration>
356 </plugin>
357 <plugin>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-jxr-plugin</artifactId>
360 <version>2.2</version>
361 <configuration>
362 <aggregate>true</aggregate>
363 </configuration>
364 </plugin>
365 <plugin>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-surefire-report-plugin</artifactId>
368 <version>2.7.1</version>
369 <inherited>false</inherited>
370 <configuration>
371 <aggregate>true</aggregate>
372 </configuration>
373 </plugin>
374 <plugin>
375 <groupId>org.codehaus.mojo</groupId>
376 <artifactId>taglist-maven-plugin</artifactId>
377 <version>2.4</version>
378 <configuration>
379 <aggregate>true</aggregate>
380 <tags>
381 <tag>TODO</tag>
382 <tag>FIXME</tag>
383 <tag>@deprecated</tag>
384 </tags>
385 </configuration>
386 </plugin>
387 <plugin>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-changelog-plugin</artifactId>
390 <version>2.2</version>
391 <inherited>false</inherited>
392 </plugin>
393 <plugin>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-pmd-plugin</artifactId>
396 <version>2.3</version>
397 <inherited>false</inherited>
398 <configuration>
399 <linkXref>true</linkXref>
400 <targetJdk>1.5</targetJdk>
401 <aggregate>true</aggregate>
402 <excludes>
403 <exclude>**/springutil/*.java</exclude>
404 </excludes>
405 </configuration>
406 <reportSets>
407 <reportSet>
408 <reports>
409 <report>cpd</report>
410 </reports>
411 </reportSet>
412 </reportSets>
413 </plugin>
414 </plugins>
415 </reporting>
416 <profiles>
417 <profile>
418 <id>release</id>
419 <distributionManagement>
420 <site>
421 <id>argeo-commons-site</id>
422 <name>Argeo Commons Site</name>
423 <url>file://${site.repoBase}/${project.version}</url>
424 </site>
425 </distributionManagement>
426 </profile>
427 <profile>
428 <id>localrepo</id>
429 <distributionManagement>
430 <repository>
431 <id>localrepo</id>
432 <name>Internal Release Repository</name>
433 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
434 </url>
435 </repository>
436 <snapshotRepository>
437 <id>localrepo.snapshots</id>
438 <name>Internal Snapshot Repository</name>
439 <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
440 </url>
441 </snapshotRepository>
442 </distributionManagement>
443 </profile>
444 <profile>
445 <id>full</id>
446 <modules>
447 <module>doc</module>
448 <module>sandbox</module>
449 </modules>
450 </profile>
451 <profile>
452 <id>el5</id>
453 <properties>
454 <rpm.release>5</rpm.release>
455 <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64
456 </rpm.stagingRepository>
457 </properties>
458 </profile>
459 </profiles>
460 </project>