blob: a6c76e5b310099180c304c1367cf3ae2485549cb [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. Pearce4b5d3d22010-09-16 17:26:53 -070053 <version>0.10.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
Chris Aniszczyk241ab222010-10-14 09:26:46 -0700140 <pluginRepositories>
141 <pluginRepository>
142 <!-- need maven-findbugs-2.3.2-SNAPSHOT, see
143 http://jira.codehaus.org/browse/MFINDBUGS-122
144 remove this when this version is released -->
145 <id>codehaus.snapshots</id>
146 <url>http://snapshots.repository.codehaus.org/</url>
147 </pluginRepository>
148 </pluginRepositories>
149
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700150 <build>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800151 <pluginManagement>
152 <plugins>
153 <plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800154 <groupId>org.apache.maven.plugins</groupId>
Matthias Sohn02400552010-04-30 22:16:18 +0200155 <artifactId>maven-jar-plugin</artifactId>
156 <version>2.3</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800157 <configuration>
158 <archive>
159 <manifestEntries>
160 <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
161 <Implementation-Version>${project.version}</Implementation-Version>
162 <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
163 <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
164 <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
165 </manifestEntries>
166 </archive>
167 </configuration>
168 </plugin>
169
170 <plugin>
171 <artifactId>maven-compiler-plugin</artifactId>
172 <version>2.0.2</version>
173 </plugin>
174
175 <plugin>
176 <artifactId>maven-clean-plugin</artifactId>
177 <version>2.2</version>
178 </plugin>
179
180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-shade-plugin</artifactId>
183 <version>1.2</version>
184 </plugin>
185
186 <plugin>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-antrun-plugin</artifactId>
189 <version>1.3</version>
190 </plugin>
191
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-dependency-plugin</artifactId>
195 <version>2.1</version>
196 </plugin>
197
198 <plugin>
Matthias Sohn02400552010-04-30 22:16:18 +0200199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-source-plugin</artifactId>
201 <version>2.1.1</version>
202 </plugin>
203
Matthias Sohnf8eb7e12010-10-13 15:26:33 +0200204 <plugin>
Matthias Sohn02400552010-04-30 22:16:18 +0200205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-javadoc-plugin</artifactId>
Matthias Sohnf8eb7e12010-10-13 15:26:33 +0200207 <version>2.7</version>
Matthias Sohn02400552010-04-30 22:16:18 +0200208 </plugin>
209
210 <plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800211 <groupId>org.codehaus.mojo</groupId>
212 <artifactId>build-helper-maven-plugin</artifactId>
Matthias Sohn51f6fbd2010-08-31 02:35:08 +0200213 <version>1.5</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800214 </plugin>
Chris Aniszczyk241ab222010-10-14 09:26:46 -0700215
216 <plugin>
217 <!-- need maven-findbugs-2.3.2-SNAPSHOT, see
218 http://jira.codehaus.org/browse/MFINDBUGS-122
219 switch to released version when available -->
220 <groupId>org.codehaus.mojo</groupId>
221 <artifactId>findbugs-maven-plugin</artifactId>
222 <version>2.3.2-SNAPSHOT</version>
223 </plugin>
224
225 <plugin>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-pmd-plugin</artifactId>
228 <version>2.5</version>
229 </plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800230 </plugins>
231 </pluginManagement>
232
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700233 <plugins>
234 <plugin>
235 <artifactId>maven-compiler-plugin</artifactId>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700236 <configuration>
237 <source>1.5</source>
238 <target>1.5</target>
239 <encoding>UTF-8</encoding>
240 </configuration>
241 </plugin>
242
243 <plugin>
244 <groupId>org.apache.maven.plugins</groupId>
Matthias Sohn407fe632010-01-23 01:03:37 +0100245 <artifactId>maven-antrun-plugin</artifactId>
246 <executions>
247 <execution>
248 <id>translate-qualifier</id>
249 <phase>generate-resources</phase>
250 <configuration>
Matthias Sohnf8eb7e12010-10-13 15:26:33 +0200251 <tasks unless="${translate-qualifier}">
252 <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
253 <replace file="${bundle-manifest}">
254 <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
255 </replace>
256 </tasks>
Matthias Sohn407fe632010-01-23 01:03:37 +0100257 </configuration>
258 <goals>
259 <goal>run</goal>
260 </goals>
261 </execution>
262 </executions>
263 </plugin>
264
Matthias Sohn51f6fbd2010-08-31 02:35:08 +0200265 <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property -->
266 <plugin>
267 <groupId>org.codehaus.mojo</groupId>
268 <artifactId>build-helper-maven-plugin</artifactId>
269 <executions>
270 <execution>
271 <id>set-osgi-version</id>
272 <phase>validate</phase>
273 <goals>
274 <goal>parse-version</goal>
275 </goals>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700276 </execution>
277 </executions>
278 </plugin>
279
280 <plugin>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-javadoc-plugin</artifactId>
283 <configuration>
284 <encoding>${project.build.sourceEncoding}</encoding>
285 <quiet>true</quiet>
286 <links>
287 <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
288 </links>
289 </configuration>
290 <executions>
291 <execution>
292 <id>attach-javadocs</id>
293 <goals>
294 <goal>jar</goal>
295 </goals>
296 </execution>
297 </executions>
298 </plugin>
299 </plugins>
300 </build>
301
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700302 <dependencyManagement>
303 <dependencies>
304 <dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700305 <groupId>com.jcraft</groupId>
306 <artifactId>jsch</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800307 <version>${jsch-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700308 </dependency>
309
310 <dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700311 <groupId>args4j</groupId>
312 <artifactId>args4j</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800313 <version>${args4j-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700314 </dependency>
315
316 <dependency>
317 <groupId>junit</groupId>
318 <artifactId>junit</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800319 <version>${junit-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700320 </dependency>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800321
322 <dependency>
323 <groupId>javax.servlet</groupId>
324 <artifactId>servlet-api</artifactId>
325 <version>${servlet-api-version}</version>
326 </dependency>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800327
328 <dependency>
329 <groupId>org.eclipse.jetty</groupId>
330 <artifactId>jetty-servlet</artifactId>
331 <version>${jetty-version}</version>
332 </dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700333 </dependencies>
334 </dependencyManagement>
335
336 <distributionManagement>
337 <snapshotRepository>
338 <id>jgit-maven-snapshot</id>
339 <name>JGit Maven Repository</name>
340 <url>dav:https://egit.googlecode.com/svn/maven/</url>
341 <uniqueVersion>true</uniqueVersion>
342 </snapshotRepository>
343 </distributionManagement>
344
Shawn O. Pearce7e8dc532009-10-31 19:39:18 -0700345 <profiles>
346 <!-- Set -Djgit.java6.skip=true to compile with only Java 5 -->
347 <profile>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800348 <id>jgit.java6</id>
Shawn O. Pearce7e8dc532009-10-31 19:39:18 -0700349 <activation>
350 <property>
351 <name>!jgit.java6.skip</name>
352 </property>
353 </activation>
354 <modules>
355 <module>org.eclipse.jgit.console</module>
356 </modules>
357 </profile>
358 </profiles>
359
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700360 <modules>
361 <module>org.eclipse.jgit</module>
362 <module>org.eclipse.jgit.ui</module>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800363 <module>org.eclipse.jgit.http.server</module>
Shawn O. Pearce1e48c332010-01-28 11:13:11 -0800364 <module>org.eclipse.jgit.iplog</module>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700365 <module>org.eclipse.jgit.pgm</module>
Shawn O. Pearce49aac322009-10-02 18:08:56 -0700366 <module>org.eclipse.jgit.junit</module>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800367
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700368 <module>org.eclipse.jgit.test</module>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800369 <module>org.eclipse.jgit.http.test</module>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700370 </modules>
371</project>