Qualify post-0.7.1 builds
[jgit.git] / pom.xml
blobb13cc5b449a7e542a472b361cd318893b6236880
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright (C) 2009-2010, Google Inc.
4    and other copyright owners as documented in the project's IP log.
6    This program and the accompanying materials are made available
7    under the terms of the Eclipse Distribution License v1.0 which
8    accompanies this distribution, is reproduced below, and is
9    available at http://www.eclipse.org/org/documents/edl-v10.php
11    All rights reserved.
13    Redistribution and use in source and binary forms, with or
14    without modification, are permitted provided that the following
15    conditions are met:
17    - Redistributions of source code must retain the above copyright
18      notice, this list of conditions and the following disclaimer.
20    - Redistributions in binary form must reproduce the above
21      copyright notice, this list of conditions and the following
22      disclaimer in the documentation and/or other materials provided
23      with the distribution.
25    - Neither the name of the Eclipse Foundation, Inc. nor the
26      names of its contributors may be used to endorse or promote
27      products derived from this software without specific prior
28      written permission.
30    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
31    CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
32    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
33    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34    ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
35    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
36    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
37    NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
42    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43 -->
45 <project xmlns="http://maven.apache.org/POM/4.0.0"
46     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
47     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
48   <modelVersion>4.0.0</modelVersion>
50   <groupId>org.eclipse.jgit</groupId>
51   <artifactId>org.eclipse.jgit-parent</artifactId>
52   <packaging>pom</packaging>
53   <version>0.7.1-SNAPSHOT</version>
55   <name>JGit - Parent</name>
56   <url>${jgit-url}</url>
58   <description>
59     Pure Java implementation of Git
60   </description>
62   <mailingLists>
63     <mailingList>
64       <name>jgit-dev Mailing List</name>
65       <post>jgit-dev@eclipse.org</post>
66       <subscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</subscribe>
67       <unsubscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</unsubscribe>
68       <archive>http://dev.eclipse.org/mhonarc/lists/jgit-dev</archive>
69     </mailingList>
71     <mailingList>
72       <name>GIT Mailing List</name>
73       <post>git@vger.kernel.org</post>
74       <archive>http://marc.info/?l=git</archive>
75     </mailingList>
76   </mailingLists>
78   <issueManagement>
79     <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;component=JGit;product=JGit;classification=Technology</url>
80     <system>Bugzilla</system>
81   </issueManagement>
83   <licenses>
84     <license>
85       <name>Eclipse Distribution License (New BSD License)</name>
86       <comments>
87        All rights reserved.
89        Redistribution and use in source and binary forms, with or
90        without modification, are permitted provided that the following
91        conditions are met:
93        - Redistributions of source code must retain the above copyright
94          notice, this list of conditions and the following disclaimer.
96        - Redistributions in binary form must reproduce the above
97          copyright notice, this list of conditions and the following
98          disclaimer in the documentation and/or other materials provided
99          with the distribution.
101        - Neither the name of the Eclipse Foundation, Inc. nor the
102          names of its contributors may be used to endorse or promote
103          products derived from this software without specific prior
104          written permission.
106        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
107        CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
108        INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
109        OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
110        ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
111        CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
112        SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
113        NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
114        LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
115        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
116        STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
117        ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
118        ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
119       </comments>
120     </license>
121   </licenses>
123   <properties>
124     <jgit-url>http://www.eclipse.org/jgit/</jgit-url>
125     <jgit-copyright>Copyright (c) 2005, 2009 Shawn Pearce, Robin Rosenberg, et.al.</jgit-copyright>
127     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
128     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
130     <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
131     <bundle-manifest>${project.build.directory}/META-INF/MANIFEST.MF</bundle-manifest>
133     <jsch-version>0.1.41</jsch-version>
134     <junit-version>3.8.2</junit-version>
135     <args4j-version>2.0.12</args4j-version>
136     <servlet-api-version>2.5</servlet-api-version>
137     <jetty-version>7.0.1.v20091125</jetty-version>
138   </properties>
140   <build>
141     <pluginManagement>
142       <plugins>
143         <plugin>
144           <groupId>org.apache.maven.plugins</groupId>
145           <artifactId>maven-jar-plugin</artifactId>
146           <configuration>
147             <archive>
148               <manifestEntries>
149                 <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
150                 <Implementation-Version>${project.version}</Implementation-Version>
151                 <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
152                 <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
153                 <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
154               </manifestEntries>
155             </archive>
156           </configuration>
157         </plugin>
159         <plugin>
160           <artifactId>maven-compiler-plugin</artifactId>
161           <version>2.0.2</version>
162         </plugin>
164         <plugin>
165           <artifactId>maven-clean-plugin</artifactId>
166           <version>2.2</version>
167         </plugin>
169         <plugin>
170           <groupId>org.apache.maven.plugins</groupId>
171           <artifactId>maven-shade-plugin</artifactId>
172           <version>1.2</version>
173         </plugin>
175         <plugin>
176           <groupId>org.apache.maven.plugins</groupId>
177           <artifactId>maven-antrun-plugin</artifactId>
178           <version>1.3</version>
179         </plugin>
181         <plugin>
182           <groupId>org.apache.maven.plugins</groupId>
183           <artifactId>maven-dependency-plugin</artifactId>
184           <version>2.1</version>
185         </plugin>
187         <plugin>
188           <groupId>org.codehaus.mojo</groupId>
189           <artifactId>build-helper-maven-plugin</artifactId>
190           <version>1.3</version>
191         </plugin>
192       </plugins>
193     </pluginManagement>
195     <plugins>
196       <plugin>
197         <artifactId>maven-compiler-plugin</artifactId>
198         <configuration>
199           <source>1.5</source>
200           <target>1.5</target>
201           <encoding>UTF-8</encoding>
202         </configuration>
203       </plugin>
205       <plugin>
206         <groupId>org.apache.maven.plugins</groupId>
207         <artifactId>maven-antrun-plugin</artifactId>
208         <executions>
209           <execution>
210             <id>translate-qualifier</id>
211             <phase>generate-resources</phase>
212             <configuration>
213               <tasks unless="${translate-qualifier}">
214                 <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
215                 <replace file="${bundle-manifest}">
216                   <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
217                 </replace>
218               </tasks>
219             </configuration>
220             <goals>
221               <goal>run</goal>
222             </goals>
223           </execution>
224         </executions>
225       </plugin>
227       <plugin>
228         <groupId>org.apache.maven.plugins</groupId>
229         <artifactId>maven-source-plugin</artifactId>
230         <executions>
231           <execution>
232             <id>attach-sources</id>
233             <goals>
234               <goal>jar</goal>
235             </goals>
236           </execution>
237         </executions>
238       </plugin>
240       <plugin>
241         <groupId>org.apache.maven.plugins</groupId>
242         <artifactId>maven-javadoc-plugin</artifactId>
243         <configuration>
244           <encoding>${project.build.sourceEncoding}</encoding>
245           <quiet>true</quiet>
246           <links>
247             <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
248           </links>
249         </configuration>
250         <executions>
251           <execution>
252             <id>attach-javadocs</id>
253             <goals>
254               <goal>jar</goal>
255             </goals>
256           </execution>
257         </executions>
258       </plugin>
259     </plugins>
260   </build>
262   <dependencyManagement>
263     <dependencies>
264       <dependency>
265         <groupId>com.jcraft</groupId>
266         <artifactId>jsch</artifactId>
267         <version>${jsch-version}</version>
268       </dependency>
270       <dependency>
271         <groupId>args4j</groupId>
272         <artifactId>args4j</artifactId>
273         <version>${args4j-version}</version>
274       </dependency>
276       <dependency>
277         <groupId>junit</groupId>
278         <artifactId>junit</artifactId>
279         <version>${junit-version}</version>
280       </dependency>
282       <dependency>
283         <groupId>javax.servlet</groupId>
284         <artifactId>servlet-api</artifactId>
285         <version>${servlet-api-version}</version>
286       </dependency>
288       <dependency>
289         <groupId>org.eclipse.jetty</groupId>
290         <artifactId>jetty-servlet</artifactId>
291         <version>${jetty-version}</version>
292       </dependency>
293     </dependencies>
294   </dependencyManagement>
296   <distributionManagement>
297     <snapshotRepository>
298       <id>jgit-maven-snapshot</id>
299       <name>JGit Maven Repository</name>
300       <url>dav:https://egit.googlecode.com/svn/maven/</url>
301       <uniqueVersion>true</uniqueVersion>
302     </snapshotRepository>
303   </distributionManagement>
305   <profiles>
306     <!-- Set -Djgit.java6.skip=true to compile with only Java 5 -->
307     <profile>
308       <id>jgit.java6</id>
309       <activation>
310         <property>
311           <name>!jgit.java6.skip</name>
312         </property>
313       </activation>
314       <modules>
315         <module>org.eclipse.jgit.console</module>
316       </modules>
317     </profile>
318   </profiles>
320   <modules>
321     <module>org.eclipse.jgit</module>
322     <module>org.eclipse.jgit.ui</module>
323     <module>org.eclipse.jgit.http.server</module>
324     <module>org.eclipse.jgit.iplog</module>
325     <module>org.eclipse.jgit.pgm</module>
326     <module>org.eclipse.jgit.junit</module>
328     <module>org.eclipse.jgit.test</module>
329     <module>org.eclipse.jgit.http.test</module>
330   </modules>
331 </project>