Merge "Check for remote server exec failures and report"
[jgit.git] / pom.xml
blob42630d5e692d6fffc63910f039db776480e36f86
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.6.0-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-CQ>CQ 3493</jsch-CQ>
134     <jsch-version>0.1.41</jsch-version>
136     <junit-CQ>CQ 3589</junit-CQ>
137     <junit-version>3.8.2</junit-version>
139     <args4j-CQ>CQ 3454</args4j-CQ>
140     <args4j-version>2.0.12</args4j-version>
142     <servlet-api-CQ>CQ 3565</servlet-api-CQ>
143     <servlet-api-version>2.5</servlet-api-version>
145     <jetty-version>7.0.1.v20091125</jetty-version>
146   </properties>
148   <build>
149     <pluginManagement>
150       <plugins>
151         <plugin>
152           <groupId>org.apache.maven.plugins</groupId>
153           <artifactId>maven-jar-plugin</artifactId>
154           <configuration>
155             <archive>
156               <manifestEntries>
157                 <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
158                 <Implementation-Version>${project.version}</Implementation-Version>
159                 <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
160                 <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
161                 <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
162               </manifestEntries>
163             </archive>
164           </configuration>
165         </plugin>
167         <plugin>
168           <artifactId>maven-compiler-plugin</artifactId>
169           <version>2.0.2</version>
170         </plugin>
172         <plugin>
173           <artifactId>maven-clean-plugin</artifactId>
174           <version>2.2</version>
175         </plugin>
177         <plugin>
178           <groupId>org.apache.maven.plugins</groupId>
179           <artifactId>maven-shade-plugin</artifactId>
180           <version>1.2</version>
181         </plugin>
183         <plugin>
184           <groupId>org.apache.maven.plugins</groupId>
185           <artifactId>maven-antrun-plugin</artifactId>
186           <version>1.3</version>
187         </plugin>
189         <plugin>
190           <groupId>org.apache.maven.plugins</groupId>
191           <artifactId>maven-dependency-plugin</artifactId>
192           <version>2.1</version>
193         </plugin>
195         <plugin>
196           <groupId>org.codehaus.mojo</groupId>
197           <artifactId>build-helper-maven-plugin</artifactId>
198           <version>1.3</version>
199         </plugin>
200       </plugins>
201     </pluginManagement>
203     <plugins>
204       <plugin>
205         <artifactId>maven-compiler-plugin</artifactId>
206         <configuration>
207           <source>1.5</source>
208           <target>1.5</target>
209           <encoding>UTF-8</encoding>
210         </configuration>
211       </plugin>
213       <plugin>
214         <groupId>org.apache.maven.plugins</groupId>
215         <artifactId>maven-antrun-plugin</artifactId>
216         <executions>
217           <execution>
218             <id>translate-qualifier</id>
219             <phase>generate-resources</phase>
220             <configuration>
221               <tasks unless="${translate-qualifier}">
222                 <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
223                 <replace file="${bundle-manifest}">
224                   <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
225                 </replace>
226               </tasks>
227             </configuration>
228             <goals>
229               <goal>run</goal>
230             </goals>
231           </execution>
232         </executions>
233       </plugin>
235       <plugin>
236         <groupId>org.apache.maven.plugins</groupId>
237         <artifactId>maven-source-plugin</artifactId>
238         <executions>
239           <execution>
240             <id>attach-sources</id>
241             <goals>
242               <goal>jar</goal>
243             </goals>
244           </execution>
245         </executions>
246       </plugin>
248       <plugin>
249         <groupId>org.apache.maven.plugins</groupId>
250         <artifactId>maven-javadoc-plugin</artifactId>
251         <configuration>
252           <encoding>${project.build.sourceEncoding}</encoding>
253           <quiet>true</quiet>
254           <links>
255             <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
256           </links>
257         </configuration>
258         <executions>
259           <execution>
260             <id>attach-javadocs</id>
261             <goals>
262               <goal>jar</goal>
263             </goals>
264           </execution>
265         </executions>
266       </plugin>
267     </plugins>
268   </build>
270   <dependencyManagement>
271     <dependencies>
272       <dependency>
273         <groupId>com.jcraft</groupId>
274         <artifactId>jsch</artifactId>
275         <version>${jsch-version}</version>
276       </dependency>
278       <dependency>
279         <groupId>args4j</groupId>
280         <artifactId>args4j</artifactId>
281         <version>${args4j-version}</version>
282       </dependency>
284       <dependency>
285         <groupId>junit</groupId>
286         <artifactId>junit</artifactId>
287         <version>${junit-version}</version>
288       </dependency>
290       <dependency>
291         <groupId>javax.servlet</groupId>
292         <artifactId>servlet-api</artifactId>
293         <version>${servlet-api-version}</version>
294       </dependency>
296       <dependency>
297         <groupId>org.eclipse.jetty</groupId>
298         <artifactId>jetty-servlet</artifactId>
299         <version>${jetty-version}</version>
300       </dependency>
301     </dependencies>
302   </dependencyManagement>
304   <distributionManagement>
305     <snapshotRepository>
306       <id>jgit-maven-snapshot</id>
307       <name>JGit Maven Repository</name>
308       <url>dav:https://egit.googlecode.com/svn/maven/</url>
309       <uniqueVersion>true</uniqueVersion>
310     </snapshotRepository>
311   </distributionManagement>
313   <profiles>
314     <!-- Set -Djgit.java6.skip=true to compile with only Java 5 -->
315     <profile>
316       <id>jgit.java6</id>
317       <activation>
318         <property>
319           <name>!jgit.java6.skip</name>
320         </property>
321       </activation>
322       <modules>
323         <module>org.eclipse.jgit.console</module>
324       </modules>
325     </profile>
326   </profiles>
328   <modules>
329     <module>org.eclipse.jgit</module>
330     <module>org.eclipse.jgit.ui</module>
331     <module>org.eclipse.jgit.http.server</module>
332     <module>org.eclipse.jgit.pgm</module>
333     <module>org.eclipse.jgit.junit</module>
335     <module>org.eclipse.jgit.test</module>
336     <module>org.eclipse.jgit.http.test</module>
337   </modules>
338 </project>