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