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