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