]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
Improve OSGi boot
[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.1.3-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-SNAPSHOT</version.argeo-distribution>
17 <version.argeo-ria>0.12.4-SNAPSHOT</version.argeo-ria>
18 <version.maven-argeo-osgi>0.1.28-SNAPSHOT</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 </plugins>
177 </build>
178 <dependencyManagement>
179 <dependencies>
180 <dependency>
181 <groupId>org.argeo.dep</groupId>
182 <artifactId>versions-all</artifactId>
183 <version>${version.argeo-distribution}</version>
184 <type>pom</type>
185 <scope>import</scope>
186 </dependency>
187 </dependencies>
188 </dependencyManagement>
189 <repositories>
190 <repository>
191 <id>argeo</id>
192 <url>http://www.argeo.org/maven/argeo</url>
193 <releases>
194 <enabled>true</enabled>
195 <updatePolicy>daily</updatePolicy>
196 <checksumPolicy>fail</checksumPolicy>
197 </releases>
198 <snapshots>
199 <enabled>false</enabled>
200 <updatePolicy>never</updatePolicy>
201 <checksumPolicy>fail</checksumPolicy>
202 </snapshots>
203 </repository>
204 </repositories>
205 <distributionManagement>
206 <site>
207 <id>argeo-commons-site</id>
208 <name>Argeo Commons Site</name>
209 <url>file://${site.repoBase}/${developmentCycle}/</url>
210 </site>
211 </distributionManagement>
212 <reporting>
213 <plugins>
214 <plugin>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-project-info-reports-plugin</artifactId>
217 <reportSets>
218 <reportSet>
219 <reports>
220 <report>index</report>
221 <report>summary</report>
222 <report>license</report>
223 <report>scm</report>
224 <report>issue-tracking</report>
225 <report>dependencies</report>
226 </reports>
227 </reportSet>
228 <reportSet>
229 <inherited>false</inherited>
230 <reports>
231 <report>project-team</report>
232 </reports>
233 </reportSet>
234 </reportSets>
235 </plugin>
236 <plugin>
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-javadoc-plugin</artifactId>
239 <inherited>false</inherited>
240 <configuration>
241 <aggregate>true</aggregate>
242 <encoding>UTF-8</encoding>
243 </configuration>
244 </plugin>
245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-jxr-plugin</artifactId>
248 <configuration>
249 <aggregate>true</aggregate>
250 </configuration>
251 </plugin>
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-surefire-report-plugin</artifactId>
255 <inherited>false</inherited>
256 <configuration>
257 <aggregate>true</aggregate>
258 </configuration>
259 </plugin>
260 <plugin>
261 <groupId>org.codehaus.mojo</groupId>
262 <artifactId>taglist-maven-plugin</artifactId>
263 <configuration>
264 <aggregate>true</aggregate>
265 <tags>
266 <tag>TODO</tag>
267 <tag>FIXME</tag>
268 <tag>@deprecated</tag>
269 </tags>
270 </configuration>
271 </plugin>
272 <plugin>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-changelog-plugin</artifactId>
275 <inherited>false</inherited>
276 </plugin>
277 <plugin>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-pmd-plugin</artifactId>
280 <version>2.3</version>
281 <inherited>false</inherited>
282 <configuration>
283 <linkXref>true</linkXref>
284 <targetJdk>1.5</targetJdk>
285 <aggregate>true</aggregate>
286 <excludes>
287 <exclude>**/springutil/*.java</exclude>
288 </excludes>
289 </configuration>
290 <reportSets>
291 <reportSet>
292 <reports>
293 <report>cpd</report>
294 </reports>
295 </reportSet>
296 </reportSets>
297 </plugin>
298 </plugins>
299 </reporting>
300 <profiles>
301 <profile>
302 <id>release</id>
303 <distributionManagement>
304 <site>
305 <id>argeo-commons-site</id>
306 <name>Argeo Commons Site</name>
307 <url>file://${site.repoBase}/${project.version}</url>
308 </site>
309 </distributionManagement>
310 </profile>
311 </profiles>
312 </project>