blob: af26c741d2fa6b0afd62bb7b0806c68c0ca32a8e [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.
Matthias Sohn49740902012-06-12 00:17:55 +02004 Copyright (C) 2012, Matthias Sohn <matthias.sohn@sap.com>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -07005 and other copyright owners as documented in the project's IP log.
6
7 This program and the accompanying materials are made available
8 under the terms of the Eclipse Distribution License v1.0 which
9 accompanies this distribution, is reproduced below, and is
10 available at http://www.eclipse.org/org/documents/edl-v10.php
11
12 All rights reserved.
13
14 Redistribution and use in source and binary forms, with or
15 without modification, are permitted provided that the following
16 conditions are met:
17
18 - Redistributions of source code must retain the above copyright
19 notice, this list of conditions and the following disclaimer.
20
21 - Redistributions in binary form must reproduce the above
22 copyright notice, this list of conditions and the following
23 disclaimer in the documentation and/or other materials provided
24 with the distribution.
25
26 - Neither the name of the Eclipse Foundation, Inc. nor the
27 names of its contributors may be used to endorse or promote
28 products derived from this software without specific prior
29 written permission.
30
31 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
32 CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
33 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
34 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
35 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
36 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
37 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
38 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
39 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
40 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
41 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
42 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
43 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
44-->
45
46<project xmlns="http://maven.apache.org/POM/4.0.0"
47 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
48 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
49 <modelVersion>4.0.0</modelVersion>
50
51 <groupId>org.eclipse.jgit</groupId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -080052 <artifactId>org.eclipse.jgit-parent</artifactId>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -070053 <packaging>pom</packaging>
Matthias Sohnd0f1f5e2018-03-08 23:09:18 +010054 <version>5.0.0-SNAPSHOT</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -070055
56 <name>JGit - Parent</name>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -080057 <url>${jgit-url}</url>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -070058
Matthias Sohn6fc5af42015-05-29 14:39:33 +020059 <organization>
60 <name>Eclipse JGit Project</name>
61 <url>http://www.eclipse.org/jgit</url>
62 </organization>
63
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -070064 <description>
65 Pure Java implementation of Git
66 </description>
67
Kevin Sawicki2fa5bcd2012-01-23 09:19:18 -080068 <scm>
Matthias Sohn6fc5af42015-05-29 14:39:33 +020069 <url>http://git.eclipse.org/c/jgit/jgit.git/</url>
70 <connection>scm:git:https://git.eclipse.org/r/jgit/jgit</connection>
Kevin Sawicki2fa5bcd2012-01-23 09:19:18 -080071 </scm>
72
Matthias Sohn6fc5af42015-05-29 14:39:33 +020073 <ciManagement>
74 <system>hudson</system>
75 <url>https://hudson.eclipse.org/jgit/</url>
76 </ciManagement>
77
Kevin Sawicki11ab19a2012-01-25 09:01:55 -080078 <developers>
79 <developer>
80 <name>Chris Aniszczyk</name>
81 </developer>
82 <developer>
83 <name>Christian Halstrick</name>
84 </developer>
85 <developer>
Matthias Sohn35d47492013-01-16 00:20:12 +010086 <name>Colby Ranger</name>
87 </developer>
88 <developer>
89 <name>Dave Borowitz</name>
90 </developer>
91 <developer>
David Pursehoused20363b2018-01-10 16:15:34 +090092 <name>David Pursehouse</name>
93 </developer>
94 <developer>
Kevin Sawicki11ab19a2012-01-25 09:01:55 -080095 <name>Gunnar Wagenknecht</name>
96 </developer>
97 <developer>
Matthias Sohn6fc5af42015-05-29 14:39:33 +020098 <name>Jonathan Nieder</name>
99 </developer>
100 <developer>
Kevin Sawicki11ab19a2012-01-25 09:01:55 -0800101 <name>Kevin Sawicki</name>
102 </developer>
103 <developer>
104 <name>Mathias Kinzler</name>
105 </developer>
106 <developer>
107 <name>Matthias Sohn</name>
108 </developer>
109 <developer>
110 <name>Robin Rosenberg</name>
111 </developer>
112 <developer>
Matthias Sohn6fc5af42015-05-29 14:39:33 +0200113 <name>Robin Stocker</name>
114 </developer>
115 <developer>
Kevin Sawicki11ab19a2012-01-25 09:01:55 -0800116 <name>Sasa Zivkov</name>
117 </developer>
118 <developer>
119 <name>Shawn Pearce</name>
120 </developer>
121 <developer>
122 <name>Stefan Lay</name>
123 </developer>
David Pursehoused20363b2018-01-10 16:15:34 +0900124 <developer>
125 <name>Thomas Wolf</name>
126 </developer>
Kevin Sawicki11ab19a2012-01-25 09:01:55 -0800127 </developers>
128
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700129 <mailingLists>
130 <mailingList>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800131 <name>jgit-dev Mailing List</name>
132 <post>jgit-dev@eclipse.org</post>
133 <subscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</subscribe>
134 <unsubscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</unsubscribe>
135 <archive>http://dev.eclipse.org/mhonarc/lists/jgit-dev</archive>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700136 </mailingList>
137
138 <mailingList>
139 <name>GIT Mailing List</name>
140 <post>git@vger.kernel.org</post>
141 <archive>http://marc.info/?l=git</archive>
142 </mailingList>
143 </mailingLists>
144
145 <issueManagement>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800146 <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 -0700147 <system>Bugzilla</system>
148 </issueManagement>
149
150 <licenses>
151 <license>
152 <name>Eclipse Distribution License (New BSD License)</name>
153 <comments>
154 All rights reserved.
155
156 Redistribution and use in source and binary forms, with or
157 without modification, are permitted provided that the following
158 conditions are met:
159
160 - Redistributions of source code must retain the above copyright
161 notice, this list of conditions and the following disclaimer.
162
163 - Redistributions in binary form must reproduce the above
164 copyright notice, this list of conditions and the following
165 disclaimer in the documentation and/or other materials provided
166 with the distribution.
167
168 - Neither the name of the Eclipse Foundation, Inc. nor the
169 names of its contributors may be used to endorse or promote
170 products derived from this software without specific prior
171 written permission.
172
173 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
174 CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
175 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
176 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
177 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
178 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
179 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
180 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
181 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
182 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
183 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
184 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
185 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
186 </comments>
187 </license>
188 </licenses>
189
190 <properties>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800191 <jgit-url>http://www.eclipse.org/jgit/</jgit-url>
192 <jgit-copyright>Copyright (c) 2005, 2009 Shawn Pearce, Robin Rosenberg, et.al.</jgit-copyright>
Matthias Sohndf827272014-09-25 11:18:53 +0200193 <jgit.website.url>scp://build.eclipse.org/home/data/httpd/download.eclipse.org/jgit/site/${project.version}/</jgit.website.url>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800194
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700195 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
196 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Matthias Sohn407fe632010-01-23 01:03:37 +0100197 <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
198 <bundle-manifest>${project.build.directory}/META-INF/MANIFEST.MF</bundle-manifest>
199
Matthias Sohnf389e182018-03-08 21:10:08 +0100200 <jgit-last-release-version>4.11.0.201803080745-r</jgit-last-release-version>
Matthias Sohn9b2b4992017-03-09 12:39:43 +0100201 <jsch-version>0.1.54</jsch-version>
Matthias Sohncdc88242018-01-03 01:09:57 +0100202 <jzlib-version>1.1.1</jzlib-version>
Dave Borowitz5bb434e2016-07-20 10:16:26 -0400203 <javaewah-version>1.1.6</javaewah-version>
Matthias Sohne8705a62016-04-04 11:12:21 +0200204 <junit-version>4.12</junit-version>
Matthias Sohnd8466102014-08-04 01:04:26 +0200205 <test-fork-count>1C</test-fork-count>
Matthias Sohn3af57b52016-08-22 10:25:30 +0200206 <args4j-version>2.33</args4j-version>
David Pursehouse13ba5922018-01-15 09:45:38 +0900207 <commons-compress-version>1.15</commons-compress-version>
Jonathan Niedera544ff72013-05-24 16:57:10 -0700208 <osgi-core-version>4.3.1</osgi-core-version>
Matthias Sohnce8baa32015-06-01 11:37:38 +0200209 <servlet-api-version>3.1.0</servlet-api-version>
Matthias Sohnb181f3e2017-11-29 23:09:17 +0100210 <jetty-version>9.4.8.v20171121</jetty-version>
Matthias Sohnabc407d2017-12-26 23:27:17 +0100211 <japicmp-version>0.11.0</japicmp-version>
Matthias Sohne1fb47b2017-12-03 11:04:41 +0100212 <httpclient-version>4.5.2</httpclient-version>
213 <httpcore-version>4.4.6</httpcore-version>
Matthias Sohnc18694e2015-02-09 21:54:58 +0100214 <slf4j-version>1.7.2</slf4j-version>
Matthias Sohna8743df2015-02-10 11:58:19 +0100215 <log4j-version>1.2.15</log4j-version>
David Pursehousec1d37ca2017-12-13 10:35:23 +0900216 <maven-javadoc-plugin-version>3.0.0</maven-javadoc-plugin-version>
Michael Kepplerbeacbe32018-02-23 09:14:05 +0100217 <tycho-extras-version>1.1.0</tycho-extras-version>
David Pursehousef3bb0e22017-12-21 20:01:00 +0900218 <gson-version>2.8.2</gson-version>
David Pursehouse0e188c52018-02-28 11:25:30 +0900219 <spotbugs-maven-plugin-version>3.1.2</spotbugs-maven-plugin-version>
David Pursehouse0e6728b2017-12-13 10:36:56 +0900220 <maven-surefire-report-plugin-version>2.20.1</maven-surefire-report-plugin-version>
Matthias Sohn2d579ff2013-02-25 01:10:40 +0100221
222 <!-- Properties to enable jacoco code coverage analysis -->
223 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
224 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
225 <sonar.jacoco.reportPath>../target/jacoco.exec</sonar.jacoco.reportPath>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700226 </properties>
227
Matthias Sohne178ba22011-12-15 15:50:46 -0800228 <repositories>
229 <repository>
230 <id>jgit-repository</id>
Matthias Sohn74c337e2014-10-13 10:25:14 +0200231 <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
Matthias Sohne178ba22011-12-15 15:50:46 -0800232 </repository>
233 </repositories>
234
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200235 <pluginRepositories>
236 <pluginRepository>
237 <id>repo.eclipse.org.cbi-releases</id>
238 <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
239 </pluginRepository>
Matthias Sohn4f9bdc82015-05-04 08:56:28 +0200240 <pluginRepository>
241 <id>repo.eclipse.org.cbi-snapshots</id>
242 <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
243 </pluginRepository>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200244 </pluginRepositories>
245
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700246 <build>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800247 <pluginManagement>
248 <plugins>
249 <plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800250 <groupId>org.apache.maven.plugins</groupId>
Shawn O. Pearcec36a8922011-05-05 11:47:57 -0700251 <artifactId>maven-jar-plugin</artifactId>
Matthias Sohndbd859a2016-12-24 15:50:39 +0100252 <version>3.0.2</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800253 <configuration>
254 <archive>
255 <manifestEntries>
256 <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
257 <Implementation-Version>${project.version}</Implementation-Version>
258 <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
259 <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
260 <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
261 </manifestEntries>
262 </archive>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200263 <!-- TODO: uncomment this in order to skip empty artifact of test modules as soon as bug 416299 is fixed
264 <skipIfEmpty>true</skipIfEmpty>
265 -->
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800266 </configuration>
267 </plugin>
268
269 <plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800270 <artifactId>maven-clean-plugin</artifactId>
Matthias Sohn3bc46df2016-05-07 23:43:23 +0200271 <version>3.0.0</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800272 </plugin>
273
274 <plugin>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-shade-plugin</artifactId>
David Pursehouse00e2c5a2017-12-13 10:35:54 +0900277 <version>3.1.0</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800278 </plugin>
279
280 <plugin>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-antrun-plugin</artifactId>
Dave Borowitz019a21d2015-03-10 14:33:43 -0700283 <version>1.8</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800284 </plugin>
285
286 <plugin>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-dependency-plugin</artifactId>
David Pursehouse73d1c9b2017-12-13 10:36:26 +0900289 <version>3.0.2</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800290 </plugin>
291
292 <plugin>
Matthias Sohn02400552010-04-30 22:16:18 +0200293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-source-plugin</artifactId>
Matthias Sohn727289c2016-12-18 10:37:47 +0100295 <version>3.0.1</version>
Matthias Sohn02400552010-04-30 22:16:18 +0200296 </plugin>
297
Matthias Sohnf8eb7e12010-10-13 15:26:33 +0200298 <plugin>
Matthias Sohn02400552010-04-30 22:16:18 +0200299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-javadoc-plugin</artifactId>
Matthias Sohnbabc24b2014-11-18 11:02:17 +0100301 <version>${maven-javadoc-plugin-version}</version>
Matthias Sohn02400552010-04-30 22:16:18 +0200302 </plugin>
303
304 <plugin>
Shawn O. Pearceb7f887f2011-01-02 14:35:04 -0800305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-surefire-plugin</artifactId>
David Pursehouse0e6728b2017-12-13 10:36:56 +0900307 <version>2.20.1</version>
Matthias Sohnd8466102014-08-04 01:04:26 +0200308 <configuration>
309 <forkCount>${test-fork-count}</forkCount>
310 <reuseForks>true</reuseForks>
311 </configuration>
Shawn O. Pearceb7f887f2011-01-02 14:35:04 -0800312 </plugin>
313
314 <plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800315 <groupId>org.codehaus.mojo</groupId>
316 <artifactId>build-helper-maven-plugin</artifactId>
David Pursehoused12f1282017-02-10 10:39:22 +0900317 <version>3.0.0</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800318 </plugin>
Chris Aniszczyk241ab222010-10-14 09:26:46 -0700319
320 <plugin>
Matthias Sohn021e72b2017-11-02 22:48:00 +0100321 <groupId>com.github.spotbugs</groupId>
Matthias Sohnde769842017-07-17 00:31:13 +0200322 <artifactId>spotbugs-maven-plugin</artifactId>
323 <version>${spotbugs-maven-plugin-version}</version>
Matthias Sohndf859782011-04-16 02:08:24 +0200324 <configuration>
325 <findbugsXmlOutput>true</findbugsXmlOutput>
326 <failOnError>false</failOnError>
327 </configuration>
328 <executions>
329 <execution>
330 <goals>
331 <goal>check</goal>
332 </goals>
333 </execution>
334 </executions>
Chris Aniszczyk241ab222010-10-14 09:26:46 -0700335 </plugin>
336
337 <plugin>
338 <groupId>org.apache.maven.plugins</groupId>
339 <artifactId>maven-pmd-plugin</artifactId>
David Pursehouse52844e22017-05-10 10:23:54 +0900340 <version>3.8</version>
Matthias Sohndf859782011-04-16 02:08:24 +0200341 <configuration>
342 <sourceEncoding>utf-8</sourceEncoding>
343 <minimumTokens>100</minimumTokens>
Matthias Sohnab79ce92016-08-26 01:36:28 +0200344 <targetJdk>1.8</targetJdk>
Matthias Sohndf859782011-04-16 02:08:24 +0200345 <format>xml</format>
346 <failOnViolation>false</failOnViolation>
Matthias Sohn81ef0cd2017-04-09 00:47:40 +0200347 <excludes>
348 <exclude>**/UbcCheck.java</exclude>
349 </excludes>
Matthias Sohndf859782011-04-16 02:08:24 +0200350 </configuration>
351 <executions>
352 <execution>
353 <goals>
354 <goal>cpd-check</goal>
355 </goals>
356 </execution>
357 </executions>
Chris Aniszczyk241ab222010-10-14 09:26:46 -0700358 </plugin>
Matthias Sohne178ba22011-12-15 15:50:46 -0800359
360 <plugin>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200361 <groupId>org.eclipse.cbi.maven.plugins</groupId>
362 <artifactId>eclipse-jarsigner-plugin</artifactId>
Matthias Sohn6a4b8212017-04-20 23:21:15 +0200363 <version>1.1.4</version>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200364 </plugin>
365 <plugin>
366 <groupId>org.eclipse.tycho.extras</groupId>
367 <artifactId>tycho-pack200a-plugin</artifactId>
Matthias Sohn6fc5af42015-05-29 14:39:33 +0200368 <version>${tycho-extras-version}</version>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200369 </plugin>
370 <plugin>
371 <groupId>org.eclipse.tycho.extras</groupId>
372 <artifactId>tycho-pack200b-plugin</artifactId>
Matthias Sohn6fc5af42015-05-29 14:39:33 +0200373 <version>${tycho-extras-version}</version>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200374 </plugin>
Matthias Sohn2d579ff2013-02-25 01:10:40 +0100375 <plugin>
376 <groupId>org.jacoco</groupId>
377 <artifactId>jacoco-maven-plugin</artifactId>
David Pursehouse32f3cbd2017-02-10 10:39:42 +0900378 <version>0.7.9</version>
Matthias Sohn2d579ff2013-02-25 01:10:40 +0100379 </plugin>
Matthias Sohndf827272014-09-25 11:18:53 +0200380 <plugin>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-site-plugin</artifactId>
Matthias Sohndbd859a2016-12-24 15:50:39 +0100383 <version>3.6</version>
Matthias Sohndf827272014-09-25 11:18:53 +0200384 <dependencies>
385 <dependency><!-- add support for ssh/scp -->
386 <groupId>org.apache.maven.wagon</groupId>
387 <artifactId>wagon-ssh</artifactId>
Matthias Sohn3267f912017-04-14 18:47:17 +0200388 <version>2.12</version>
Matthias Sohndf827272014-09-25 11:18:53 +0200389 </dependency>
390 </dependencies>
391 </plugin>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200392 <plugin>
393 <groupId>org.apache.maven.plugins</groupId>
394 <artifactId>maven-surefire-report-plugin</artifactId>
Matthias Sohn3267f912017-04-14 18:47:17 +0200395 <version>${maven-surefire-report-plugin-version}</version>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200396 </plugin>
397 <plugin>
398 <groupId>org.apache.maven.plugins</groupId>
399 <artifactId>maven-jxr-plugin</artifactId>
400 <version>2.5</version>
401 </plugin>
402 <plugin>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-project-info-reports-plugin</artifactId>
Matthias Sohn3bc46df2016-05-07 23:43:23 +0200405 <version>2.9</version>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200406 </plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800407 </plugins>
408 </pluginManagement>
409
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700410 <plugins>
411 <plugin>
Matthias Sohn65848632017-12-27 02:54:40 +0100412 <groupId>org.apache.maven.plugins</groupId>
413 <artifactId>maven-enforcer-plugin</artifactId>
414 <version>3.0.0-M1</version>
415 <executions>
416 <execution>
417 <id>enforce-maven</id>
418 <goals>
419 <goal>enforce</goal>
420 </goals>
421 <configuration>
422 <rules>
423 <requireMavenVersion>
424 <version>3.5.2</version>
425 </requireMavenVersion>
426 </rules>
427 </configuration>
428 </execution>
429 </executions>
430 </plugin>
431
432 <plugin>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700433 <artifactId>maven-compiler-plugin</artifactId>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700434 </plugin>
435
436 <plugin>
437 <groupId>org.apache.maven.plugins</groupId>
Matthias Sohn407fe632010-01-23 01:03:37 +0100438 <artifactId>maven-antrun-plugin</artifactId>
439 <executions>
440 <execution>
441 <id>translate-qualifier</id>
442 <phase>generate-resources</phase>
443 <configuration>
Matthias Sohn8375d172011-11-29 01:16:47 +0100444 <target if="${translate-qualifier}">
Matthias Sohnf8eb7e12010-10-13 15:26:33 +0200445 <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
446 <replace file="${bundle-manifest}">
447 <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
448 </replace>
Matthias Sohn8375d172011-11-29 01:16:47 +0100449 </target>
Matthias Sohn407fe632010-01-23 01:03:37 +0100450 </configuration>
451 <goals>
452 <goal>run</goal>
453 </goals>
454 </execution>
455 </executions>
456 </plugin>
457
Matthias Sohn51f6fbd2010-08-31 02:35:08 +0200458 <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property -->
459 <plugin>
460 <groupId>org.codehaus.mojo</groupId>
461 <artifactId>build-helper-maven-plugin</artifactId>
462 <executions>
463 <execution>
464 <id>set-osgi-version</id>
465 <phase>validate</phase>
466 <goals>
467 <goal>parse-version</goal>
468 </goals>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700469 </execution>
470 </executions>
471 </plugin>
472
473 <plugin>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-javadoc-plugin</artifactId>
476 <configuration>
Matthias Sohnc9db3172017-12-21 11:55:27 +0100477 <additionalparam>-Xdoclint:-missing</additionalparam>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700478 <encoding>${project.build.sourceEncoding}</encoding>
479 <quiet>true</quiet>
Mike Edgar3b526f82016-04-12 22:23:08 -0400480 <excludePackageNames>org.eclipse.jgit.http.test</excludePackageNames>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700481 <links>
Matthias Sohnab79ce92016-08-26 01:36:28 +0200482 <link>http://docs.oracle.com/javase/8/docs/api</link>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700483 </links>
484 </configuration>
485 <executions>
486 <execution>
487 <id>attach-javadocs</id>
488 <goals>
489 <goal>jar</goal>
490 </goals>
491 </execution>
492 </executions>
493 </plugin>
Kevin Sawicki036e40e2012-02-22 14:50:25 -0800494 <plugin>
495 <groupId>org.apache.maven.plugins</groupId>
496 <artifactId>maven-source-plugin</artifactId>
497 <inherited>true</inherited>
498 <executions>
499 <execution>
500 <id>attach-sources</id>
501 <phase>process-classes</phase>
502 <goals>
503 <goal>jar</goal>
504 </goals>
505 </execution>
506 </executions>
507 </plugin>
Matthias Sohn2d579ff2013-02-25 01:10:40 +0100508 <plugin>
509 <groupId>org.jacoco</groupId>
510 <artifactId>jacoco-maven-plugin</artifactId>
511 <executions>
512 <execution>
513 <goals>
514 <goal>prepare-agent</goal>
515 </goals>
516 <configuration>
517 <destFile>${sonar.jacoco.reportPath}</destFile>
518 <includes>
519 <include>org.eclipse.jgit.*</include>
520 </includes>
521 <excludes>
522 <exclude>**/*Test*.*</exclude>
523 </excludes>
524 <append>true</append>
525 </configuration>
526 </execution>
527 </executions>
528 </plugin>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200529 <plugin>
530 <groupId>org.apache.maven.plugins</groupId>
531 <artifactId>maven-surefire-report-plugin</artifactId>
532 </plugin>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700533 </plugins>
534 </build>
535
Matthias Sohn42c74922014-09-25 11:17:40 +0200536 <reporting>
537 <plugins>
538 <plugin>
539 <groupId>org.apache.maven.plugins</groupId>
540 <artifactId>maven-javadoc-plugin</artifactId>
Matthias Sohnbabc24b2014-11-18 11:02:17 +0100541 <version>${maven-javadoc-plugin-version}</version>
Matthias Sohn42c74922014-09-25 11:17:40 +0200542 </plugin>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200543 <plugin>
544 <groupId>org.apache.maven.plugins</groupId>
545 <artifactId>maven-jxr-plugin</artifactId>
Matthias Sohne78b0922015-10-18 18:28:04 +0200546 <version>2.5</version>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200547 </plugin>
548 <plugin>
Matthias Sohn021e72b2017-11-02 22:48:00 +0100549 <groupId>com.github.spotbugs</groupId>
Matthias Sohnde769842017-07-17 00:31:13 +0200550 <artifactId>spotbugs-maven-plugin</artifactId>
551 <version>${spotbugs-maven-plugin-version}</version>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200552 </plugin>
553 <plugin>
554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-surefire-report-plugin</artifactId>
Matthias Sohn3267f912017-04-14 18:47:17 +0200556 <version>${maven-surefire-report-plugin-version}</version>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200557 <configuration>
558 <aggregate>true</aggregate>
559 <alwaysGenerateSurefireReport>false</alwaysGenerateSurefireReport>
560 <reportsDirectories>
561 <reportsDirectories>${project.build.directory}/surefire-reports</reportsDirectories>
562 </reportsDirectories>
563 </configuration>
564 </plugin>
Matthias Sohn42c74922014-09-25 11:17:40 +0200565 </plugins>
566 </reporting>
567
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700568 <dependencyManagement>
569 <dependencies>
570 <dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700571 <groupId>com.jcraft</groupId>
572 <artifactId>jsch</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800573 <version>${jsch-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700574 </dependency>
575
576 <dependency>
Matthias Sohncdc88242018-01-03 01:09:57 +0100577 <groupId>com.jcraft</groupId>
578 <artifactId>jzlib</artifactId>
579 <version>${jzlib-version}</version>
580 </dependency>
581
582 <dependency>
Colby Ranger3b325912012-08-28 09:08:20 -0700583 <groupId>com.googlecode.javaewah</groupId>
584 <artifactId>JavaEWAH</artifactId>
585 <version>${javaewah-version}</version>
586 </dependency>
587
588 <dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700589 <groupId>args4j</groupId>
590 <artifactId>args4j</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800591 <version>${args4j-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700592 </dependency>
593
594 <dependency>
595 <groupId>junit</groupId>
596 <artifactId>junit</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800597 <version>${junit-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700598 </dependency>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800599
600 <dependency>
601 <groupId>javax.servlet</groupId>
Matthias Sohnce8baa32015-06-01 11:37:38 +0200602 <artifactId>javax.servlet-api</artifactId>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800603 <version>${servlet-api-version}</version>
604 </dependency>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800605
606 <dependency>
Jonathan Nieder1547eaf2012-12-03 09:55:02 -0800607 <groupId>org.apache.commons</groupId>
608 <artifactId>commons-compress</artifactId>
609 <version>${commons-compress-version}</version>
610 </dependency>
611
612 <dependency>
David Pursehouse13ba5922018-01-15 09:45:38 +0900613 <groupId>org.tukaani</groupId>
614 <artifactId>xz</artifactId>
615 <version>1.6</version>
616 <optional>true</optional>
617 </dependency>
618
619 <dependency>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800620 <groupId>org.eclipse.jetty</groupId>
621 <artifactId>jetty-servlet</artifactId>
622 <version>${jetty-version}</version>
623 </dependency>
Jonathan Niedera544ff72013-05-24 16:57:10 -0700624
625 <dependency>
626 <groupId>org.osgi</groupId>
627 <artifactId>org.osgi.core</artifactId>
628 <version>${osgi-core-version}</version>
629 </dependency>
Christian Halstrick22905162013-08-04 23:37:50 +0200630
631 <dependency>
632 <groupId>org.apache.httpcomponents</groupId>
633 <artifactId>httpclient</artifactId>
634 <version>${httpclient-version}</version>
635 </dependency>
Matthias Sohna8743df2015-02-10 11:58:19 +0100636
Matthias Sohnc18694e2015-02-09 21:54:58 +0100637 <dependency>
Matthias Sohne1fb47b2017-12-03 11:04:41 +0100638 <groupId>org.apache.httpcomponents</groupId>
639 <artifactId>httpcore</artifactId>
640 <version>${httpcore-version}</version>
641 </dependency>
642
643 <dependency>
Matthias Sohnc18694e2015-02-09 21:54:58 +0100644 <groupId>org.slf4j</groupId>
645 <artifactId>slf4j-api</artifactId>
646 <version>${slf4j-version}</version>
647 </dependency>
Matthias Sohna8743df2015-02-10 11:58:19 +0100648
649 <dependency>
650 <groupId>org.slf4j</groupId>
651 <artifactId>slf4j-log4j12</artifactId>
652 <version>${slf4j-version}</version>
653 </dependency>
654
655 <dependency>
656 <groupId>log4j</groupId>
657 <artifactId>log4j</artifactId>
658 <version>${log4j-version}</version>
Matthias Sohndd453f42015-03-09 15:57:48 -0700659 <exclusions>
660 <exclusion>
661 <groupId>javax.mail</groupId>
662 <artifactId>mail</artifactId>
663 </exclusion>
664 <exclusion>
665 <groupId>javax.jms</groupId>
666 <artifactId>jms</artifactId>
667 </exclusion>
668 <exclusion>
669 <groupId>com.sun.jdmk</groupId>
670 <artifactId>jmxtools</artifactId>
671 </exclusion>
672 <exclusion>
673 <groupId>com.sun.jmx</groupId>
674 <artifactId>jmxri</artifactId>
675 </exclusion>
676 </exclusions>
Matthias Sohna8743df2015-02-10 11:58:19 +0100677 </dependency>
Matthias Sohn377616a2015-07-17 23:57:46 +0200678
679 <dependency>
680 <groupId>com.google.code.gson</groupId>
681 <artifactId>gson</artifactId>
682 <version>${gson-version}</version>
683 </dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700684 </dependencies>
685 </dependencyManagement>
686
687 <distributionManagement>
Matthias Sohnaf64b9a2013-02-23 10:11:26 +0100688 <repository>
689 <id>repo.eclipse.org</id>
690 <name>JGit Maven Repository - Releases</name>
691 <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
692 </repository>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700693 <snapshotRepository>
Matthias Sohnaf64b9a2013-02-23 10:11:26 +0100694 <id>repo.eclipse.org</id>
695 <name>JGit Maven Repository - Snapshots</name>
696 <url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700697 <uniqueVersion>true</uniqueVersion>
698 </snapshotRepository>
Matthias Sohndf827272014-09-25 11:18:53 +0200699 <site>
700 <id>jgit.website</id>
701 <name>JGit Website</name>
702 <url>${jgit.website.url}</url>
703 </site>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700704 </distributionManagement>
705
Shawn O. Pearce7e8dc532009-10-31 19:39:18 -0700706 <profiles>
Shawn O. Pearce7e8dc532009-10-31 19:39:18 -0700707 <profile>
Matthias Sohne8e456b2018-04-25 03:09:05 +0200708 <id>javac</id>
709 <build>
710 <plugins>
711 <plugin>
712 <artifactId>maven-compiler-plugin</artifactId>
713 <version>3.7.0</version>
714 <configuration>
715 <encoding>UTF-8</encoding>
716 <source>1.8</source>
717 <target>1.8</target>
718 </configuration>
719 <executions>
720 <execution>
721 <id>default-compile</id>
722 <phase>compile</phase>
723 <goals>
724 <goal>compile</goal>
725 </goals>
726 <configuration>
727 <includes>
728 <include>org/eclipse/jgit/transport/InsecureCipherFactory.java</include>
729 </includes>
730 </configuration>
731 </execution>
732 <execution>
733 <id>compile-with-errorprone</id>
734 <phase>compile</phase>
735 <goals>
736 <goal>compile</goal>
737 </goals>
738 <configuration>
739 <compilerId>javac-with-errorprone</compilerId>
740 <forceJavacCompilerUse>true</forceJavacCompilerUse>
741 <excludes>
742 <exclude>org/eclipse/jgit/transport/InsecureCipherFactory.java</exclude>
743 </excludes>
744 </configuration>
745 </execution>
746 </executions>
747 <dependencies>
748 <dependency>
749 <groupId>org.codehaus.plexus</groupId>
750 <artifactId>plexus-compiler-javac</artifactId>
751 <version>2.8.2</version>
752 </dependency>
753 <dependency>
754 <groupId>org.codehaus.plexus</groupId>
755 <artifactId>plexus-compiler-javac-errorprone</artifactId>
756 <version>2.8.4</version>
757 </dependency>
758 <!-- override plexus-compiler-javac-errorprone's dependency on
759 Error Prone with the latest version -->
760 <dependency>
761 <groupId>com.google.errorprone</groupId>
762 <artifactId>error_prone_core</artifactId>
763 <version>2.3.1</version>
764 </dependency>
765 </dependencies>
766 </plugin>
767 </plugins>
768 </build>
769 </profile>
770 <profile>
771 <id>ecj</id>
772 <activation>
773 <activeByDefault>true</activeByDefault>
774 </activation>
775 <build>
776 <plugins>
777 <plugin>
778 <artifactId>maven-compiler-plugin</artifactId>
779 <version>3.7.0</version>
780 <configuration>
781 <compilerId>eclipse</compilerId>
782 <encoding>UTF-8</encoding>
783 <source>1.8</source>
784 <target>1.8</target>
785 <!-- Passing arguments is a trainwreck, see https://issues.apache.org/jira/browse/MCOMPILER-123 -->
786 <compilerArguments>
787 <properties>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</properties>
788 </compilerArguments>
789 <showWarnings>true</showWarnings>
790 <showDeprecation>true</showDeprecation>
791 </configuration>
792 <dependencies>
793 <dependency>
794 <groupId>org.codehaus.plexus</groupId>
795 <artifactId>plexus-compiler-eclipse</artifactId>
796 <version>2.8.4</version>
797 </dependency>
798 <dependency>
799 <groupId>org.eclipse.jdt</groupId>
800 <artifactId>ecj</artifactId>
801 <version>3.13.102</version>
802 </dependency>
803 </dependencies>
804 </plugin>
805 </plugins>
806 </build>
807 </profile>
808 <profile>
Matthias Sohndf859782011-04-16 02:08:24 +0200809 <id>static-checks</id>
810 <build>
811 <plugins>
812 <plugin>
Matthias Sohn021e72b2017-11-02 22:48:00 +0100813 <groupId>com.github.spotbugs</groupId>
Matthias Sohnde769842017-07-17 00:31:13 +0200814 <artifactId>spotbugs-maven-plugin</artifactId>
Matthias Sohndf859782011-04-16 02:08:24 +0200815 </plugin>
816 <plugin>
817 <groupId>org.apache.maven.plugins</groupId>
818 <artifactId>maven-pmd-plugin</artifactId>
819 </plugin>
820 </plugins>
821 </build>
822 </profile>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200823 <profile>
824 <id>eclipse-sign</id>
825 <build>
826 <plugins>
827 <plugin>
828 <groupId>org.eclipse.tycho.extras</groupId>
829 <artifactId>tycho-pack200a-plugin</artifactId>
830 <!-- TODO remove this configuration when https://git.eclipse.org/r/#/c/16027 is available -->
831 <configuration>
832 <supportedProjectTypes>
833 <supportedProjectType>jar</supportedProjectType>
834 </supportedProjectTypes>
835 </configuration>
836 <executions>
837 <execution>
838 <id>pack200-normalize</id>
839 <goals>
840 <goal>normalize</goal>
841 </goals>
842 <phase>verify</phase>
843 </execution>
844 </executions>
845 </plugin>
Matthias Sohneed58242013-09-04 17:05:33 +0200846 <plugin>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200847 <groupId>org.eclipse.cbi.maven.plugins</groupId>
848 <artifactId>eclipse-jarsigner-plugin</artifactId>
849 <executions>
850 <execution>
851 <id>sign</id>
852 <phase>verify</phase>
853 <goals>
854 <goal>sign</goal>
855 </goals>
856 </execution>
857 </executions>
858 </plugin>
Matthias Sohneed58242013-09-04 17:05:33 +0200859 <plugin>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200860 <groupId>org.eclipse.tycho.extras</groupId>
861 <artifactId>tycho-pack200b-plugin</artifactId>
862 <!-- TODO remove this configuration when https://git.eclipse.org/r/#/c/16027 is available -->
863 <configuration>
864 <supportedProjectTypes>
865 <supportedProjectType>jar</supportedProjectType>
866 </supportedProjectTypes>
867 </configuration>
868 <executions>
869 <execution>
870 <id>pack200-pack</id>
871 <goals>
872 <goal>pack</goal>
873 </goals>
874 <phase>verify</phase>
875 </execution>
876 </executions>
877 </plugin>
878 </plugins>
879 </build>
880 </profile>
Matthias Sohndf827272014-09-25 11:18:53 +0200881 <profile>
882 <id>build-server</id>
883 <properties>
884 <jgit.website.url>file:///home/data/httpd/download.eclipse.org/jgit/site/${project.version}/</jgit.website.url>
885 </properties>
886 </profile>
Shawn O. Pearce7e8dc532009-10-31 19:39:18 -0700887 </profiles>
888
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700889 <modules>
890 <module>org.eclipse.jgit</module>
Chris Aniszczyk87455122011-05-05 18:33:16 +0200891 <module>org.eclipse.jgit.ant</module>
Jonathan Nieder56276d02013-05-24 17:30:18 -0700892 <module>org.eclipse.jgit.archive</module>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700893 <module>org.eclipse.jgit.ui</module>
Matthias Sohn3d3df392014-02-20 22:07:48 +0100894 <module>org.eclipse.jgit.http.apache</module>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800895 <module>org.eclipse.jgit.http.server</module>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700896 <module>org.eclipse.jgit.pgm</module>
Matthias Sohn536db182015-07-17 16:22:56 +0200897 <module>org.eclipse.jgit.lfs</module>
Matthias Sohn3bae5242015-12-22 16:11:43 +0100898 <module>org.eclipse.jgit.lfs.server</module>
Shawn O. Pearce49aac322009-10-02 18:08:56 -0700899 <module>org.eclipse.jgit.junit</module>
Chris Aniszczyk87455122011-05-05 18:33:16 +0200900 <module>org.eclipse.jgit.junit.http</module>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800901
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700902 <module>org.eclipse.jgit.test</module>
Chris Aniszczyk844bd742011-05-19 11:20:19 -0500903 <module>org.eclipse.jgit.ant.test</module>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800904 <module>org.eclipse.jgit.http.test</module>
Tomasz Zarnaa2dac2c2012-03-23 09:10:41 +0100905 <module>org.eclipse.jgit.pgm.test</module>
Matthias Sohn536db182015-07-17 16:22:56 +0200906 <module>org.eclipse.jgit.lfs.test</module>
Matthias Sohn3bae5242015-12-22 16:11:43 +0100907 <module>org.eclipse.jgit.lfs.server.test</module>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700908 </modules>
Anatol Pomozov74419e12011-01-05 12:02:22 -0800909
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700910</project>