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