You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 34KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2009-2010, Google Inc.
  4. Copyright (C) 2012, Matthias Sohn <matthias.sohn@sap.com> and others
  5. This program and the accompanying materials are made available under the
  6. terms of the Eclipse Distribution License v. 1.0 which is available at
  7. http://www.eclipse.org/org/documents/edl-v10.php.
  8. SPDX-License-Identifier: BSD-3-Clause
  9. -->
  10. <project xmlns="http://maven.apache.org/POM/4.0.0"
  11. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  12. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  13. <modelVersion>4.0.0</modelVersion>
  14. <groupId>org.eclipse.jgit</groupId>
  15. <artifactId>org.eclipse.jgit-parent</artifactId>
  16. <packaging>pom</packaging>
  17. <version>5.8.2-SNAPSHOT</version>
  18. <name>JGit - Parent</name>
  19. <url>${jgit-url}</url>
  20. <organization>
  21. <name>Eclipse JGit Project</name>
  22. <url>http://www.eclipse.org/jgit</url>
  23. </organization>
  24. <description>
  25. Pure Java implementation of Git
  26. </description>
  27. <scm>
  28. <url>http://git.eclipse.org/c/jgit/jgit.git/</url>
  29. <connection>scm:git:https://git.eclipse.org/r/jgit/jgit</connection>
  30. </scm>
  31. <ciManagement>
  32. <system>hudson</system>
  33. <url>https://hudson.eclipse.org/jgit/</url>
  34. </ciManagement>
  35. <developers>
  36. <developer>
  37. <name>Andrey Loskutov</name>
  38. </developer>
  39. <developer>
  40. <name>Christian Halstrick</name>
  41. </developer>
  42. <developer>
  43. <name>Dave Borowitz</name>
  44. </developer>
  45. <developer>
  46. <name>David Pursehouse</name>
  47. </developer>
  48. <developer>
  49. <name>Gunnar Wagenknecht</name>
  50. </developer>
  51. <developer>
  52. <name>Jonathan Nieder</name>
  53. </developer>
  54. <developer>
  55. <name>Jonathan Tan</name>
  56. </developer>
  57. <developer>
  58. <name>Matthias Sohn</name>
  59. </developer>
  60. <developer>
  61. <name>Sasa Zivkov</name>
  62. </developer>
  63. <developer>
  64. <name>Terry Parker</name>
  65. </developer>
  66. <developer>
  67. <name>Thomas Wolf</name>
  68. </developer>
  69. </developers>
  70. <mailingLists>
  71. <mailingList>
  72. <name>jgit-dev Mailing List</name>
  73. <post>jgit-dev@eclipse.org</post>
  74. <subscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</subscribe>
  75. <unsubscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</unsubscribe>
  76. <archive>http://dev.eclipse.org/mhonarc/lists/jgit-dev</archive>
  77. </mailingList>
  78. <mailingList>
  79. <name>GIT Mailing List</name>
  80. <post>git@vger.kernel.org</post>
  81. <archive>http://marc.info/?l=git</archive>
  82. </mailingList>
  83. </mailingLists>
  84. <issueManagement>
  85. <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;component=JGit;product=JGit;classification=Technology</url>
  86. <system>Bugzilla</system>
  87. </issueManagement>
  88. <licenses>
  89. <license>
  90. <name>Eclipse Distribution License (New BSD License)</name>
  91. <comments>
  92. All rights reserved.
  93. Redistribution and use in source and binary forms, with or
  94. without modification, are permitted provided that the following
  95. conditions are met:
  96. - Redistributions of source code must retain the above copyright
  97. notice, this list of conditions and the following disclaimer.
  98. - Redistributions in binary form must reproduce the above
  99. copyright notice, this list of conditions and the following
  100. disclaimer in the documentation and/or other materials provided
  101. with the distribution.
  102. - Neither the name of the Eclipse Foundation, Inc. nor the
  103. names of its contributors may be used to endorse or promote
  104. products derived from this software without specific prior
  105. written permission.
  106. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  107. CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  108. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  109. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  110. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  111. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  112. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  113. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  114. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  115. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  116. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  117. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  118. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  119. </comments>
  120. </license>
  121. </licenses>
  122. <properties>
  123. <jgit-url>http://www.eclipse.org/jgit/</jgit-url>
  124. <jgit-copyright>Copyright (c) 2005, 2009 Shawn Pearce, Robin Rosenberg, et.al.</jgit-copyright>
  125. <jgit.website.url>scp://build.eclipse.org/home/data/httpd/download.eclipse.org/jgit/site/${project.version}/</jgit.website.url>
  126. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  127. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  128. <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
  129. <maven.compiler.source>1.8</maven.compiler.source>
  130. <maven.compiler.target>1.8</maven.compiler.target>
  131. <bundle-manifest>${project.build.directory}/META-INF/MANIFEST.MF</bundle-manifest>
  132. <jgit-last-release-version>5.7.0.202003110725-r</jgit-last-release-version>
  133. <apache-sshd-version>2.4.0</apache-sshd-version>
  134. <jsch-version>0.1.55</jsch-version>
  135. <jzlib-version>1.1.1</jzlib-version>
  136. <javaewah-version>1.1.7</javaewah-version>
  137. <junit-version>4.13</junit-version>
  138. <test-fork-count>1C</test-fork-count>
  139. <args4j-version>2.33</args4j-version>
  140. <commons-compress-version>1.19</commons-compress-version>
  141. <osgi-core-version>4.3.1</osgi-core-version>
  142. <servlet-api-version>3.1.0</servlet-api-version>
  143. <jetty-version>9.4.28.v20200408</jetty-version>
  144. <japicmp-version>0.14.3</japicmp-version>
  145. <httpclient-version>4.5.10</httpclient-version>
  146. <httpcore-version>4.4.12</httpcore-version>
  147. <slf4j-version>1.7.2</slf4j-version>
  148. <log4j-version>1.2.15</log4j-version>
  149. <maven-javadoc-plugin-version>3.2.0</maven-javadoc-plugin-version>
  150. <tycho-extras-version>1.7.0</tycho-extras-version>
  151. <gson-version>2.8.2</gson-version>
  152. <bouncycastle-version>1.65</bouncycastle-version>
  153. <spotbugs-maven-plugin-version>4.0.0</spotbugs-maven-plugin-version>
  154. <maven-project-info-reports-plugin-version>3.1.0</maven-project-info-reports-plugin-version>
  155. <maven-jxr-plugin-version>3.0.0</maven-jxr-plugin-version>
  156. <maven-surefire-plugin-version>3.0.0-M4</maven-surefire-plugin-version>
  157. <maven-surefire-report-plugin-version>${maven-surefire-plugin-version}</maven-surefire-report-plugin-version>
  158. <maven-compiler-plugin-version>3.8.1</maven-compiler-plugin-version>
  159. <!-- Properties to enable jacoco code coverage analysis -->
  160. <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
  161. <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
  162. <sonar.jacoco.reportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.reportPath>
  163. </properties>
  164. <repositories>
  165. <repository>
  166. <id>jgit-repository</id>
  167. <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
  168. </repository>
  169. </repositories>
  170. <pluginRepositories>
  171. <pluginRepository>
  172. <id>repo.eclipse.org.cbi-releases</id>
  173. <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
  174. </pluginRepository>
  175. <pluginRepository>
  176. <id>repo.eclipse.org.cbi-snapshots</id>
  177. <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
  178. </pluginRepository>
  179. </pluginRepositories>
  180. <build>
  181. <pluginManagement>
  182. <plugins>
  183. <plugin>
  184. <groupId>org.apache.maven.plugins</groupId>
  185. <artifactId>maven-jar-plugin</artifactId>
  186. <version>3.2.0</version>
  187. <configuration>
  188. <archive>
  189. <manifestEntries>
  190. <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
  191. <Implementation-Version>${project.version}</Implementation-Version>
  192. <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
  193. <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
  194. <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
  195. </manifestEntries>
  196. </archive>
  197. <!-- TODO: uncomment this in order to skip empty artifact of test modules as soon as bug 416299 is fixed
  198. <skipIfEmpty>true</skipIfEmpty>
  199. -->
  200. </configuration>
  201. </plugin>
  202. <plugin>
  203. <artifactId>maven-clean-plugin</artifactId>
  204. <version>3.1.0</version>
  205. </plugin>
  206. <plugin>
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-shade-plugin</artifactId>
  209. <version>3.2.4</version>
  210. </plugin>
  211. <plugin>
  212. <groupId>org.apache.maven.plugins</groupId>
  213. <artifactId>maven-antrun-plugin</artifactId>
  214. <version>3.0.0</version>
  215. </plugin>
  216. <plugin>
  217. <groupId>org.apache.maven.plugins</groupId>
  218. <artifactId>maven-dependency-plugin</artifactId>
  219. <version>3.1.2</version>
  220. </plugin>
  221. <plugin>
  222. <groupId>org.apache.maven.plugins</groupId>
  223. <artifactId>maven-source-plugin</artifactId>
  224. <version>3.2.1</version>
  225. </plugin>
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-javadoc-plugin</artifactId>
  229. <version>${maven-javadoc-plugin-version}</version>
  230. </plugin>
  231. <plugin>
  232. <groupId>org.apache.maven.plugins</groupId>
  233. <artifactId>maven-surefire-plugin</artifactId>
  234. <version>${maven-surefire-plugin-version}</version>
  235. <configuration>
  236. <forkCount>${test-fork-count}</forkCount>
  237. <reuseForks>true</reuseForks>
  238. <argLine>@{argLine}</argLine>
  239. </configuration>
  240. </plugin>
  241. <plugin>
  242. <groupId>org.codehaus.mojo</groupId>
  243. <artifactId>build-helper-maven-plugin</artifactId>
  244. <version>3.1.0</version>
  245. </plugin>
  246. <plugin>
  247. <groupId>com.github.spotbugs</groupId>
  248. <artifactId>spotbugs-maven-plugin</artifactId>
  249. <version>${spotbugs-maven-plugin-version}</version>
  250. <configuration>
  251. <findbugsXmlOutput>true</findbugsXmlOutput>
  252. <failOnError>false</failOnError>
  253. </configuration>
  254. <executions>
  255. <execution>
  256. <goals>
  257. <goal>check</goal>
  258. </goals>
  259. </execution>
  260. </executions>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.apache.maven.plugins</groupId>
  264. <artifactId>maven-pmd-plugin</artifactId>
  265. <version>3.13.0</version>
  266. <configuration>
  267. <sourceEncoding>utf-8</sourceEncoding>
  268. <minimumTokens>100</minimumTokens>
  269. <targetJdk>1.8</targetJdk>
  270. <format>xml</format>
  271. <failOnViolation>false</failOnViolation>
  272. <excludes>
  273. <exclude>**/UbcCheck.java</exclude>
  274. </excludes>
  275. </configuration>
  276. <executions>
  277. <execution>
  278. <goals>
  279. <goal>cpd-check</goal>
  280. </goals>
  281. </execution>
  282. </executions>
  283. </plugin>
  284. <plugin>
  285. <groupId>org.eclipse.cbi.maven.plugins</groupId>
  286. <artifactId>eclipse-jarsigner-plugin</artifactId>
  287. <version>1.1.7</version>
  288. </plugin>
  289. <plugin>
  290. <groupId>org.eclipse.tycho.extras</groupId>
  291. <artifactId>tycho-pack200a-plugin</artifactId>
  292. <version>${tycho-extras-version}</version>
  293. </plugin>
  294. <plugin>
  295. <groupId>org.eclipse.tycho.extras</groupId>
  296. <artifactId>tycho-pack200b-plugin</artifactId>
  297. <version>${tycho-extras-version}</version>
  298. </plugin>
  299. <plugin>
  300. <groupId>org.jacoco</groupId>
  301. <artifactId>jacoco-maven-plugin</artifactId>
  302. <version>0.8.5</version>
  303. </plugin>
  304. <plugin>
  305. <groupId>org.apache.maven.plugins</groupId>
  306. <artifactId>maven-site-plugin</artifactId>
  307. <version>3.9.0</version>
  308. <dependencies>
  309. <dependency><!-- add support for ssh/scp -->
  310. <groupId>org.apache.maven.wagon</groupId>
  311. <artifactId>wagon-ssh</artifactId>
  312. <version>3.4.0</version>
  313. </dependency>
  314. </dependencies>
  315. </plugin>
  316. <plugin>
  317. <groupId>org.apache.maven.plugins</groupId>
  318. <artifactId>maven-surefire-report-plugin</artifactId>
  319. <version>${maven-surefire-report-plugin-version}</version>
  320. </plugin>
  321. <plugin>
  322. <groupId>org.apache.maven.plugins</groupId>
  323. <artifactId>maven-jxr-plugin</artifactId>
  324. <version>${maven-jxr-plugin-version}</version>
  325. </plugin>
  326. <plugin>
  327. <groupId>org.apache.maven.plugins</groupId>
  328. <artifactId>maven-project-info-reports-plugin</artifactId>
  329. <version>${maven-project-info-reports-plugin-version}</version>
  330. </plugin>
  331. <plugin>
  332. <groupId>org.apache.maven.plugins</groupId>
  333. <artifactId>maven-deploy-plugin</artifactId>
  334. <version>3.0.0-M1</version>
  335. </plugin>
  336. <plugin>
  337. <groupId>org.apache.maven.plugins</groupId>
  338. <artifactId>maven-install-plugin</artifactId>
  339. <version>3.0.0-M1</version>
  340. </plugin>
  341. <plugin>
  342. <groupId>org.apache.maven.plugins</groupId>
  343. <artifactId>maven-compiler-plugin</artifactId>
  344. <version>${maven-compiler-plugin-version}</version>
  345. </plugin>
  346. <plugin>
  347. <groupId>org.apache.maven.plugins</groupId>
  348. <artifactId>maven-resources-plugin</artifactId>
  349. <version>3.1.0</version>
  350. </plugin>
  351. <plugin>
  352. <groupId>org.springframework.boot</groupId>
  353. <artifactId>spring-boot-maven-plugin</artifactId>
  354. <version>2.1.5.RELEASE</version>
  355. </plugin>
  356. </plugins>
  357. </pluginManagement>
  358. <plugins>
  359. <plugin>
  360. <groupId>org.apache.maven.plugins</groupId>
  361. <artifactId>maven-enforcer-plugin</artifactId>
  362. <version>3.0.0-M3</version>
  363. <executions>
  364. <execution>
  365. <id>enforce-maven</id>
  366. <goals>
  367. <goal>enforce</goal>
  368. </goals>
  369. <configuration>
  370. <rules>
  371. <requireMavenVersion>
  372. <version>3.6.2</version>
  373. </requireMavenVersion>
  374. </rules>
  375. </configuration>
  376. </execution>
  377. </executions>
  378. </plugin>
  379. <plugin>
  380. <artifactId>maven-compiler-plugin</artifactId>
  381. </plugin>
  382. <plugin>
  383. <groupId>org.apache.maven.plugins</groupId>
  384. <artifactId>maven-antrun-plugin</artifactId>
  385. <executions>
  386. <execution>
  387. <id>translate-qualifier</id>
  388. <phase>generate-resources</phase>
  389. <configuration>
  390. <target if="${translate-qualifier}">
  391. <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
  392. <replace file="${bundle-manifest}">
  393. <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
  394. </replace>
  395. </target>
  396. </configuration>
  397. <goals>
  398. <goal>run</goal>
  399. </goals>
  400. </execution>
  401. </executions>
  402. </plugin>
  403. <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property -->
  404. <plugin>
  405. <groupId>org.codehaus.mojo</groupId>
  406. <artifactId>build-helper-maven-plugin</artifactId>
  407. <executions>
  408. <execution>
  409. <id>set-osgi-version</id>
  410. <phase>validate</phase>
  411. <goals>
  412. <goal>parse-version</goal>
  413. </goals>
  414. </execution>
  415. </executions>
  416. </plugin>
  417. <plugin>
  418. <groupId>org.apache.maven.plugins</groupId>
  419. <artifactId>maven-javadoc-plugin</artifactId>
  420. <configuration>
  421. <additionalJOption>-Xdoclint:-missing</additionalJOption>
  422. <encoding>${project.build.sourceEncoding}</encoding>
  423. <quiet>true</quiet>
  424. <excludePackageNames>org.eclipse.jgit.http.test</excludePackageNames>
  425. <links>
  426. <link>http://docs.oracle.com/javase/8/docs/api</link>
  427. </links>
  428. </configuration>
  429. <executions>
  430. <execution>
  431. <goals>
  432. <goal>jar</goal>
  433. </goals>
  434. </execution>
  435. </executions>
  436. </plugin>
  437. <plugin>
  438. <groupId>org.apache.maven.plugins</groupId>
  439. <artifactId>maven-source-plugin</artifactId>
  440. <inherited>true</inherited>
  441. <executions>
  442. <execution>
  443. <id>attach-sources</id>
  444. <phase>process-classes</phase>
  445. <goals>
  446. <goal>jar</goal>
  447. </goals>
  448. </execution>
  449. </executions>
  450. </plugin>
  451. <plugin>
  452. <groupId>org.jacoco</groupId>
  453. <artifactId>jacoco-maven-plugin</artifactId>
  454. <executions>
  455. <execution>
  456. <id>default-prepare-agent</id>
  457. <goals>
  458. <goal>prepare-agent</goal>
  459. </goals>
  460. <configuration>
  461. <destFile>${sonar.jacoco.reportPath}</destFile>
  462. <includes>
  463. <include>org.eclipse.jgit.*</include>
  464. </includes>
  465. <excludes>
  466. <exclude>**/*Test*.*</exclude>
  467. </excludes>
  468. <append>true</append>
  469. </configuration>
  470. </execution>
  471. <execution>
  472. <id>default-report</id>
  473. <goals>
  474. <goal>report</goal>
  475. </goals>
  476. </execution>
  477. <execution>
  478. <id>default-check</id>
  479. <goals>
  480. <goal>check</goal>
  481. </goals>
  482. <configuration>
  483. <haltOnFailure>false</haltOnFailure>
  484. <rules>
  485. <rule>
  486. <element>BUNDLE</element>
  487. <limits>
  488. <limit>
  489. <counter>INSTRUCTION</counter>
  490. <value>COVEREDRATIO</value>
  491. <minimum>50%</minimum>
  492. </limit>
  493. <limit>
  494. <counter>CLASS</counter>
  495. <value>MISSEDCOUNT</value>
  496. <maximum>10</maximum>
  497. </limit>
  498. </limits>
  499. </rule>
  500. </rules>
  501. </configuration>
  502. </execution>
  503. </executions>
  504. </plugin>
  505. <plugin>
  506. <groupId>org.apache.maven.plugins</groupId>
  507. <artifactId>maven-surefire-report-plugin</artifactId>
  508. </plugin>
  509. </plugins>
  510. </build>
  511. <reporting>
  512. <plugins>
  513. <plugin>
  514. <groupId>org.apache.maven.plugins</groupId>
  515. <artifactId>maven-javadoc-plugin</artifactId>
  516. <version>${maven-javadoc-plugin-version}</version>
  517. <reportSets>
  518. <reportSet>
  519. <reports>
  520. <report>javadoc</report>
  521. </reports>
  522. </reportSet>
  523. <reportSet>
  524. <id>aggregate</id>
  525. <inherited>false</inherited>
  526. <reports>
  527. <report>aggregate</report>
  528. </reports>
  529. </reportSet>
  530. </reportSets>
  531. <configuration>
  532. <additionalJOption>-Xdoclint:-missing</additionalJOption>
  533. </configuration>
  534. </plugin>
  535. <plugin>
  536. <groupId>org.apache.maven.plugins</groupId>
  537. <artifactId>maven-jxr-plugin</artifactId>
  538. <version>${maven-jxr-plugin-version}</version>
  539. </plugin>
  540. <plugin>
  541. <groupId>com.github.spotbugs</groupId>
  542. <artifactId>spotbugs-maven-plugin</artifactId>
  543. <version>${spotbugs-maven-plugin-version}</version>
  544. </plugin>
  545. <plugin>
  546. <groupId>org.apache.maven.plugins</groupId>
  547. <artifactId>maven-surefire-report-plugin</artifactId>
  548. <version>${maven-surefire-report-plugin-version}</version>
  549. <configuration>
  550. <aggregate>true</aggregate>
  551. <alwaysGenerateSurefireReport>false</alwaysGenerateSurefireReport>
  552. <reportsDirectories>
  553. <reportsDirectories>${project.build.directory}/surefire-reports</reportsDirectories>
  554. </reportsDirectories>
  555. </configuration>
  556. </plugin>
  557. <plugin>
  558. <groupId>org.apache.maven.plugins</groupId>
  559. <artifactId>maven-project-info-reports-plugin</artifactId>
  560. <version>${maven-project-info-reports-plugin-version}</version>
  561. <reportSets>
  562. <reportSet>
  563. <reports>
  564. <report>dependencies</report>
  565. <report>dependency-convergence</report>
  566. <report>dependency-management</report>
  567. <report>index</report>
  568. <report>summary</report>
  569. <report>team</report>
  570. <report>mailing-lists</report>
  571. <report>ci-management</report>
  572. <report>issue-management</report>
  573. <report>licenses</report>
  574. <report>scm</report>
  575. </reports>
  576. </reportSet>
  577. </reportSets>
  578. </plugin>
  579. <plugin>
  580. <groupId>org.jacoco</groupId>
  581. <artifactId>jacoco-maven-plugin</artifactId>
  582. <reportSets>
  583. <reportSet>
  584. <reports>
  585. <report>report</report>
  586. </reports>
  587. </reportSet>
  588. <reportSet>
  589. <id>aggregate</id>
  590. <inherited>false</inherited>
  591. <reports>
  592. <report>report-aggregate</report>
  593. </reports>
  594. </reportSet>
  595. </reportSets>
  596. </plugin>
  597. </plugins>
  598. </reporting>
  599. <dependencyManagement>
  600. <dependencies>
  601. <dependency>
  602. <groupId>com.jcraft</groupId>
  603. <artifactId>jsch</artifactId>
  604. <version>${jsch-version}</version>
  605. </dependency>
  606. <dependency>
  607. <groupId>com.jcraft</groupId>
  608. <artifactId>jzlib</artifactId>
  609. <version>${jzlib-version}</version>
  610. </dependency>
  611. <dependency>
  612. <groupId>com.googlecode.javaewah</groupId>
  613. <artifactId>JavaEWAH</artifactId>
  614. <version>${javaewah-version}</version>
  615. </dependency>
  616. <dependency>
  617. <groupId>args4j</groupId>
  618. <artifactId>args4j</artifactId>
  619. <version>${args4j-version}</version>
  620. </dependency>
  621. <dependency>
  622. <groupId>junit</groupId>
  623. <artifactId>junit</artifactId>
  624. <version>${junit-version}</version>
  625. </dependency>
  626. <dependency>
  627. <groupId>javax.servlet</groupId>
  628. <artifactId>javax.servlet-api</artifactId>
  629. <version>${servlet-api-version}</version>
  630. </dependency>
  631. <dependency>
  632. <groupId>org.apache.commons</groupId>
  633. <artifactId>commons-compress</artifactId>
  634. <version>${commons-compress-version}</version>
  635. </dependency>
  636. <dependency>
  637. <groupId>org.tukaani</groupId>
  638. <artifactId>xz</artifactId>
  639. <version>1.8</version>
  640. <optional>true</optional>
  641. </dependency>
  642. <dependency>
  643. <groupId>org.eclipse.jetty</groupId>
  644. <artifactId>jetty-servlet</artifactId>
  645. <version>${jetty-version}</version>
  646. </dependency>
  647. <dependency>
  648. <groupId>org.osgi</groupId>
  649. <artifactId>org.osgi.core</artifactId>
  650. <version>${osgi-core-version}</version>
  651. </dependency>
  652. <dependency>
  653. <groupId>org.apache.httpcomponents</groupId>
  654. <artifactId>httpclient</artifactId>
  655. <version>${httpclient-version}</version>
  656. </dependency>
  657. <dependency>
  658. <groupId>org.apache.httpcomponents</groupId>
  659. <artifactId>httpcore</artifactId>
  660. <version>${httpcore-version}</version>
  661. </dependency>
  662. <dependency>
  663. <groupId>org.slf4j</groupId>
  664. <artifactId>slf4j-api</artifactId>
  665. <version>${slf4j-version}</version>
  666. </dependency>
  667. <dependency>
  668. <groupId>org.slf4j</groupId>
  669. <artifactId>slf4j-log4j12</artifactId>
  670. <version>${slf4j-version}</version>
  671. </dependency>
  672. <dependency>
  673. <groupId>log4j</groupId>
  674. <artifactId>log4j</artifactId>
  675. <version>${log4j-version}</version>
  676. <exclusions>
  677. <exclusion>
  678. <groupId>javax.mail</groupId>
  679. <artifactId>mail</artifactId>
  680. </exclusion>
  681. <exclusion>
  682. <groupId>javax.jms</groupId>
  683. <artifactId>jms</artifactId>
  684. </exclusion>
  685. <exclusion>
  686. <groupId>com.sun.jdmk</groupId>
  687. <artifactId>jmxtools</artifactId>
  688. </exclusion>
  689. <exclusion>
  690. <groupId>com.sun.jmx</groupId>
  691. <artifactId>jmxri</artifactId>
  692. </exclusion>
  693. </exclusions>
  694. </dependency>
  695. <dependency>
  696. <groupId>com.google.code.gson</groupId>
  697. <artifactId>gson</artifactId>
  698. <version>${gson-version}</version>
  699. </dependency>
  700. <dependency>
  701. <groupId>org.bouncycastle</groupId>
  702. <artifactId>bcpg-jdk15on</artifactId>
  703. <version>${bouncycastle-version}</version>
  704. </dependency>
  705. <dependency>
  706. <groupId>org.bouncycastle</groupId>
  707. <artifactId>bcprov-jdk15on</artifactId>
  708. <version>1.65.01</version>
  709. </dependency>
  710. <dependency>
  711. <groupId>org.bouncycastle</groupId>
  712. <artifactId>bcpkix-jdk15on</artifactId>
  713. <version>${bouncycastle-version}</version>
  714. </dependency>
  715. <dependency>
  716. <groupId>org.assertj</groupId>
  717. <artifactId>assertj-core</artifactId>
  718. <version>3.14.0</version>
  719. </dependency>
  720. </dependencies>
  721. </dependencyManagement>
  722. <distributionManagement>
  723. <repository>
  724. <id>repo.eclipse.org</id>
  725. <name>JGit Maven Repository - Releases</name>
  726. <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
  727. </repository>
  728. <snapshotRepository>
  729. <id>repo.eclipse.org</id>
  730. <name>JGit Maven Repository - Snapshots</name>
  731. <url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url>
  732. <uniqueVersion>true</uniqueVersion>
  733. </snapshotRepository>
  734. <site>
  735. <id>jgit.website</id>
  736. <name>JGit Website</name>
  737. <url>${jgit.website.url}</url>
  738. </site>
  739. </distributionManagement>
  740. <profiles>
  741. <profile>
  742. <id>javac</id>
  743. <build>
  744. <plugins>
  745. <plugin>
  746. <artifactId>maven-compiler-plugin</artifactId>
  747. <configuration>
  748. <encoding>UTF-8</encoding>
  749. <source>1.8</source>
  750. <target>1.8</target>
  751. </configuration>
  752. <executions>
  753. <execution>
  754. <id>default-compile</id>
  755. <phase>compile</phase>
  756. <goals>
  757. <goal>compile</goal>
  758. </goals>
  759. <configuration>
  760. <includes>
  761. <include>org/eclipse/jgit/transport/InsecureCipherFactory.java</include>
  762. </includes>
  763. </configuration>
  764. </execution>
  765. <execution>
  766. <id>compile-with-errorprone</id>
  767. <phase>compile</phase>
  768. <goals>
  769. <goal>compile</goal>
  770. </goals>
  771. <configuration>
  772. <compilerId>javac-with-errorprone</compilerId>
  773. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  774. <excludes>
  775. <exclude>org/eclipse/jgit/transport/InsecureCipherFactory.java</exclude>
  776. </excludes>
  777. </configuration>
  778. </execution>
  779. </executions>
  780. <dependencies>
  781. <dependency>
  782. <groupId>org.codehaus.plexus</groupId>
  783. <artifactId>plexus-compiler-javac</artifactId>
  784. <version>2.8.6</version>
  785. </dependency>
  786. <dependency>
  787. <groupId>org.codehaus.plexus</groupId>
  788. <artifactId>plexus-compiler-javac-errorprone</artifactId>
  789. <version>2.8.6</version>
  790. </dependency>
  791. <!-- override plexus-compiler-javac-errorprone's dependency on
  792. Error Prone with the latest version -->
  793. <dependency>
  794. <groupId>com.google.errorprone</groupId>
  795. <artifactId>error_prone_core</artifactId>
  796. <version>2.3.4</version>
  797. </dependency>
  798. </dependencies>
  799. </plugin>
  800. </plugins>
  801. </build>
  802. </profile>
  803. <profile>
  804. <id>ecj</id>
  805. <activation>
  806. <activeByDefault>true</activeByDefault>
  807. </activation>
  808. <build>
  809. <plugins>
  810. <plugin>
  811. <artifactId>maven-compiler-plugin</artifactId>
  812. <configuration>
  813. <compilerId>eclipse</compilerId>
  814. <encoding>UTF-8</encoding>
  815. <source>1.8</source>
  816. <target>1.8</target>
  817. <!-- Passing arguments is a trainwreck, see https://issues.apache.org/jira/browse/MCOMPILER-123 -->
  818. <compilerArguments>
  819. <properties>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</properties>
  820. </compilerArguments>
  821. <showWarnings>true</showWarnings>
  822. <showDeprecation>true</showDeprecation>
  823. </configuration>
  824. <dependencies>
  825. <dependency>
  826. <groupId>org.codehaus.plexus</groupId>
  827. <artifactId>plexus-compiler-eclipse</artifactId>
  828. <version>2.8.6</version>
  829. </dependency>
  830. <dependency>
  831. <groupId>org.eclipse.jdt</groupId>
  832. <artifactId>ecj</artifactId>
  833. <version>3.21.0</version>
  834. </dependency>
  835. </dependencies>
  836. </plugin>
  837. </plugins>
  838. </build>
  839. </profile>
  840. <profile>
  841. <id>static-checks</id>
  842. <build>
  843. <plugins>
  844. <plugin>
  845. <groupId>com.github.spotbugs</groupId>
  846. <artifactId>spotbugs-maven-plugin</artifactId>
  847. </plugin>
  848. <plugin>
  849. <groupId>org.apache.maven.plugins</groupId>
  850. <artifactId>maven-pmd-plugin</artifactId>
  851. </plugin>
  852. </plugins>
  853. </build>
  854. </profile>
  855. <profile>
  856. <id>eclipse-sign</id>
  857. <build>
  858. <plugins>
  859. <plugin>
  860. <groupId>org.eclipse.tycho.extras</groupId>
  861. <artifactId>tycho-pack200a-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-normalize</id>
  871. <goals>
  872. <goal>normalize</goal>
  873. </goals>
  874. <phase>verify</phase>
  875. </execution>
  876. </executions>
  877. </plugin>
  878. <plugin>
  879. <groupId>org.eclipse.cbi.maven.plugins</groupId>
  880. <artifactId>eclipse-jarsigner-plugin</artifactId>
  881. <executions>
  882. <execution>
  883. <id>sign</id>
  884. <phase>verify</phase>
  885. <goals>
  886. <goal>sign</goal>
  887. </goals>
  888. </execution>
  889. </executions>
  890. </plugin>
  891. <plugin>
  892. <groupId>org.eclipse.tycho.extras</groupId>
  893. <artifactId>tycho-pack200b-plugin</artifactId>
  894. <!-- TODO remove this configuration when https://git.eclipse.org/r/#/c/16027 is available -->
  895. <configuration>
  896. <supportedProjectTypes>
  897. <supportedProjectType>jar</supportedProjectType>
  898. </supportedProjectTypes>
  899. </configuration>
  900. <executions>
  901. <execution>
  902. <id>pack200-pack</id>
  903. <goals>
  904. <goal>pack</goal>
  905. </goals>
  906. <phase>verify</phase>
  907. </execution>
  908. </executions>
  909. </plugin>
  910. </plugins>
  911. </build>
  912. </profile>
  913. <profile>
  914. <id>build-server</id>
  915. <properties>
  916. <jgit.website.url>file:///home/data/httpd/download.eclipse.org/jgit/site/${project.version}/</jgit.website.url>
  917. </properties>
  918. </profile>
  919. </profiles>
  920. <modules>
  921. <module>org.eclipse.jgit</module>
  922. <module>org.eclipse.jgit.ant</module>
  923. <module>org.eclipse.jgit.archive</module>
  924. <module>org.eclipse.jgit.ui</module>
  925. <module>org.eclipse.jgit.gpg.bc</module>
  926. <module>org.eclipse.jgit.http.apache</module>
  927. <module>org.eclipse.jgit.http.server</module>
  928. <module>org.eclipse.jgit.ssh.apache</module>
  929. <module>org.eclipse.jgit.ssh.jsch</module>
  930. <module>org.eclipse.jgit.pgm</module>
  931. <module>org.eclipse.jgit.lfs</module>
  932. <module>org.eclipse.jgit.lfs.server</module>
  933. <module>org.eclipse.jgit.junit</module>
  934. <module>org.eclipse.jgit.junit.http</module>
  935. <module>org.eclipse.jgit.junit.ssh</module>
  936. <module>org.eclipse.jgit.test</module>
  937. <module>org.eclipse.jgit.ant.test</module>
  938. <module>org.eclipse.jgit.gpg.bc.test</module>
  939. <module>org.eclipse.jgit.http.test</module>
  940. <module>org.eclipse.jgit.pgm.test</module>
  941. <module>org.eclipse.jgit.lfs.test</module>
  942. <module>org.eclipse.jgit.lfs.server.test</module>
  943. <module>org.eclipse.jgit.ssh.apache.test</module>
  944. <module>org.eclipse.jgit.ssh.jsch.test</module>
  945. <module>org.eclipse.jgit.coverage</module>
  946. <module>org.eclipse.jgit.benchmarks</module>
  947. </modules>
  948. </project>