]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
27042643cc982b9f2f9494bb9a3b0f0432780e7a
[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</version.argeo-distribution>
18 <version.argeo-ria>0.12.4</version.argeo-ria>
19 <version.maven-argeo-osgi>0.1.29</version.maven-argeo-osgi>
20 <version.maven-bundle-plugin>2.0.1</version.maven-bundle-plugin>
21 <version.maven-argeo-qooxdoo>1.1.0</version.maven-argeo-qooxdoo>
22 <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
23 <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
24 </properties>
25 <url>${site.urlBase}/${developmentCycle}</url>
26 <scm>
27 <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
28 <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk</developerConnection>
29 <url>https://svn.argeo.org/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 <version>2.1.1</version>
169 </plugin>
170 <plugin>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-release-plugin</artifactId>
173 <configuration>
174 <autoVersionSubmodules>true</autoVersionSubmodules>
175 <releaseProfiles>release</releaseProfiles>
176 <preparationGoals>clean install</preparationGoals>
177 </configuration>
178 </plugin>
179 <plugin>
180 <groupId>com.mycila.maven-license-plugin</groupId>
181 <artifactId>maven-license-plugin</artifactId>
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>