blob: 60c4ed69a78d307a8870e5b2c0bc8307a3c4cb11 [file] [log] [blame]
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -08003 Copyright (C) 2009-2010, Google Inc.
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -07004 and other copyright owners as documented in the project's IP log.
5
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
10
11 All rights reserved.
12
13 Redistribution and use in source and binary forms, with or
14 without modification, are permitted provided that the following
15 conditions are met:
16
17 - Redistributions of source code must retain the above copyright
18 notice, this list of conditions and the following disclaimer.
19
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.
24
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.
29
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-->
44
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>
49
50 <groupId>org.eclipse.jgit</groupId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -080051 <artifactId>org.eclipse.jgit-parent</artifactId>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -070052 <packaging>pom</packaging>
Shawn O. Pearce239ce582010-06-14 08:11:27 -070053 <version>0.9.0-SNAPSHOT</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -070054
55 <name>JGit - Parent</name>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -080056 <url>${jgit-url}</url>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -070057
58 <description>
59 Pure Java implementation of Git
60 </description>
61
62 <mailingLists>
63 <mailingList>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -080064 <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>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -070069 </mailingList>
70
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>
77
78 <issueManagement>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -080079 <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;component=JGit;product=JGit;classification=Technology</url>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -070080 <system>Bugzilla</system>
81 </issueManagement>
82
83 <licenses>
84 <license>
85 <name>Eclipse Distribution License (New BSD License)</name>
86 <comments>
87 All rights reserved.
88
89 Redistribution and use in source and binary forms, with or
90 without modification, are permitted provided that the following
91 conditions are met:
92
93 - Redistributions of source code must retain the above copyright
94 notice, this list of conditions and the following disclaimer.
95
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.
100
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.
105
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>
122
123 <properties>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800124 <jgit-url>http://www.eclipse.org/jgit/</jgit-url>
125 <jgit-copyright>Copyright (c) 2005, 2009 Shawn Pearce, Robin Rosenberg, et.al.</jgit-copyright>
126
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700127 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
128 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Igor Fedorenko96c7f752009-12-05 01:07:42 -0500129
Matthias Sohn407fe632010-01-23 01:03:37 +0100130 <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
131 <bundle-manifest>${project.build.directory}/META-INF/MANIFEST.MF</bundle-manifest>
132
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800133 <jsch-version>0.1.41</jsch-version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800134 <junit-version>3.8.2</junit-version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800135 <args4j-version>2.0.12</args4j-version>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800136 <servlet-api-version>2.5</servlet-api-version>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800137 <jetty-version>7.0.1.v20091125</jetty-version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700138 </properties>
139
140 <build>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800141 <pluginManagement>
142 <plugins>
143 <plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800144 <groupId>org.apache.maven.plugins</groupId>
Matthias Sohn02400552010-04-30 22:16:18 +0200145 <artifactId>maven-jar-plugin</artifactId>
146 <version>2.3</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800147 <configuration>
148 <archive>
149 <manifestEntries>
150 <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
151 <Implementation-Version>${project.version}</Implementation-Version>
152 <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
153 <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
154 <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
155 </manifestEntries>
156 </archive>
157 </configuration>
158 </plugin>
159
160 <plugin>
161 <artifactId>maven-compiler-plugin</artifactId>
162 <version>2.0.2</version>
163 </plugin>
164
165 <plugin>
166 <artifactId>maven-clean-plugin</artifactId>
167 <version>2.2</version>
168 </plugin>
169
170 <plugin>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-shade-plugin</artifactId>
173 <version>1.2</version>
174 </plugin>
175
176 <plugin>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-antrun-plugin</artifactId>
179 <version>1.3</version>
180 </plugin>
181
182 <plugin>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-dependency-plugin</artifactId>
185 <version>2.1</version>
186 </plugin>
187
188 <plugin>
Matthias Sohn02400552010-04-30 22:16:18 +0200189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-source-plugin</artifactId>
191 <version>2.1.1</version>
192 </plugin>
193
194 <plugin>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-javadoc-plugin</artifactId>
Jonathan Gossage04eb1ca2010-05-11 18:06:28 -0500197 <version>2.7</version>
Matthias Sohn02400552010-04-30 22:16:18 +0200198 </plugin>
199
200 <plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800201 <groupId>org.codehaus.mojo</groupId>
202 <artifactId>build-helper-maven-plugin</artifactId>
203 <version>1.3</version>
204 </plugin>
205 </plugins>
206 </pluginManagement>
207
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700208 <plugins>
209 <plugin>
210 <artifactId>maven-compiler-plugin</artifactId>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700211 <configuration>
212 <source>1.5</source>
213 <target>1.5</target>
214 <encoding>UTF-8</encoding>
215 </configuration>
216 </plugin>
217
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
Matthias Sohn407fe632010-01-23 01:03:37 +0100220 <artifactId>maven-antrun-plugin</artifactId>
221 <executions>
222 <execution>
223 <id>translate-qualifier</id>
224 <phase>generate-resources</phase>
225 <configuration>
226 <tasks unless="${translate-qualifier}">
227 <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
228 <replace file="${bundle-manifest}">
229 <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
230 </replace>
231 </tasks>
232 </configuration>
233 <goals>
234 <goal>run</goal>
235 </goals>
236 </execution>
237 </executions>
238 </plugin>
239
240 <plugin>
241 <groupId>org.apache.maven.plugins</groupId>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700242 <artifactId>maven-source-plugin</artifactId>
243 <executions>
244 <execution>
245 <id>attach-sources</id>
246 <goals>
247 <goal>jar</goal>
248 </goals>
249 </execution>
250 </executions>
251 </plugin>
252
253 <plugin>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-javadoc-plugin</artifactId>
256 <configuration>
257 <encoding>${project.build.sourceEncoding}</encoding>
258 <quiet>true</quiet>
259 <links>
260 <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
261 </links>
262 </configuration>
263 <executions>
264 <execution>
265 <id>attach-javadocs</id>
266 <goals>
267 <goal>jar</goal>
268 </goals>
269 </execution>
270 </executions>
271 </plugin>
272 </plugins>
273 </build>
274
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700275 <dependencyManagement>
276 <dependencies>
277 <dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700278 <groupId>com.jcraft</groupId>
279 <artifactId>jsch</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800280 <version>${jsch-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700281 </dependency>
282
283 <dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700284 <groupId>args4j</groupId>
285 <artifactId>args4j</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800286 <version>${args4j-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700287 </dependency>
288
289 <dependency>
290 <groupId>junit</groupId>
291 <artifactId>junit</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800292 <version>${junit-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700293 </dependency>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800294
295 <dependency>
296 <groupId>javax.servlet</groupId>
297 <artifactId>servlet-api</artifactId>
298 <version>${servlet-api-version}</version>
299 </dependency>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800300
301 <dependency>
302 <groupId>org.eclipse.jetty</groupId>
303 <artifactId>jetty-servlet</artifactId>
304 <version>${jetty-version}</version>
305 </dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700306 </dependencies>
307 </dependencyManagement>
308
309 <distributionManagement>
310 <snapshotRepository>
311 <id>jgit-maven-snapshot</id>
312 <name>JGit Maven Repository</name>
313 <url>dav:https://egit.googlecode.com/svn/maven/</url>
314 <uniqueVersion>true</uniqueVersion>
315 </snapshotRepository>
316 </distributionManagement>
317
Shawn O. Pearce7e8dc532009-10-31 19:39:18 -0700318 <profiles>
319 <!-- Set -Djgit.java6.skip=true to compile with only Java 5 -->
320 <profile>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800321 <id>jgit.java6</id>
Shawn O. Pearce7e8dc532009-10-31 19:39:18 -0700322 <activation>
323 <property>
324 <name>!jgit.java6.skip</name>
325 </property>
326 </activation>
327 <modules>
328 <module>org.eclipse.jgit.console</module>
329 </modules>
330 </profile>
331 </profiles>
332
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700333 <modules>
334 <module>org.eclipse.jgit</module>
335 <module>org.eclipse.jgit.ui</module>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800336 <module>org.eclipse.jgit.http.server</module>
Shawn O. Pearce1e48c332010-01-28 11:13:11 -0800337 <module>org.eclipse.jgit.iplog</module>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700338 <module>org.eclipse.jgit.pgm</module>
Shawn O. Pearce49aac322009-10-02 18:08:56 -0700339 <module>org.eclipse.jgit.junit</module>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800340
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700341 <module>org.eclipse.jgit.test</module>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800342 <module>org.eclipse.jgit.http.test</module>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700343 </modules>
344</project>