blob: e80d4fb1fe19aa94779e2715f740787720362f8a [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 Sohnccf83632016-04-08 17:47:29 +020054 <version>4.4.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>
Kevin Sawicki11ab19a2012-01-25 09:01:55 -080092 <name>Gunnar Wagenknecht</name>
93 </developer>
94 <developer>
Matthias Sohn6fc5af42015-05-29 14:39:33 +020095 <name>Jonathan Nieder</name>
96 </developer>
97 <developer>
Kevin Sawicki11ab19a2012-01-25 09:01:55 -080098 <name>Kevin Sawicki</name>
99 </developer>
100 <developer>
101 <name>Mathias Kinzler</name>
102 </developer>
103 <developer>
104 <name>Matthias Sohn</name>
105 </developer>
106 <developer>
107 <name>Robin Rosenberg</name>
108 </developer>
109 <developer>
Matthias Sohn6fc5af42015-05-29 14:39:33 +0200110 <name>Robin Stocker</name>
111 </developer>
112 <developer>
Kevin Sawicki11ab19a2012-01-25 09:01:55 -0800113 <name>Sasa Zivkov</name>
114 </developer>
115 <developer>
116 <name>Shawn Pearce</name>
117 </developer>
118 <developer>
119 <name>Stefan Lay</name>
120 </developer>
121 </developers>
122
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700123 <mailingLists>
124 <mailingList>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800125 <name>jgit-dev Mailing List</name>
126 <post>jgit-dev@eclipse.org</post>
127 <subscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</subscribe>
128 <unsubscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</unsubscribe>
129 <archive>http://dev.eclipse.org/mhonarc/lists/jgit-dev</archive>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700130 </mailingList>
131
132 <mailingList>
133 <name>GIT Mailing List</name>
134 <post>git@vger.kernel.org</post>
135 <archive>http://marc.info/?l=git</archive>
136 </mailingList>
137 </mailingLists>
138
139 <issueManagement>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800140 <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 -0700141 <system>Bugzilla</system>
142 </issueManagement>
143
144 <licenses>
145 <license>
146 <name>Eclipse Distribution License (New BSD License)</name>
147 <comments>
148 All rights reserved.
149
150 Redistribution and use in source and binary forms, with or
151 without modification, are permitted provided that the following
152 conditions are met:
153
154 - Redistributions of source code must retain the above copyright
155 notice, this list of conditions and the following disclaimer.
156
157 - Redistributions in binary form must reproduce the above
158 copyright notice, this list of conditions and the following
159 disclaimer in the documentation and/or other materials provided
160 with the distribution.
161
162 - Neither the name of the Eclipse Foundation, Inc. nor the
163 names of its contributors may be used to endorse or promote
164 products derived from this software without specific prior
165 written permission.
166
167 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
168 CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
169 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
170 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
171 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
172 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
173 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
174 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
175 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
176 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
177 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
178 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
179 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
180 </comments>
181 </license>
182 </licenses>
183
184 <properties>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800185 <jgit-url>http://www.eclipse.org/jgit/</jgit-url>
186 <jgit-copyright>Copyright (c) 2005, 2009 Shawn Pearce, Robin Rosenberg, et.al.</jgit-copyright>
Matthias Sohndf827272014-09-25 11:18:53 +0200187 <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 -0800188
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700189 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
190 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Igor Fedorenko96c7f752009-12-05 01:07:42 -0500191
Matthias Sohn407fe632010-01-23 01:03:37 +0100192 <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
193 <bundle-manifest>${project.build.directory}/META-INF/MANIFEST.MF</bundle-manifest>
194
Matthias Sohn27846d92016-01-23 23:49:30 +0100195 <jgit-last-release-version>4.2.0.201601211800-r</jgit-last-release-version>
Matthias Sohn8bad6ef2015-08-19 15:48:12 +0200196 <jsch-version>0.1.53</jsch-version>
Colby Rangerce5fd522013-12-06 09:21:17 -0800197 <javaewah-version>0.7.9</javaewah-version>
Matthias Sohne9bab212013-08-28 00:13:03 +0200198 <junit-version>4.11</junit-version>
Matthias Sohnd8466102014-08-04 01:04:26 +0200199 <test-fork-count>1C</test-fork-count>
Kaloyan Raev9041fbc2015-02-06 16:45:58 +0200200 <args4j-version>2.0.15</args4j-version>
Jonathan Nieder36a85782014-01-14 15:43:20 +0100201 <commons-compress-version>1.6</commons-compress-version>
Jonathan Niedera544ff72013-05-24 16:57:10 -0700202 <osgi-core-version>4.3.1</osgi-core-version>
Matthias Sohnce8baa32015-06-01 11:37:38 +0200203 <servlet-api-version>3.1.0</servlet-api-version>
Matthias Sohne78dd7d2015-08-20 00:46:58 +0200204 <jetty-version>9.2.13.v20150730</jetty-version>
Matthias Sohn100179a2015-10-01 01:41:52 +0200205 <japicmp-version>0.5.3</japicmp-version>
Matthias Sohn16ba9912015-07-14 01:55:58 +0200206 <httpclient-version>4.3.6</httpclient-version>
Matthias Sohnc18694e2015-02-09 21:54:58 +0100207 <slf4j-version>1.7.2</slf4j-version>
Matthias Sohna8743df2015-02-10 11:58:19 +0100208 <log4j-version>1.2.15</log4j-version>
Dave Borowitz019a21d2015-03-10 14:33:43 -0700209 <maven-javadoc-plugin-version>2.10.1</maven-javadoc-plugin-version>
Matthias Sohnd8040f32015-06-08 12:59:28 +0200210 <tycho-extras-version>0.23.0</tycho-extras-version>
Matthias Sohn377616a2015-07-17 23:57:46 +0200211 <gson-version>2.2.4</gson-version>
Matthias Sohn2d579ff2013-02-25 01:10:40 +0100212
213 <!-- Properties to enable jacoco code coverage analysis -->
214 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
215 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
216 <sonar.jacoco.reportPath>../target/jacoco.exec</sonar.jacoco.reportPath>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700217 </properties>
218
Matthias Sohne178ba22011-12-15 15:50:46 -0800219 <repositories>
220 <repository>
221 <id>jgit-repository</id>
Matthias Sohn74c337e2014-10-13 10:25:14 +0200222 <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
Matthias Sohne178ba22011-12-15 15:50:46 -0800223 </repository>
224 </repositories>
225
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200226 <pluginRepositories>
227 <pluginRepository>
228 <id>repo.eclipse.org.cbi-releases</id>
229 <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
230 </pluginRepository>
Matthias Sohn4f9bdc82015-05-04 08:56:28 +0200231 <pluginRepository>
232 <id>repo.eclipse.org.cbi-snapshots</id>
233 <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
234 </pluginRepository>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200235 </pluginRepositories>
236
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700237 <build>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800238 <pluginManagement>
239 <plugins>
240 <plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800241 <groupId>org.apache.maven.plugins</groupId>
Shawn O. Pearcec36a8922011-05-05 11:47:57 -0700242 <artifactId>maven-jar-plugin</artifactId>
Dave Borowitz019a21d2015-03-10 14:33:43 -0700243 <version>2.6</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800244 <configuration>
245 <archive>
246 <manifestEntries>
247 <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
248 <Implementation-Version>${project.version}</Implementation-Version>
249 <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
250 <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
251 <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
252 </manifestEntries>
253 </archive>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200254 <!-- TODO: uncomment this in order to skip empty artifact of test modules as soon as bug 416299 is fixed
255 <skipIfEmpty>true</skipIfEmpty>
256 -->
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800257 </configuration>
258 </plugin>
259
260 <plugin>
261 <artifactId>maven-compiler-plugin</artifactId>
Dave Borowitz019a21d2015-03-10 14:33:43 -0700262 <version>3.2</version>
Matthias Sohnc26bc632015-01-27 00:59:52 +0100263 <configuration>
264 <encoding>UTF-8</encoding>
265 <source>1.7</source>
266 <target>1.7</target>
267 </configuration>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800268 </plugin>
269
270 <plugin>
271 <artifactId>maven-clean-plugin</artifactId>
Dave Borowitz019a21d2015-03-10 14:33:43 -0700272 <version>2.6.1</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800273 </plugin>
274
275 <plugin>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-shade-plugin</artifactId>
Matthias Sohnd0e80b22014-08-09 00:44:21 +0200278 <version>2.3</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800279 </plugin>
280
281 <plugin>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-antrun-plugin</artifactId>
Dave Borowitz019a21d2015-03-10 14:33:43 -0700284 <version>1.8</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800285 </plugin>
286
287 <plugin>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-dependency-plugin</artifactId>
Dave Borowitz019a21d2015-03-10 14:33:43 -0700290 <version>2.10</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800291 </plugin>
292
293 <plugin>
Matthias Sohn02400552010-04-30 22:16:18 +0200294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-source-plugin</artifactId>
Dave Borowitz019a21d2015-03-10 14:33:43 -0700296 <version>2.4</version>
Matthias Sohn02400552010-04-30 22:16:18 +0200297 </plugin>
298
Matthias Sohnf8eb7e12010-10-13 15:26:33 +0200299 <plugin>
Matthias Sohn02400552010-04-30 22:16:18 +0200300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-javadoc-plugin</artifactId>
Matthias Sohnbabc24b2014-11-18 11:02:17 +0100302 <version>${maven-javadoc-plugin-version}</version>
Matthias Sohn02400552010-04-30 22:16:18 +0200303 </plugin>
304
305 <plugin>
Shawn O. Pearceb7f887f2011-01-02 14:35:04 -0800306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-surefire-plugin</artifactId>
Dave Borowitz019a21d2015-03-10 14:33:43 -0700308 <version>2.18.1</version>
Matthias Sohnd8466102014-08-04 01:04:26 +0200309 <configuration>
310 <forkCount>${test-fork-count}</forkCount>
311 <reuseForks>true</reuseForks>
312 </configuration>
Shawn O. Pearceb7f887f2011-01-02 14:35:04 -0800313 </plugin>
314
315 <plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800316 <groupId>org.codehaus.mojo</groupId>
317 <artifactId>build-helper-maven-plugin</artifactId>
Matthias Sohnd0e80b22014-08-09 00:44:21 +0200318 <version>1.9</version>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800319 </plugin>
Chris Aniszczyk241ab222010-10-14 09:26:46 -0700320
321 <plugin>
Chris Aniszczyk241ab222010-10-14 09:26:46 -0700322 <groupId>org.codehaus.mojo</groupId>
323 <artifactId>findbugs-maven-plugin</artifactId>
Matthias Sohnd0e80b22014-08-09 00:44:21 +0200324 <version>3.0.0</version>
Matthias Sohndf859782011-04-16 02:08:24 +0200325 <configuration>
326 <findbugsXmlOutput>true</findbugsXmlOutput>
327 <failOnError>false</failOnError>
328 </configuration>
329 <executions>
330 <execution>
331 <goals>
332 <goal>check</goal>
333 </goals>
334 </execution>
335 </executions>
Chris Aniszczyk241ab222010-10-14 09:26:46 -0700336 </plugin>
337
338 <plugin>
339 <groupId>org.apache.maven.plugins</groupId>
340 <artifactId>maven-pmd-plugin</artifactId>
Dave Borowitz019a21d2015-03-10 14:33:43 -0700341 <version>3.4</version>
Matthias Sohndf859782011-04-16 02:08:24 +0200342 <configuration>
343 <sourceEncoding>utf-8</sourceEncoding>
344 <minimumTokens>100</minimumTokens>
Matthias Sohnc26bc632015-01-27 00:59:52 +0100345 <targetJdk>1.7</targetJdk>
Matthias Sohndf859782011-04-16 02:08:24 +0200346 <format>xml</format>
347 <failOnViolation>false</failOnViolation>
348 </configuration>
349 <executions>
350 <execution>
351 <goals>
352 <goal>cpd-check</goal>
353 </goals>
354 </execution>
355 </executions>
Chris Aniszczyk241ab222010-10-14 09:26:46 -0700356 </plugin>
Matthias Sohne178ba22011-12-15 15:50:46 -0800357
358 <plugin>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200359 <groupId>org.eclipse.cbi.maven.plugins</groupId>
360 <artifactId>eclipse-jarsigner-plugin</artifactId>
Matthias Sohn9ae83b82015-05-25 23:13:50 +0200361 <version>1.1.2</version>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200362 </plugin>
363 <plugin>
364 <groupId>org.eclipse.tycho.extras</groupId>
365 <artifactId>tycho-pack200a-plugin</artifactId>
Matthias Sohn6fc5af42015-05-29 14:39:33 +0200366 <version>${tycho-extras-version}</version>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200367 </plugin>
368 <plugin>
369 <groupId>org.eclipse.tycho.extras</groupId>
370 <artifactId>tycho-pack200b-plugin</artifactId>
Matthias Sohn6fc5af42015-05-29 14:39:33 +0200371 <version>${tycho-extras-version}</version>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200372 </plugin>
Matthias Sohn2d579ff2013-02-25 01:10:40 +0100373 <plugin>
374 <groupId>org.jacoco</groupId>
375 <artifactId>jacoco-maven-plugin</artifactId>
Matthias Sohnd0e80b22014-08-09 00:44:21 +0200376 <version>0.7.1.201405082137</version>
Matthias Sohn2d579ff2013-02-25 01:10:40 +0100377 </plugin>
Matthias Sohndf827272014-09-25 11:18:53 +0200378 <plugin>
379 <groupId>org.apache.maven.plugins</groupId>
380 <artifactId>maven-site-plugin</artifactId>
381 <version>3.4</version>
382 <dependencies>
383 <dependency><!-- add support for ssh/scp -->
384 <groupId>org.apache.maven.wagon</groupId>
385 <artifactId>wagon-ssh</artifactId>
386 <version>2.7</version>
387 </dependency>
388 </dependencies>
389 </plugin>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200390 <plugin>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-surefire-report-plugin</artifactId>
393 <version>2.18.1</version>
394 </plugin>
395 <plugin>
396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-jxr-plugin</artifactId>
398 <version>2.5</version>
399 </plugin>
400 <plugin>
401 <groupId>org.apache.maven.plugins</groupId>
402 <artifactId>maven-project-info-reports-plugin</artifactId>
403 <version>2.8</version>
404 </plugin>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800405 </plugins>
406 </pluginManagement>
407
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700408 <plugins>
409 <plugin>
410 <artifactId>maven-compiler-plugin</artifactId>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700411 </plugin>
412
413 <plugin>
414 <groupId>org.apache.maven.plugins</groupId>
Matthias Sohn407fe632010-01-23 01:03:37 +0100415 <artifactId>maven-antrun-plugin</artifactId>
416 <executions>
417 <execution>
418 <id>translate-qualifier</id>
419 <phase>generate-resources</phase>
420 <configuration>
Matthias Sohn8375d172011-11-29 01:16:47 +0100421 <target if="${translate-qualifier}">
Matthias Sohnf8eb7e12010-10-13 15:26:33 +0200422 <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
423 <replace file="${bundle-manifest}">
424 <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
425 </replace>
Matthias Sohn8375d172011-11-29 01:16:47 +0100426 </target>
Matthias Sohn407fe632010-01-23 01:03:37 +0100427 </configuration>
428 <goals>
429 <goal>run</goal>
430 </goals>
431 </execution>
432 </executions>
433 </plugin>
434
Matthias Sohn51f6fbd2010-08-31 02:35:08 +0200435 <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property -->
436 <plugin>
437 <groupId>org.codehaus.mojo</groupId>
438 <artifactId>build-helper-maven-plugin</artifactId>
439 <executions>
440 <execution>
441 <id>set-osgi-version</id>
442 <phase>validate</phase>
443 <goals>
444 <goal>parse-version</goal>
445 </goals>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700446 </execution>
447 </executions>
448 </plugin>
449
450 <plugin>
451 <groupId>org.apache.maven.plugins</groupId>
452 <artifactId>maven-javadoc-plugin</artifactId>
453 <configuration>
454 <encoding>${project.build.sourceEncoding}</encoding>
455 <quiet>true</quiet>
Mike Edgar3b526f82016-04-12 22:23:08 -0400456 <excludePackageNames>org.eclipse.jgit.http.test</excludePackageNames>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700457 <links>
Matthias Sohnc26bc632015-01-27 00:59:52 +0100458 <link>http://docs.oracle.com/javase/7/docs/api</link>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700459 </links>
460 </configuration>
461 <executions>
462 <execution>
463 <id>attach-javadocs</id>
464 <goals>
465 <goal>jar</goal>
466 </goals>
467 </execution>
468 </executions>
469 </plugin>
Kevin Sawicki036e40e2012-02-22 14:50:25 -0800470 <plugin>
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-source-plugin</artifactId>
473 <inherited>true</inherited>
474 <executions>
475 <execution>
476 <id>attach-sources</id>
477 <phase>process-classes</phase>
478 <goals>
479 <goal>jar</goal>
480 </goals>
481 </execution>
482 </executions>
483 </plugin>
Matthias Sohn2d579ff2013-02-25 01:10:40 +0100484 <plugin>
485 <groupId>org.jacoco</groupId>
486 <artifactId>jacoco-maven-plugin</artifactId>
487 <executions>
488 <execution>
489 <goals>
490 <goal>prepare-agent</goal>
491 </goals>
492 <configuration>
493 <destFile>${sonar.jacoco.reportPath}</destFile>
494 <includes>
495 <include>org.eclipse.jgit.*</include>
496 </includes>
497 <excludes>
498 <exclude>**/*Test*.*</exclude>
499 </excludes>
500 <append>true</append>
501 </configuration>
502 </execution>
503 </executions>
504 </plugin>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200505 <plugin>
506 <groupId>org.apache.maven.plugins</groupId>
507 <artifactId>maven-surefire-report-plugin</artifactId>
508 </plugin>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700509 </plugins>
510 </build>
511
Matthias Sohn42c74922014-09-25 11:17:40 +0200512 <reporting>
513 <plugins>
514 <plugin>
515 <groupId>org.apache.maven.plugins</groupId>
516 <artifactId>maven-javadoc-plugin</artifactId>
Matthias Sohnbabc24b2014-11-18 11:02:17 +0100517 <version>${maven-javadoc-plugin-version}</version>
Matthias Sohn42c74922014-09-25 11:17:40 +0200518 <configuration>
519 </configuration>
520 </plugin>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200521 <plugin>
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-jxr-plugin</artifactId>
Matthias Sohne78b0922015-10-18 18:28:04 +0200524 <version>2.5</version>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200525 </plugin>
526 <plugin>
527 <groupId>org.codehaus.mojo</groupId>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200528 <artifactId>findbugs-maven-plugin</artifactId>
Matthias Sohne78b0922015-10-18 18:28:04 +0200529 <version>3.0.0</version>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200530 </plugin>
531 <plugin>
532 <groupId>org.apache.maven.plugins</groupId>
533 <artifactId>maven-surefire-report-plugin</artifactId>
Matthias Sohne78b0922015-10-18 18:28:04 +0200534 <version>2.18.1</version>
Matthias Sohn1e7262a2015-05-29 16:37:20 +0200535 <configuration>
536 <aggregate>true</aggregate>
537 <alwaysGenerateSurefireReport>false</alwaysGenerateSurefireReport>
538 <reportsDirectories>
539 <reportsDirectories>${project.build.directory}/surefire-reports</reportsDirectories>
540 </reportsDirectories>
541 </configuration>
542 </plugin>
Matthias Sohn42c74922014-09-25 11:17:40 +0200543 </plugins>
544 </reporting>
545
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700546 <dependencyManagement>
547 <dependencies>
548 <dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700549 <groupId>com.jcraft</groupId>
550 <artifactId>jsch</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800551 <version>${jsch-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700552 </dependency>
553
554 <dependency>
Colby Ranger3b325912012-08-28 09:08:20 -0700555 <groupId>com.googlecode.javaewah</groupId>
556 <artifactId>JavaEWAH</artifactId>
557 <version>${javaewah-version}</version>
558 </dependency>
559
560 <dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700561 <groupId>args4j</groupId>
562 <artifactId>args4j</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800563 <version>${args4j-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700564 </dependency>
565
566 <dependency>
567 <groupId>junit</groupId>
568 <artifactId>junit</artifactId>
Shawn O. Pearcefc5fc702009-12-28 12:01:19 -0800569 <version>${junit-version}</version>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700570 </dependency>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800571
572 <dependency>
573 <groupId>javax.servlet</groupId>
Matthias Sohnce8baa32015-06-01 11:37:38 +0200574 <artifactId>javax.servlet-api</artifactId>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800575 <version>${servlet-api-version}</version>
576 </dependency>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800577
578 <dependency>
Jonathan Nieder1547eaf2012-12-03 09:55:02 -0800579 <groupId>org.apache.commons</groupId>
580 <artifactId>commons-compress</artifactId>
581 <version>${commons-compress-version}</version>
582 </dependency>
583
584 <dependency>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800585 <groupId>org.eclipse.jetty</groupId>
586 <artifactId>jetty-servlet</artifactId>
587 <version>${jetty-version}</version>
588 </dependency>
Jonathan Niedera544ff72013-05-24 16:57:10 -0700589
590 <dependency>
591 <groupId>org.osgi</groupId>
592 <artifactId>org.osgi.core</artifactId>
593 <version>${osgi-core-version}</version>
594 </dependency>
Christian Halstrick22905162013-08-04 23:37:50 +0200595
596 <dependency>
597 <groupId>org.apache.httpcomponents</groupId>
598 <artifactId>httpclient</artifactId>
599 <version>${httpclient-version}</version>
600 </dependency>
Matthias Sohna8743df2015-02-10 11:58:19 +0100601
Matthias Sohnc18694e2015-02-09 21:54:58 +0100602 <dependency>
603 <groupId>org.slf4j</groupId>
604 <artifactId>slf4j-api</artifactId>
605 <version>${slf4j-version}</version>
606 </dependency>
Matthias Sohna8743df2015-02-10 11:58:19 +0100607
608 <dependency>
609 <groupId>org.slf4j</groupId>
610 <artifactId>slf4j-log4j12</artifactId>
611 <version>${slf4j-version}</version>
612 </dependency>
613
614 <dependency>
615 <groupId>log4j</groupId>
616 <artifactId>log4j</artifactId>
617 <version>${log4j-version}</version>
Matthias Sohndd453f42015-03-09 15:57:48 -0700618 <exclusions>
619 <exclusion>
620 <groupId>javax.mail</groupId>
621 <artifactId>mail</artifactId>
622 </exclusion>
623 <exclusion>
624 <groupId>javax.jms</groupId>
625 <artifactId>jms</artifactId>
626 </exclusion>
627 <exclusion>
628 <groupId>com.sun.jdmk</groupId>
629 <artifactId>jmxtools</artifactId>
630 </exclusion>
631 <exclusion>
632 <groupId>com.sun.jmx</groupId>
633 <artifactId>jmxri</artifactId>
634 </exclusion>
635 </exclusions>
Matthias Sohna8743df2015-02-10 11:58:19 +0100636 </dependency>
Matthias Sohn377616a2015-07-17 23:57:46 +0200637
638 <dependency>
639 <groupId>com.google.code.gson</groupId>
640 <artifactId>gson</artifactId>
641 <version>${gson-version}</version>
642 </dependency>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700643 </dependencies>
644 </dependencyManagement>
645
646 <distributionManagement>
Matthias Sohnaf64b9a2013-02-23 10:11:26 +0100647 <repository>
648 <id>repo.eclipse.org</id>
649 <name>JGit Maven Repository - Releases</name>
650 <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
651 </repository>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700652 <snapshotRepository>
Matthias Sohnaf64b9a2013-02-23 10:11:26 +0100653 <id>repo.eclipse.org</id>
654 <name>JGit Maven Repository - Snapshots</name>
655 <url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700656 <uniqueVersion>true</uniqueVersion>
657 </snapshotRepository>
Matthias Sohndf827272014-09-25 11:18:53 +0200658 <site>
659 <id>jgit.website</id>
660 <name>JGit Website</name>
661 <url>${jgit.website.url}</url>
662 </site>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700663 </distributionManagement>
664
Shawn O. Pearce7e8dc532009-10-31 19:39:18 -0700665 <profiles>
Shawn O. Pearce7e8dc532009-10-31 19:39:18 -0700666 <profile>
Robin Rosenbergdd318162013-02-04 01:10:26 +0100667 <id>jgit.java7</id>
668 <activation>
Alexander Kurtakov20fc1052014-03-28 15:43:10 +0200669 <jdk>[1.7,)</jdk>
Robin Rosenbergdd318162013-02-04 01:10:26 +0100670 </activation>
Robin Rosenbergdd318162013-02-04 01:10:26 +0100671 </profile>
672 <profile>
Matthias Sohn05e530c2014-09-23 00:27:46 +0200673 <id>jgit.java8</id>
674 <activation>
675 <jdk>[1.8,)</jdk>
676 </activation>
677 <build>
678 <plugins>
679 <plugin>
680 <groupId>org.apache.maven.plugins</groupId>
681 <artifactId>maven-javadoc-plugin</artifactId>
682 <configuration>
683 <additionalparam>-Xdoclint:-missing</additionalparam>
684 </configuration>
685 </plugin>
686 </plugins>
687 </build>
688 </profile>
689 <profile>
Matthias Sohndf859782011-04-16 02:08:24 +0200690 <id>static-checks</id>
691 <build>
692 <plugins>
693 <plugin>
694 <groupId>org.codehaus.mojo</groupId>
695 <artifactId>findbugs-maven-plugin</artifactId>
696 </plugin>
697 <plugin>
698 <groupId>org.apache.maven.plugins</groupId>
699 <artifactId>maven-pmd-plugin</artifactId>
700 </plugin>
701 </plugins>
702 </build>
703 </profile>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200704 <profile>
705 <id>eclipse-sign</id>
706 <build>
707 <plugins>
708 <plugin>
709 <groupId>org.eclipse.tycho.extras</groupId>
710 <artifactId>tycho-pack200a-plugin</artifactId>
711 <!-- TODO remove this configuration when https://git.eclipse.org/r/#/c/16027 is available -->
712 <configuration>
713 <supportedProjectTypes>
714 <supportedProjectType>jar</supportedProjectType>
715 </supportedProjectTypes>
716 </configuration>
717 <executions>
718 <execution>
719 <id>pack200-normalize</id>
720 <goals>
721 <goal>normalize</goal>
722 </goals>
723 <phase>verify</phase>
724 </execution>
725 </executions>
726 </plugin>
Matthias Sohneed58242013-09-04 17:05:33 +0200727 <plugin>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200728 <groupId>org.eclipse.cbi.maven.plugins</groupId>
729 <artifactId>eclipse-jarsigner-plugin</artifactId>
730 <executions>
731 <execution>
732 <id>sign</id>
733 <phase>verify</phase>
734 <goals>
735 <goal>sign</goal>
736 </goals>
737 </execution>
738 </executions>
739 </plugin>
Matthias Sohneed58242013-09-04 17:05:33 +0200740 <plugin>
Matthias Sohnb97a35d2013-08-31 00:26:18 +0200741 <groupId>org.eclipse.tycho.extras</groupId>
742 <artifactId>tycho-pack200b-plugin</artifactId>
743 <!-- TODO remove this configuration when https://git.eclipse.org/r/#/c/16027 is available -->
744 <configuration>
745 <supportedProjectTypes>
746 <supportedProjectType>jar</supportedProjectType>
747 </supportedProjectTypes>
748 </configuration>
749 <executions>
750 <execution>
751 <id>pack200-pack</id>
752 <goals>
753 <goal>pack</goal>
754 </goals>
755 <phase>verify</phase>
756 </execution>
757 </executions>
758 </plugin>
759 </plugins>
760 </build>
761 </profile>
Matthias Sohndf827272014-09-25 11:18:53 +0200762 <profile>
763 <id>build-server</id>
764 <properties>
765 <jgit.website.url>file:///home/data/httpd/download.eclipse.org/jgit/site/${project.version}/</jgit.website.url>
766 </properties>
767 </profile>
Shawn O. Pearce7e8dc532009-10-31 19:39:18 -0700768 </profiles>
769
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700770 <modules>
771 <module>org.eclipse.jgit</module>
Chris Aniszczyk87455122011-05-05 18:33:16 +0200772 <module>org.eclipse.jgit.ant</module>
Jonathan Nieder56276d02013-05-24 17:30:18 -0700773 <module>org.eclipse.jgit.archive</module>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700774 <module>org.eclipse.jgit.ui</module>
Matthias Sohn3d3df392014-02-20 22:07:48 +0100775 <module>org.eclipse.jgit.http.apache</module>
Shawn O. Pearce5e33a1d2010-01-06 12:26:54 -0800776 <module>org.eclipse.jgit.http.server</module>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700777 <module>org.eclipse.jgit.pgm</module>
Matthias Sohn536db182015-07-17 16:22:56 +0200778 <module>org.eclipse.jgit.lfs</module>
Matthias Sohn3bae5242015-12-22 16:11:43 +0100779 <module>org.eclipse.jgit.lfs.server</module>
Shawn O. Pearce49aac322009-10-02 18:08:56 -0700780 <module>org.eclipse.jgit.junit</module>
Chris Aniszczyk87455122011-05-05 18:33:16 +0200781 <module>org.eclipse.jgit.junit.http</module>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800782
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700783 <module>org.eclipse.jgit.test</module>
Chris Aniszczyk844bd742011-05-19 11:20:19 -0500784 <module>org.eclipse.jgit.ant.test</module>
Shawn O. Pearcef5eb0d92010-01-12 12:30:42 -0800785 <module>org.eclipse.jgit.http.test</module>
Tomasz Zarnaa2dac2c2012-03-23 09:10:41 +0100786 <module>org.eclipse.jgit.pgm.test</module>
Matthias Sohn536db182015-07-17 16:22:56 +0200787 <module>org.eclipse.jgit.lfs.test</module>
Matthias Sohn3bae5242015-12-22 16:11:43 +0100788 <module>org.eclipse.jgit.lfs.server.test</module>
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700789 </modules>
Anatol Pomozov74419e12011-01-05 12:02:22 -0800790
Shawn O. Pearcedad52ba2009-10-31 18:07:26 -0700791</project>