View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-jcr/project/trunk/pom.xml
Revision: 30684
Committed: Mon Oct 17 14:05:26 2011 UTC (8 years, 7 months ago) by adouma
Content type: text/plain
File size: 14379 byte(s)
Log Message:
JCR-30: maven pom cleanup

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright 2011 Hippo.
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17 <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">
18 <modelVersion>4.0.0</modelVersion>
19
20 <groupId>org.onehippo.jcr</groupId>
21 <artifactId>hippo-jcr-project</artifactId>
22 <version>1-SNAPSHOT</version>
23
24 <name>Hippo JCR Project POM</name>
25 <description>Hippo JCR Project POM</description>
26 <packaging>pom</packaging>
27
28 <url>http://www.onehippo.org/jcr/</url>
29 <prerequisites>
30 <maven>[3.0,)</maven>
31 </prerequisites>
32
33 <organization>
34 <name>Hippo</name>
35 <url>http://www.onehippo.com/</url>
36 </organization>
37
38 <properties>
39
40 <!-- use UTF-8 encoding for filtered file copy -->
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42
43 <!--
44 Note on upgrading dependencies and plugins:
45 Always check the apache pom for guidance before upgrading.
46 Newer versions are not always better versions.
47 If they haven't upgraded to a certain version then probably that's
48 a good enough reason we shouldn't upgrade either.
49 You can find the latest apache pom here:
50 https://svn.apache.org/repos/asf/maven/pom/trunk/asf/pom.xml
51 -->
52 <servlet-api.version>2.5</servlet-api.version>
53 <javax.jcr.version>2.0</javax.jcr.version>
54 <slf4j.version>1.6.1</slf4j.version>
55 <log4j.version>1.2.16</log4j.version>
56
57 <!-- Common Maven plugin versions -->
58 <maven.plugin.assembly.version>2.2.1</maven.plugin.assembly.version>
59 <maven.plugin.compiler.version>2.3.2</maven.plugin.compiler.version>
60 <maven.plugin.deploy.version>2.6</maven.plugin.deploy.version>
61 <maven.plugin.install.version>2.3.1</maven.plugin.install.version>
62 <maven.plugin.javadoc.version>2.8</maven.plugin.javadoc.version>
63 <maven.plugin.release.version>2.1</maven.plugin.release.version>
64 <maven.plugin.remote-resources.version>1.2.1</maven.plugin.remote-resources.version>
65 <maven.plugin.resources.version>2.5</maven.plugin.resources.version>
66 <maven.plugin.source.version>2.1.2</maven.plugin.source.version>
67 <maven.plugin.war.version>2.1.1</maven.plugin.war.version>
68 <maven.plugin.surefire.version>2.9</maven.plugin.surefire.version>
69
70 </properties>
71
72 <licenses>
73 <license>
74 <name>The Apache Software License, Version 2.0</name>
75 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
76 <distribution>repo</distribution>
77 </license>
78 </licenses>
79
80 <scm>
81 <connection>scm:svn:http://svn.onehippo.org/repos/hippo/hippo-jcr/project/trunk</connection>
82 <developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-jcr/project/trunk</developerConnection>
83 <url>http://svn.onehippo.org/repos/hippo/hipo-jcr/project/trunk</url>
84 </scm>
85
86 <issueManagement>
87 <system>Jira</system>
88 <url>http://issues.onehippo.org/browse/JCR</url>
89 </issueManagement>
90
91 <inceptionYear>2011</inceptionYear>
92
93 <!-- Where to publish the project data -->
94 <distributionManagement>
95 <repository>
96 <name>Hippo Maven 2 Repository</name>
97 <id>hippo-maven2</id>
98 <url>https://maven.onehippo.com/content/repositories/releases/</url>
99 <uniqueVersion>false</uniqueVersion>
100 </repository>
101 <snapshotRepository>
102 <id>hippo-maven2-snapshots</id>
103 <name>Hippo Maven 2 Snapshots Repository</name>
104 <url>https://maven.onehippo.com/content/repositories/snapshots/</url>
105 <uniqueVersion>false</uniqueVersion>
106 </snapshotRepository>
107 </distributionManagement>
108
109 <repositories>
110 <repository>
111 <id>hippo-maven2-snapshots</id>
112 <name>Hippo Maven 2</name>
113 <url>http://maven.onehippo.com/maven2-snapshots/</url>
114 <snapshots>
115 <enabled>true</enabled>
116 </snapshots>
117 </repository>
118 <repository>
119 <id>hippo</id>
120 <name>Hippo Maven 2</name>
121 <url>http://maven.onehippo.com/maven2/</url>
122 <snapshots>
123 <enabled>false</enabled>
124 </snapshots>
125 <releases>
126 <updatePolicy>never</updatePolicy>
127 </releases>
128 </repository>
129 </repositories>
130
131 <pluginRepositories>
132 <pluginRepository>
133 <id>hippo</id>
134 <name>Hippo maven 2 repository.</name>
135 <url>http://maven.onehippo.com/maven2/</url>
136 <snapshots>
137 <enabled>false</enabled>
138 </snapshots>
139 <releases>
140 <updatePolicy>never</updatePolicy>
141 </releases>
142 <layout>default</layout>
143 </pluginRepository>
144 </pluginRepositories>
145
146 <ciManagement>
147 <system>Hudson</system>
148 <url>https://builds.onehippo.org/</url>
149 </ciManagement>
150
151 <developers>
152 <developer>
153 <name>Ate Douma</name>
154 <id>adouma</id>
155 <email>a.douma @ onehippo . com</email>
156 <organization>Hippo</organization>
157 <roles>
158 <role>Chief Architect</role>
159 </roles>
160 <timezone>+1</timezone>
161 </developer>
162 <developer>
163 <name>Woonsan Ko</name>
164 <id>wko</id>
165 <email>w.ko @ onehippo . com</email>
166 <organization>Hippo</organization>
167 <roles>
168 <role>Java Developer</role>
169 </roles>
170 <timezone>+1</timezone>
171 </developer>
172 <developer>
173 <name>Frank van Lankvelt</name>
174 <id>fvlankvelt</id>
175 <organization>Hippo</organization>
176 <roles>
177 <role>Java Developer</role>
178 </roles>
179 <timezone>+1</timezone>
180 </developer>
181 </developers>
182
183 <build>
184 <extensions>
185 <extension>
186 <groupId>org.apache.maven.wagon</groupId>
187 <artifactId>wagon-http</artifactId>
188 <version>1.0-beta-7</version>
189 </extension>
190 </extensions>
191 <pluginManagement>
192 <plugins>
193 <plugin>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-compiler-plugin</artifactId>
196 <version>${maven.plugin.compiler.version}</version>
197 <inherited>true</inherited>
198 <configuration>
199 <fork>true</fork>
200 <meminitial>128m</meminitial>
201 <maxmem>256m</maxmem>
202 <target>1.6</target>
203 <source>1.6</source>
204 </configuration>
205 </plugin>
206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-remote-resources-plugin</artifactId>
209 <version>${maven.plugin.remote-resources.version}</version>
210 <inherited>true</inherited>
211 <executions>
212 <execution>
213 <goals>
214 <goal>process</goal>
215 </goals>
216 <configuration>
217 <resourceBundles>
218 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
219 </resourceBundles>
220 </configuration>
221 </execution>
222 </executions>
223 </plugin>
224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-source-plugin</artifactId>
227 <version>${maven.plugin.source.version}</version>
228 <inherited>true</inherited>
229 <executions>
230 <execution>
231 <id>attach-sources</id>
232 <goals>
233 <goal>jar</goal>
234 </goals>
235 </execution>
236 </executions>
237 </plugin>
238 <plugin>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-surefire-plugin</artifactId>
241 <version>${maven.plugin.surefire.version}</version>
242 </plugin>
243 <plugin>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-javadoc-plugin</artifactId>
246 <version>${maven.plugin.javadoc.version}</version>
247 </plugin>
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-assembly-plugin</artifactId>
251 <version>${maven.plugin.assembly.version}</version>
252 </plugin>
253 <plugin>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-install-plugin</artifactId>
256 <version>${maven.plugin.install.version}</version>
257 </plugin>
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-deploy-plugin</artifactId>
261 <version>${maven.plugin.deploy.version}</version>
262 </plugin>
263 <plugin>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-release-plugin</artifactId>
266 <version>${maven.plugin.release.version}</version>
267 <inherited>true</inherited>
268 <configuration>
269 <autoVersionSubmodules>true</autoVersionSubmodules>
270 <!-- Default preparation goals are "clean verify", however for some multi-module projects
271 this isn't always working. If some modules depend on other modules which are not in
272 or under the same parent module, then Maven internal dependency resolution sometimes
273 fails to find the dependent module. By doing a forced install during the release
274 it is ensured these modules are (first) deployed to the local maven repository and
275 thereby resolvable.
276 To prevent unit-tests to be executed during this install additionally the environment
277 parameter skipTests=true is set
278 -->
279 <preparationGoals>clean install</preparationGoals>
280 <!-- Default release:perform goals are "deploy site-deploy", but we don't do
281 site deployment (anymore), which is why this is overridden to execute only "deploy"
282 -->
283 <goals>deploy</goals>
284 <arguments>-DskipTests=true</arguments>
285 </configuration>
286 </plugin>
287
288 <plugin>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-war-plugin</artifactId>
291 <version>${maven.plugin.war.version}</version>
292 </plugin>
293 <plugin>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-resources-plugin</artifactId>
296 <version>${maven.plugin.resources.version}</version>
297 <configuration>
298 <encoding>${project.build.sourceEncoding}</encoding>
299 </configuration>
300 </plugin>
301
302 </plugins>
303 </pluginManagement>
304
305 <plugins>
306 <plugin>
307 <inherited>true</inherited>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-remote-resources-plugin</artifactId>
310 </plugin>
311 <plugin>
312 <inherited>true</inherited>
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-source-plugin</artifactId>
315 </plugin>
316 </plugins>
317 </build>
318
319 <dependencyManagement>
320 <dependencies>
321
322 <dependency>
323 <groupId>javax.jcr</groupId>
324 <artifactId>jcr</artifactId>
325 <version>${javax.jcr.version}</version>
326 <scope>provided</scope>
327 </dependency>
328
329 <dependency>
330 <groupId>javax.servlet</groupId>
331 <artifactId>servlet-api</artifactId>
332 <version>${servlet-api.version}</version>
333 <scope>provided</scope>
334 </dependency>
335
336 <dependency>
337 <groupId>org.slf4j</groupId>
338 <artifactId>slf4j-api</artifactId>
339 <version>${slf4j.version}</version>
340 <scope>provided</scope>
341 </dependency>
342
343 <!-- forced test dependencies to exclude them from bundling -->
344 <dependency>
345 <groupId>xml-apis</groupId>
346 <artifactId>xml-apis</artifactId>
347 <version>1.0.b2</version>
348 <scope>test</scope>
349 </dependency>
350 <dependency>
351 <groupId>org.slf4j</groupId>
352 <artifactId>jcl-over-slf4j</artifactId>
353 <version>${slf4j.version}</version>
354 <scope>test</scope>
355 </dependency>
356 <dependency>
357 <groupId>org.slf4j</groupId>
358 <artifactId>slf4j-log4j12</artifactId>
359 <version>${slf4j.version}</version>
360 <scope>test</scope>
361 </dependency>
362 <dependency>
363 <groupId>log4j</groupId>
364 <artifactId>log4j</artifactId>
365 <version>${log4j.version}</version>
366 <scope>test</scope>
367 </dependency>
368 <dependency>
369 <groupId>commons-logging</groupId>
370 <artifactId>commons-logging</artifactId>
371 <version>1.1.1</version>
372 <scope>test</scope>
373 </dependency>
374 <dependency>
375 <groupId>commons-logging</groupId>
376 <artifactId>commons-logging-api</artifactId>
377 <version>1.1</version>
378 <scope>test</scope>
379 </dependency>
380
381 </dependencies>
382 </dependencyManagement>
383
384 <dependencies>
385
386 <!-- shared dependencies -->
387 <dependency>
388 <groupId>javax.servlet</groupId>
389 <artifactId>servlet-api</artifactId>
390 </dependency>
391 <dependency>
392 <groupId>javax.jcr</groupId>
393 <artifactId>jcr</artifactId>
394 </dependency>
395 <dependency>
396 <groupId>org.slf4j</groupId>
397 <artifactId>slf4j-api</artifactId>
398 </dependency>
399
400 <!-- forced test dependencies to exclude them from bundling -->
401 <dependency>
402 <groupId>commons-logging</groupId>
403 <artifactId>commons-logging</artifactId>
404 </dependency>
405 <dependency>
406 <groupId>commons-logging</groupId>
407 <artifactId>commons-logging-api</artifactId>
408 </dependency>
409 <dependency>
410 <groupId>xml-apis</groupId>
411 <artifactId>xml-apis</artifactId>
412 </dependency>
413 <dependency>
414 <groupId>org.slf4j</groupId>
415 <artifactId>slf4j-log4j12</artifactId>
416 </dependency>
417 <dependency>
418 <groupId>org.slf4j</groupId>
419 <artifactId>jcl-over-slf4j</artifactId>
420 </dependency>
421 <dependency>
422 <groupId>log4j</groupId>
423 <artifactId>log4j</artifactId>
424 </dependency>
425
426 </dependencies>
427
428 </project>

Properties

Name Value
svn:eol-style native
svn:keywords Id
svn:mime-type text/plain