]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
80f47b77c45e9a7315e63765d8018037d07113be
[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.0.0</version>
8 </parent>
9 <groupId>org.argeo.commons</groupId>
10 <artifactId>argeo-commons</artifactId>
11 <version>0.2.1-SNAPSHOT</version>
12 <name>Argeo Commons</name>
13 <packaging>pom</packaging>
14 <properties>
15 <developmentCycle>0.1</developmentCycle>
16 <version.argeo-distribution>1.0.4</version.argeo-distribution>
17 <version.argeo-ria>0.12.4</version.argeo-ria>
18 <version.maven-argeo-osgi>0.1.28</version.maven-argeo-osgi>
19 <version.maven-bundle-plugin>2.0.1</version.maven-bundle-plugin>
20 <version.maven-argeo-qooxdoo>0.8.3.0</version.maven-argeo-qooxdoo>
21 <site.repoBase>file:///var/argeo/projects/commons/www/site</site.repoBase>
22 <site.urlBase>http://www.argeo.org/projects/commons/site</site.urlBase>
23 </properties>
24 <url>${site.urlBase}/${developmentCycle}</url>
25 <scm>
26 <connection>scm:svn:https://www.argeo.org/svn/commons/trunk</connection>
27 <developerConnection>scm:svn:https://www.argeo.org/svn/commons/trunk</developerConnection>
28 <url>https://www.argeo.org/svn/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 2008 Mathieu Baudier - Argeo e.U.
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>sandbox</module>
75 </modules>
76 <build>
77 <pluginManagement>
78 <plugins>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-compiler-plugin</artifactId>
82 <configuration>
83 <source>1.5</source>
84 <target>1.5</target>
85 </configuration>
86 </plugin>
87 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-source-plugin</artifactId>
90 <executions>
91 <execution>
92 <id>attach-sources</id>
93 <phase>package</phase>
94 <goals>
95 <goal>jar</goal>
96 </goals>
97 </execution>
98 </executions>
99 </plugin>
100 <plugin>
101 <groupId>org.argeo.maven.plugins</groupId>
102 <artifactId>maven-argeo-osgi-plugin</artifactId>
103 <version>${version.maven-argeo-osgi}</version>
104 </plugin>
105 <plugin>
106 <artifactId>maven-jar-plugin</artifactId>
107 <configuration>
108 <archive>
109 <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
110 </archive>
111 </configuration>
112 </plugin>
113 <plugin>
114 <groupId>org.apache.felix</groupId>
115 <artifactId>maven-bundle-plugin</artifactId>
116 <version>${version.maven-bundle-plugin}</version>
117 <extensions>true</extensions>
118 <configuration>
119 <manifestLocation>target/classes/META-INF</manifestLocation>
120 <instructions>
121 <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
122 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
123 <_removeheaders>Bnd-LastModified</_removeheaders>
124 </instructions>
125 </configuration>
126 <executions>
127 <execution>
128 <id>bundle-manifest</id>
129 <phase>process-classes</phase>
130 <goals>
131 <goal>manifest</goal>
132 </goals>
133 </execution>
134 </executions>
135 </plugin>
136 </plugins>
137 </pluginManagement>
138 <plugins>
139 <plugin>
140 <groupId>org.codehaus.mojo</groupId>
141 <artifactId>buildnumber-maven-plugin</artifactId>
142 <executions>
143 <execution>
144 <phase>validate</phase>
145 <goals>
146 <goal>create</goal>
147 </goals>
148 </execution>
149 </executions>
150 <configuration>
151 <doCheck>false</doCheck>
152 <doUpdate>false</doUpdate>
153 <useLastCommittedRevision>true</useLastCommittedRevision>
154 </configuration>
155 </plugin>
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-resources-plugin</artifactId>
159 <configuration>
160 <encoding>UTF-8</encoding>
161 </configuration>
162 </plugin>
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-site-plugin</artifactId>
166 </plugin>
167 <plugin>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-release-plugin</artifactId>
170 <configuration>
171 <autoVersionSubmodules>true</autoVersionSubmodules>
172 <releaseProfiles>release</releaseProfiles>
173 <preparationGoals>clean install</preparationGoals>
174 </configuration>
175 </plugin>
176 <plugin>
177 <groupId>com.mycila.maven-license-plugin</groupId>
178 <artifactId>maven-license-plugin</artifactId>
179 <configuration>
180 <header>license-apache2-header.txt</header>
181 <failIfMissing>true</failIfMissing>
182 <aggregate>true</aggregate>
183 <includes>
184 <include>src/**/*.java</include>
185 <include>src/**/*.xml</include>
186 </includes>
187 <excludes>
188 <exclude>**/springutil/**</exclude>
189 <exclude>**/qooxdoo-sdk/**</exclude>
190 </excludes>
191 <useDefaultExcludes>true</useDefaultExcludes>
192 <mapping>
193 <java>SLASHSTAR_STYLE</java>
194 <xml>XML_STYLE</xml>
195 </mapping>
196 </configuration>
197 <executions>
198 <execution>
199 <goals>
200 <goal>check</goal>
201 </goals>
202 </execution>
203 </executions>
204 </plugin>
205 </plugins>
206 </build>
207 <dependencyManagement>
208 <dependencies>
209 <dependency>
210 <groupId>org.argeo.dep</groupId>
211 <artifactId>versions-all</artifactId>
212 <version>${version.argeo-distribution}</version>
213 <type>pom</type>
214 <scope>import</scope>
215 </dependency>
216 </dependencies>
217 </dependencyManagement>
218 <repositories>
219 <repository>
220 <id>argeo</id>
221 <url>http://www.argeo.org/maven/argeo</url>
222 <releases>
223 <enabled>true</enabled>
224 <updatePolicy>daily</updatePolicy>
225 <checksumPolicy>fail</checksumPolicy>
226 </releases>
227 <snapshots>
228 <enabled>false</enabled>
229 <updatePolicy>never</updatePolicy>
230 <checksumPolicy>fail</checksumPolicy>
231 </snapshots>
232 </repository>
233 </repositories>
234 <distributionManagement>
235 <site>
236 <id>argeo-commons-site</id>
237 <name>Argeo Commons Site</name>
238 <url>file://${site.repoBase}/${developmentCycle}/</url>
239 </site>
240 </distributionManagement>
241 <reporting>
242 <plugins>
243 <plugin>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-project-info-reports-plugin</artifactId>
246 <reportSets>
247 <reportSet>
248 <reports>
249 <report>index</report>
250 <report>summary</report>
251 <report>license</report>
252 <report>scm</report>
253 <report>issue-tracking</report>
254 <report>dependencies</report>
255 </reports>
256 </reportSet>
257 <reportSet>
258 <inherited>false</inherited>
259 <reports>
260 <report>project-team</report>
261 </reports>
262 </reportSet>
263 </reportSets>
264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-javadoc-plugin</artifactId>
268 <inherited>false</inherited>
269 <configuration>
270 <aggregate>true</aggregate>
271 <encoding>UTF-8</encoding>
272 </configuration>
273 </plugin>
274 <plugin>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-jxr-plugin</artifactId>
277 <configuration>
278 <aggregate>true</aggregate>
279 </configuration>
280 </plugin>
281 <plugin>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-surefire-report-plugin</artifactId>
284 <inherited>false</inherited>
285 <configuration>
286 <aggregate>true</aggregate>
287 </configuration>
288 </plugin>
289 <plugin>
290 <groupId>org.codehaus.mojo</groupId>
291 <artifactId>taglist-maven-plugin</artifactId>
292 <configuration>
293 <aggregate>true</aggregate>
294 <tags>
295 <tag>TODO</tag>
296 <tag>FIXME</tag>
297 <tag>@deprecated</tag>
298 </tags>
299 </configuration>
300 </plugin>
301 <plugin>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-changelog-plugin</artifactId>
304 <inherited>false</inherited>
305 </plugin>
306 <plugin>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-pmd-plugin</artifactId>
309 <version>2.3</version>
310 <inherited>false</inherited>
311 <configuration>
312 <linkXref>true</linkXref>
313 <targetJdk>1.5</targetJdk>
314 <aggregate>true</aggregate>
315 <excludes>
316 <exclude>**/springutil/*.java</exclude>
317 </excludes>
318 </configuration>
319 <reportSets>
320 <reportSet>
321 <reports>
322 <report>cpd</report>
323 </reports>
324 </reportSet>
325 </reportSets>
326 </plugin>
327 </plugins>
328 </reporting>
329 <profiles>
330 <profile>
331 <id>release</id>
332 <distributionManagement>
333 <site>
334 <id>argeo-commons-site</id>
335 <name>Argeo Commons Site</name>
336 <url>file://${site.repoBase}/${project.version}</url>
337 </site>
338 </distributionManagement>
339 </profile>
340 </profiles>
341 </project>