View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-jcr/project/trunk/pom.xml
Revision: 30662
Committed: Sun Oct 16 15:26:11 2011 UTC (10 years, 3 months ago) by adouma
Content type: text/plain
Original Path: hippo-jcr/hippo-jcr-project/trunk/pom.xml
File size: 14544 byte(s)
Log Message:
JCR-50

File Contents

# User Rev Content
1 adouma 30662 <?xml version="1.0" encoding="UTF-8"?>
2     <!--
3     Copyright 2007-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    
69     </properties>
70    
71     <licenses>
72     <license>
73     <name>The Apache Software License, Version 2.0</name>
74     <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
75     <distribution>repo</distribution>
76     </license>
77     </licenses>
78    
79     <!--
80     Software configuration management (scm): where to find and how to get acces to the source repository
81     This is used by normal plugins, but also to autogenerate documentation in .../target/site/source-repository.html
82     -->
83     <scm>
84     <connection>scm:svn:http://svn.onehippo.org/repos/hippo/hippo-jcr/hippo-jcr-project/trunk</connection>
85     <developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-jcr/hippo-jcr-project/trunk</developerConnection>
86     <url>http://svn.onehippo.org/repos/hippo/hipo-jcr/hippo-jcr-project/trunk</url>
87     </scm>
88    
89     <issueManagement>
90     <system>Jira</system>
91     <url>http://issues.onehippo.org/browse/JCR</url>
92     </issueManagement>
93    
94     <inceptionYear>2011</inceptionYear>
95    
96     <!-- Where to publish the project data -->
97     <distributionManagement>
98     <repository>
99     <name>Hippo Maven 2 Repository</name>
100     <id>hippo-maven2</id>
101     <url>https://maven.onehippo.com/content/repositories/releases/</url>
102     <uniqueVersion>false</uniqueVersion>
103     </repository>
104     <snapshotRepository>
105     <id>hippo-maven2-snapshots</id>
106     <name>Hippo Maven 2 Snapshots Repository</name>
107     <url>https://maven.onehippo.com/content/repositories/snapshots/</url>
108     <uniqueVersion>false</uniqueVersion>
109     </snapshotRepository>
110     </distributionManagement>
111    
112     <repositories>
113     <repository>
114     <id>hippo-maven2-snapshots</id>
115     <name>Hippo Maven 2</name>
116     <url>http://maven.onehippo.com/maven2-snapshots/</url>
117     <snapshots>
118     <enabled>true</enabled>
119     </snapshots>
120     </repository>
121     <repository>
122     <id>hippo</id>
123     <name>Hippo Maven 2</name>
124     <url>http://maven.onehippo.com/maven2/</url>
125     <snapshots>
126     <enabled>false</enabled>
127     </snapshots>
128     <releases>
129     <updatePolicy>never</updatePolicy>
130     </releases>
131     </repository>
132     </repositories>
133    
134     <pluginRepositories>
135     <pluginRepository>
136     <id>hippo</id>
137     <name>Hippo maven 2 repository.</name>
138     <url>http://maven.onehippo.com/maven2/</url>
139     <snapshots>
140     <enabled>false</enabled>
141     </snapshots>
142     <releases>
143     <updatePolicy>never</updatePolicy>
144     </releases>
145     <layout>default</layout>
146     </pluginRepository>
147     </pluginRepositories>
148    
149     <ciManagement>
150     <system>Hudson</system>
151     <url>https://builds.onehippo.org/</url>
152     </ciManagement>
153    
154     <developers>
155     <developer>
156     <name>Ate Douma</name>
157     <id>adouma</id>
158     <email>a.douma @ onehippo . com</email>
159     <organization>Hippo</organization>
160     <roles>
161     <role>Chief Architect</role>
162     </roles>
163     <timezone>+1</timezone>
164     </developer>
165     <developer>
166     <name>Woonsan Ko</name>
167     <id>wko</id>
168     <email>w.ko @ onehippo . com</email>
169     <organization>Hippo</organization>
170     <roles>
171     <role>Java Developer</role>
172     </roles>
173     <timezone>+1</timezone>
174     </developer>
175     <developer>
176     <name>Frank van Lankvelt</name>
177     <id>fvlankvelt</id>
178     <organization>Hippo</organization>
179     <roles>
180     <role>Java Developer</role>
181     </roles>
182     <timezone>+1</timezone>
183     </developer>
184     </developers>
185    
186     <build>
187     <extensions>
188     <extension>
189     <groupId>org.apache.maven.wagon</groupId>
190     <artifactId>wagon-http</artifactId>
191     <version>1.0-beta-7</version>
192     </extension>
193     </extensions>
194     <pluginManagement>
195     <plugins>
196     <plugin>
197     <groupId>org.apache.maven.plugins</groupId>
198     <artifactId>maven-compiler-plugin</artifactId>
199     <version>${maven.plugin.compiler.version}</version>
200     <inherited>true</inherited>
201     <configuration>
202     <fork>true</fork>
203     <meminitial>128m</meminitial>
204     <maxmem>256m</maxmem>
205     <target>1.6</target>
206     <source>1.6</source>
207     </configuration>
208     </plugin>
209     <plugin>
210     <groupId>org.apache.maven.plugins</groupId>
211     <artifactId>maven-remote-resources-plugin</artifactId>
212     <version>${maven.plugin.remote-resources.version}</version>
213     <inherited>true</inherited>
214     <executions>
215     <execution>
216     <goals>
217     <goal>process</goal>
218     </goals>
219     <configuration>
220     <resourceBundles>
221     <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
222     </resourceBundles>
223     </configuration>
224     </execution>
225     </executions>
226     </plugin>
227     <plugin>
228     <groupId>org.apache.maven.plugins</groupId>
229     <artifactId>maven-source-plugin</artifactId>
230     <version>${maven.plugin.source.version}</version>
231     <inherited>true</inherited>
232     <executions>
233     <execution>
234     <id>attach-sources</id>
235     <goals>
236     <goal>jar</goal>
237     </goals>
238     </execution>
239     </executions>
240     </plugin>
241     <plugin>
242     <groupId>org.apache.maven.plugins</groupId>
243     <artifactId>maven-javadoc-plugin</artifactId>
244     <version>${maven.plugin.javadoc.version}</version>
245     </plugin>
246     <plugin>
247     <groupId>org.apache.maven.plugins</groupId>
248     <artifactId>maven-assembly-plugin</artifactId>
249     <version>${maven.plugin.assembly.version}</version>
250     </plugin>
251     <plugin>
252     <groupId>org.apache.maven.plugins</groupId>
253     <artifactId>maven-install-plugin</artifactId>
254     <version>${maven.plugin.install.version}</version>
255     </plugin>
256     <plugin>
257     <groupId>org.apache.maven.plugins</groupId>
258     <artifactId>maven-deploy-plugin</artifactId>
259     <version>${maven.plugin.deploy.version}</version>
260     </plugin>
261     <plugin>
262     <groupId>org.apache.maven.plugins</groupId>
263     <artifactId>maven-release-plugin</artifactId>
264     <version>${maven.plugin.release.version}</version>
265     <inherited>true</inherited>
266     <configuration>
267     <autoVersionSubmodules>true</autoVersionSubmodules>
268     <!-- Default preparation goals are "clean verify", however for some multi-module projects
269     this isn't always working. If some modules depend on other modules which are not in
270     or under the same parent module, then Maven internal dependency resolution sometimes
271     fails to find the dependent module. By doing a forced install during the release
272     it is ensured these modules are (first) deployed to the local maven repository and
273     thereby resolvable.
274     To prevent unit-tests to be executed during this install additionally the environment
275     parameter skipTests=true is set
276     -->
277     <preparationGoals>clean install</preparationGoals>
278     <!-- Default release:perform goals are "deploy site-deploy", but we don't do
279     site deployment (anymore), which is why this is overridden to execute only "deploy"
280     -->
281     <goals>deploy</goals>
282     <arguments>-DskipTests=true</arguments>
283     </configuration>
284     </plugin>
285    
286     <plugin>
287     <groupId>org.apache.maven.plugins</groupId>
288     <artifactId>maven-war-plugin</artifactId>
289     <version>${maven.plugin.war.version}</version>
290     </plugin>
291     <plugin>
292     <groupId>org.apache.maven.plugins</groupId>
293     <artifactId>maven-resources-plugin</artifactId>
294     <version>${maven.plugin.resources.version}</version>
295     <configuration>
296     <encoding>${project.build.sourceEncoding}</encoding>
297     </configuration>
298     </plugin>
299    
300     </plugins>
301     </pluginManagement>
302    
303     <plugins>
304     <plugin>
305     <inherited>true</inherited>
306     <groupId>org.apache.maven.plugins</groupId>
307     <artifactId>maven-remote-resources-plugin</artifactId>
308     </plugin>
309     <plugin>
310     <inherited>true</inherited>
311     <groupId>org.apache.maven.plugins</groupId>
312     <artifactId>maven-source-plugin</artifactId>
313     </plugin>
314     </plugins>
315     </build>
316    
317     <dependencyManagement>
318     <dependencies>
319    
320     <dependency>
321     <groupId>javax.jcr</groupId>
322     <artifactId>jcr</artifactId>
323     <version>${javax.jcr.version}</version>
324     <scope>provided</scope>
325     </dependency>
326    
327     <dependency>
328     <groupId>javax.servlet</groupId>
329     <artifactId>servlet-api</artifactId>
330     <version>${servlet-api.version}</version>
331     <scope>provided</scope>
332     </dependency>
333    
334     <dependency>
335     <groupId>org.slf4j</groupId>
336     <artifactId>slf4j-api</artifactId>
337     <version>${slf4j.version}</version>
338     <scope>provided</scope>
339     </dependency>
340    
341     <!-- forced test dependencies to exclude them from bundling -->
342     <dependency>
343     <groupId>xml-apis</groupId>
344     <artifactId>xml-apis</artifactId>
345     <version>1.0.b2</version>
346     <scope>test</scope>
347     </dependency>
348     <dependency>
349     <groupId>org.slf4j</groupId>
350     <artifactId>jcl-over-slf4j</artifactId>
351     <version>${slf4j.version}</version>
352     <scope>test</scope>
353     </dependency>
354     <dependency>
355     <groupId>org.slf4j</groupId>
356     <artifactId>slf4j-log4j12</artifactId>
357     <version>${slf4j.version}</version>
358     <scope>test</scope>
359     </dependency>
360     <dependency>
361     <groupId>log4j</groupId>
362     <artifactId>log4j</artifactId>
363     <version>${log4j.version}</version>
364     <scope>test</scope>
365     </dependency>
366     <dependency>
367     <groupId>commons-logging</groupId>
368     <artifactId>commons-logging</artifactId>
369     <version>1.1.1</version>
370     <scope>test</scope>
371     </dependency>
372     <dependency>
373     <groupId>commons-logging</groupId>
374     <artifactId>commons-logging-api</artifactId>
375     <version>1.1</version>
376     <scope>test</scope>
377     </dependency>
378    
379     </dependencies>
380     </dependencyManagement>
381    
382     <dependencies>
383    
384     <!-- shared dependencies -->
385     <dependency>
386     <groupId>javax.servlet</groupId>
387     <artifactId>servlet-api</artifactId>
388     </dependency>
389     <dependency>
390     <groupId>javax.jcr</groupId>
391     <artifactId>jcr</artifactId>
392     </dependency>
393     <dependency>
394     <groupId>org.slf4j</groupId>
395     <artifactId>slf4j-api</artifactId>
396     </dependency>
397    
398     <!-- forced test dependencies to exclude them from bundling -->
399     <dependency>
400     <groupId>commons-logging</groupId>
401     <artifactId>commons-logging</artifactId>
402     </dependency>
403     <dependency>
404     <groupId>commons-logging</groupId>
405     <artifactId>commons-logging-api</artifactId>
406     </dependency>
407     <dependency>
408     <groupId>xml-apis</groupId>
409     <artifactId>xml-apis</artifactId>
410     </dependency>
411     <dependency>
412     <groupId>org.slf4j</groupId>
413     <artifactId>slf4j-log4j12</artifactId>
414     </dependency>
415     <dependency>
416     <groupId>org.slf4j</groupId>
417     <artifactId>jcl-over-slf4j</artifactId>
418     </dependency>
419     <dependency>
420     <groupId>log4j</groupId>
421     <artifactId>log4j</artifactId>
422     </dependency>
423    
424     </dependencies>
425    
426     </project>

Properties

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