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 33KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005
  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.9.1-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>https://git.eclipse.org/r/plugins/gitiles/jgit/jgit</url>
  29. <connection>scm:git:https://git.eclipse.org/r/jgit/jgit</connection>
  30. </scm>
  31. <ciManagement>
  32. <system>Jenkins</system>
  33. <url>https://ci.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>https://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.8.0.202006091008-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.30.v20200611</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.4</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. <plexus-compiler-version>2.8.8</plexus-compiler-version>
  160. <!-- Properties to enable jacoco code coverage analysis -->
  161. <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
  162. <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
  163. <sonar.jacoco.reportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.reportPath>
  164. </properties>
  165. <repositories>
  166. <repository>
  167. <id>jgit-repository</id>
  168. <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
  169. </repository>
  170. </repositories>
  171. <pluginRepositories>
  172. <pluginRepository>
  173. <id>repo.eclipse.org.cbi-releases</id>
  174. <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
  175. </pluginRepository>
  176. <pluginRepository>
  177. <id>repo.eclipse.org.cbi-snapshots</id>
  178. <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
  179. </pluginRepository>
  180. </pluginRepositories>
  181. <build>
  182. <pluginManagement>
  183. <plugins>
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-jar-plugin</artifactId>
  187. <version>3.2.0</version>
  188. <configuration>
  189. <archive>
  190. <manifestEntries>
  191. <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
  192. <Implementation-Version>${project.version}</Implementation-Version>
  193. <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
  194. <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
  195. <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
  196. </manifestEntries>
  197. </archive>
  198. <!-- TODO: uncomment this in order to skip empty artifact of test modules as soon as bug 416299 is fixed
  199. <skipIfEmpty>true</skipIfEmpty>
  200. -->
  201. </configuration>
  202. </plugin>
  203. <plugin>
  204. <artifactId>maven-clean-plugin</artifactId>
  205. <version>3.1.0</version>
  206. </plugin>
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-shade-plugin</artifactId>
  210. <version>3.2.4</version>
  211. </plugin>
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-antrun-plugin</artifactId>
  215. <version>3.0.0</version>
  216. </plugin>
  217. <plugin>
  218. <groupId>org.apache.maven.plugins</groupId>
  219. <artifactId>maven-dependency-plugin</artifactId>
  220. <version>3.1.2</version>
  221. </plugin>
  222. <plugin>
  223. <groupId>org.apache.maven.plugins</groupId>
  224. <artifactId>maven-source-plugin</artifactId>
  225. <version>3.2.1</version>
  226. </plugin>
  227. <plugin>
  228. <groupId>org.apache.maven.plugins</groupId>
  229. <artifactId>maven-javadoc-plugin</artifactId>
  230. <version>${maven-javadoc-plugin-version}</version>
  231. </plugin>
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-surefire-plugin</artifactId>
  235. <version>${maven-surefire-plugin-version}</version>
  236. <configuration>
  237. <forkCount>${test-fork-count}</forkCount>
  238. <reuseForks>true</reuseForks>
  239. <argLine>@{argLine}</argLine>
  240. </configuration>
  241. </plugin>
  242. <plugin>
  243. <groupId>org.codehaus.mojo</groupId>
  244. <artifactId>build-helper-maven-plugin</artifactId>
  245. <version>3.2.0</version>
  246. </plugin>
  247. <plugin>
  248. <groupId>com.github.spotbugs</groupId>
  249. <artifactId>spotbugs-maven-plugin</artifactId>
  250. <version>${spotbugs-maven-plugin-version}</version>
  251. <configuration>
  252. <findbugsXmlOutput>true</findbugsXmlOutput>
  253. <failOnError>false</failOnError>
  254. </configuration>
  255. <executions>
  256. <execution>
  257. <goals>
  258. <goal>check</goal>
  259. </goals>
  260. </execution>
  261. </executions>
  262. </plugin>
  263. <plugin>
  264. <groupId>org.apache.maven.plugins</groupId>
  265. <artifactId>maven-pmd-plugin</artifactId>
  266. <version>3.13.0</version>
  267. <configuration>
  268. <sourceEncoding>utf-8</sourceEncoding>
  269. <minimumTokens>100</minimumTokens>
  270. <targetJdk>1.8</targetJdk>
  271. <format>xml</format>
  272. <failOnViolation>false</failOnViolation>
  273. <excludes>
  274. <exclude>**/UbcCheck.java</exclude>
  275. </excludes>
  276. </configuration>
  277. <executions>
  278. <execution>
  279. <goals>
  280. <goal>cpd-check</goal>
  281. </goals>
  282. </execution>
  283. </executions>
  284. </plugin>
  285. <plugin>
  286. <groupId>org.eclipse.cbi.maven.plugins</groupId>
  287. <artifactId>eclipse-jarsigner-plugin</artifactId>
  288. <version>1.1.7</version>
  289. </plugin>
  290. <plugin>
  291. <groupId>org.eclipse.tycho.extras</groupId>
  292. <artifactId>tycho-pack200a-plugin</artifactId>
  293. <version>${tycho-extras-version}</version>
  294. </plugin>
  295. <plugin>
  296. <groupId>org.eclipse.tycho.extras</groupId>
  297. <artifactId>tycho-pack200b-plugin</artifactId>
  298. <version>${tycho-extras-version}</version>
  299. </plugin>
  300. <plugin>
  301. <groupId>org.jacoco</groupId>
  302. <artifactId>jacoco-maven-plugin</artifactId>
  303. <version>0.8.5</version>
  304. </plugin>
  305. <plugin>
  306. <groupId>org.apache.maven.plugins</groupId>
  307. <artifactId>maven-site-plugin</artifactId>
  308. <version>3.9.1</version>
  309. <dependencies>
  310. <dependency><!-- add support for ssh/scp -->
  311. <groupId>org.apache.maven.wagon</groupId>
  312. <artifactId>wagon-ssh</artifactId>
  313. <version>3.4.0</version>
  314. </dependency>
  315. </dependencies>
  316. </plugin>
  317. <plugin>
  318. <groupId>org.apache.maven.plugins</groupId>
  319. <artifactId>maven-surefire-report-plugin</artifactId>
  320. <version>${maven-surefire-report-plugin-version}</version>
  321. </plugin>
  322. <plugin>
  323. <groupId>org.apache.maven.plugins</groupId>
  324. <artifactId>maven-jxr-plugin</artifactId>
  325. <version>${maven-jxr-plugin-version}</version>
  326. </plugin>
  327. <plugin>
  328. <groupId>org.apache.maven.plugins</groupId>
  329. <artifactId>maven-project-info-reports-plugin</artifactId>
  330. <version>${maven-project-info-reports-plugin-version}</version>
  331. </plugin>
  332. <plugin>
  333. <groupId>org.apache.maven.plugins</groupId>
  334. <artifactId>maven-deploy-plugin</artifactId>
  335. <version>3.0.0-M1</version>
  336. </plugin>
  337. <plugin>
  338. <groupId>org.apache.maven.plugins</groupId>
  339. <artifactId>maven-install-plugin</artifactId>
  340. <version>3.0.0-M1</version>
  341. </plugin>
  342. <plugin>
  343. <groupId>org.apache.maven.plugins</groupId>
  344. <artifactId>maven-compiler-plugin</artifactId>
  345. <version>${maven-compiler-plugin-version}</version>
  346. </plugin>
  347. <plugin>
  348. <groupId>org.apache.maven.plugins</groupId>
  349. <artifactId>maven-resources-plugin</artifactId>
  350. <version>3.2.0</version>
  351. </plugin>
  352. <plugin>
  353. <groupId>org.springframework.boot</groupId>
  354. <artifactId>spring-boot-maven-plugin</artifactId>
  355. <version>2.1.5.RELEASE</version>
  356. </plugin>
  357. </plugins>
  358. </pluginManagement>
  359. <plugins>
  360. <plugin>
  361. <groupId>org.apache.maven.plugins</groupId>
  362. <artifactId>maven-enforcer-plugin</artifactId>
  363. <version>3.0.0-M3</version>
  364. <executions>
  365. <execution>
  366. <id>enforce-maven</id>
  367. <goals>
  368. <goal>enforce</goal>
  369. </goals>
  370. <configuration>
  371. <rules>
  372. <requireMavenVersion>
  373. <version>3.6.2</version>
  374. </requireMavenVersion>
  375. </rules>
  376. </configuration>
  377. </execution>
  378. </executions>
  379. </plugin>
  380. <plugin>
  381. <artifactId>maven-compiler-plugin</artifactId>
  382. </plugin>
  383. <plugin>
  384. <groupId>org.apache.maven.plugins</groupId>
  385. <artifactId>maven-antrun-plugin</artifactId>
  386. <executions>
  387. <execution>
  388. <id>translate-qualifier</id>
  389. <phase>generate-resources</phase>
  390. <configuration>
  391. <target if="${translate-qualifier}">
  392. <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
  393. <replace file="${bundle-manifest}">
  394. <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
  395. </replace>
  396. </target>
  397. </configuration>
  398. <goals>
  399. <goal>run</goal>
  400. </goals>
  401. </execution>
  402. </executions>
  403. </plugin>
  404. <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property -->
  405. <plugin>
  406. <groupId>org.codehaus.mojo</groupId>
  407. <artifactId>build-helper-maven-plugin</artifactId>
  408. <executions>
  409. <execution>
  410. <id>set-osgi-version</id>
  411. <phase>validate</phase>
  412. <goals>
  413. <goal>parse-version</goal>
  414. </goals>
  415. </execution>
  416. </executions>
  417. </plugin>
  418. <plugin>
  419. <groupId>org.apache.maven.plugins</groupId>
  420. <artifactId>maven-javadoc-plugin</artifactId>
  421. <configuration>
  422. <additionalJOption>-Xdoclint:-missing</additionalJOption>
  423. <encoding>${project.build.sourceEncoding}</encoding>
  424. <quiet>true</quiet>
  425. <excludePackageNames>org.eclipse.jgit.http.test</excludePackageNames>
  426. <links>
  427. <link>http://docs.oracle.com/javase/8/docs/api</link>
  428. </links>
  429. </configuration>
  430. <executions>
  431. <execution>
  432. <goals>
  433. <goal>jar</goal>
  434. </goals>
  435. </execution>
  436. </executions>
  437. </plugin>
  438. <plugin>
  439. <groupId>org.apache.maven.plugins</groupId>
  440. <artifactId>maven-source-plugin</artifactId>
  441. <inherited>true</inherited>
  442. <executions>
  443. <execution>
  444. <id>attach-sources</id>
  445. <phase>process-classes</phase>
  446. <goals>
  447. <goal>jar</goal>
  448. </goals>
  449. </execution>
  450. </executions>
  451. </plugin>
  452. <plugin>
  453. <groupId>org.jacoco</groupId>
  454. <artifactId>jacoco-maven-plugin</artifactId>
  455. <executions>
  456. <execution>
  457. <id>default-prepare-agent</id>
  458. <goals>
  459. <goal>prepare-agent</goal>
  460. </goals>
  461. <configuration>
  462. <destFile>${sonar.jacoco.reportPath}</destFile>
  463. <includes>
  464. <include>org.eclipse.jgit.*</include>
  465. </includes>
  466. <excludes>
  467. <exclude>**/*Test*.*</exclude>
  468. </excludes>
  469. <append>true</append>
  470. </configuration>
  471. </execution>
  472. <execution>
  473. <id>default-report</id>
  474. <goals>
  475. <goal>report</goal>
  476. </goals>
  477. </execution>
  478. <execution>
  479. <id>default-check</id>
  480. <goals>
  481. <goal>check</goal>
  482. </goals>
  483. <configuration>
  484. <haltOnFailure>false</haltOnFailure>
  485. <rules>
  486. <rule>
  487. <element>BUNDLE</element>
  488. <limits>
  489. <limit>
  490. <counter>INSTRUCTION</counter>
  491. <value>COVEREDRATIO</value>
  492. <minimum>50%</minimum>
  493. </limit>
  494. <limit>
  495. <counter>CLASS</counter>
  496. <value>MISSEDCOUNT</value>
  497. <maximum>10</maximum>
  498. </limit>
  499. </limits>
  500. </rule>
  501. </rules>
  502. </configuration>
  503. </execution>
  504. </executions>
  505. </plugin>
  506. <plugin>
  507. <groupId>org.apache.maven.plugins</groupId>
  508. <artifactId>maven-surefire-report-plugin</artifactId>
  509. </plugin>
  510. </plugins>
  511. </build>
  512. <reporting>
  513. <plugins>
  514. <plugin>
  515. <groupId>org.apache.maven.plugins</groupId>
  516. <artifactId>maven-javadoc-plugin</artifactId>
  517. <version>${maven-javadoc-plugin-version}</version>
  518. <reportSets>
  519. <reportSet>
  520. <reports>
  521. <report>javadoc</report>
  522. </reports>
  523. </reportSet>
  524. <reportSet>
  525. <id>aggregate</id>
  526. <inherited>false</inherited>
  527. <reports>
  528. <report>aggregate</report>
  529. </reports>
  530. </reportSet>
  531. </reportSets>
  532. <configuration>
  533. <additionalJOption>-Xdoclint:-missing</additionalJOption>
  534. </configuration>
  535. </plugin>
  536. <plugin>
  537. <groupId>org.apache.maven.plugins</groupId>
  538. <artifactId>maven-jxr-plugin</artifactId>
  539. <version>${maven-jxr-plugin-version}</version>
  540. </plugin>
  541. <plugin>
  542. <groupId>com.github.spotbugs</groupId>
  543. <artifactId>spotbugs-maven-plugin</artifactId>
  544. <version>${spotbugs-maven-plugin-version}</version>
  545. </plugin>
  546. <plugin>
  547. <groupId>org.apache.maven.plugins</groupId>
  548. <artifactId>maven-surefire-report-plugin</artifactId>
  549. <version>${maven-surefire-report-plugin-version}</version>
  550. <configuration>
  551. <aggregate>true</aggregate>
  552. <alwaysGenerateSurefireReport>false</alwaysGenerateSurefireReport>
  553. <reportsDirectories>
  554. <reportsDirectories>${project.build.directory}/surefire-reports</reportsDirectories>
  555. </reportsDirectories>
  556. </configuration>
  557. </plugin>
  558. <plugin>
  559. <groupId>org.apache.maven.plugins</groupId>
  560. <artifactId>maven-project-info-reports-plugin</artifactId>
  561. <version>${maven-project-info-reports-plugin-version}</version>
  562. <reportSets>
  563. <reportSet>
  564. <reports>
  565. <report>dependencies</report>
  566. <report>dependency-convergence</report>
  567. <report>dependency-management</report>
  568. <report>index</report>
  569. <report>summary</report>
  570. <report>team</report>
  571. <report>mailing-lists</report>
  572. <report>ci-management</report>
  573. <report>issue-management</report>
  574. <report>licenses</report>
  575. <report>scm</report>
  576. </reports>
  577. </reportSet>
  578. </reportSets>
  579. </plugin>
  580. <plugin>
  581. <groupId>org.jacoco</groupId>
  582. <artifactId>jacoco-maven-plugin</artifactId>
  583. <reportSets>
  584. <reportSet>
  585. <reports>
  586. <report>report</report>
  587. </reports>
  588. </reportSet>
  589. <reportSet>
  590. <id>aggregate</id>
  591. <inherited>false</inherited>
  592. <reports>
  593. <report>report-aggregate</report>
  594. </reports>
  595. </reportSet>
  596. </reportSets>
  597. </plugin>
  598. </plugins>
  599. </reporting>
  600. <dependencyManagement>
  601. <dependencies>
  602. <dependency>
  603. <groupId>com.jcraft</groupId>
  604. <artifactId>jsch</artifactId>
  605. <version>${jsch-version}</version>
  606. </dependency>
  607. <dependency>
  608. <groupId>com.jcraft</groupId>
  609. <artifactId>jzlib</artifactId>
  610. <version>${jzlib-version}</version>
  611. </dependency>
  612. <dependency>
  613. <groupId>com.googlecode.javaewah</groupId>
  614. <artifactId>JavaEWAH</artifactId>
  615. <version>${javaewah-version}</version>
  616. </dependency>
  617. <dependency>
  618. <groupId>args4j</groupId>
  619. <artifactId>args4j</artifactId>
  620. <version>${args4j-version}</version>
  621. </dependency>
  622. <dependency>
  623. <groupId>junit</groupId>
  624. <artifactId>junit</artifactId>
  625. <version>${junit-version}</version>
  626. </dependency>
  627. <dependency>
  628. <groupId>javax.servlet</groupId>
  629. <artifactId>javax.servlet-api</artifactId>
  630. <version>${servlet-api-version}</version>
  631. </dependency>
  632. <dependency>
  633. <groupId>org.apache.commons</groupId>
  634. <artifactId>commons-compress</artifactId>
  635. <version>${commons-compress-version}</version>
  636. </dependency>
  637. <dependency>
  638. <groupId>org.tukaani</groupId>
  639. <artifactId>xz</artifactId>
  640. <version>1.8</version>
  641. <optional>true</optional>
  642. </dependency>
  643. <dependency>
  644. <groupId>org.eclipse.jetty</groupId>
  645. <artifactId>jetty-servlet</artifactId>
  646. <version>${jetty-version}</version>
  647. </dependency>
  648. <dependency>
  649. <groupId>org.osgi</groupId>
  650. <artifactId>org.osgi.core</artifactId>
  651. <version>${osgi-core-version}</version>
  652. </dependency>
  653. <dependency>
  654. <groupId>org.apache.httpcomponents</groupId>
  655. <artifactId>httpclient</artifactId>
  656. <version>${httpclient-version}</version>
  657. </dependency>
  658. <dependency>
  659. <groupId>org.apache.httpcomponents</groupId>
  660. <artifactId>httpcore</artifactId>
  661. <version>${httpcore-version}</version>
  662. </dependency>
  663. <dependency>
  664. <groupId>org.slf4j</groupId>
  665. <artifactId>slf4j-api</artifactId>
  666. <version>${slf4j-version}</version>
  667. </dependency>
  668. <dependency>
  669. <groupId>org.slf4j</groupId>
  670. <artifactId>slf4j-log4j12</artifactId>
  671. <version>${slf4j-version}</version>
  672. </dependency>
  673. <dependency>
  674. <groupId>log4j</groupId>
  675. <artifactId>log4j</artifactId>
  676. <version>${log4j-version}</version>
  677. <exclusions>
  678. <exclusion>
  679. <groupId>javax.mail</groupId>
  680. <artifactId>mail</artifactId>
  681. </exclusion>
  682. <exclusion>
  683. <groupId>javax.jms</groupId>
  684. <artifactId>jms</artifactId>
  685. </exclusion>
  686. <exclusion>
  687. <groupId>com.sun.jdmk</groupId>
  688. <artifactId>jmxtools</artifactId>
  689. </exclusion>
  690. <exclusion>
  691. <groupId>com.sun.jmx</groupId>
  692. <artifactId>jmxri</artifactId>
  693. </exclusion>
  694. </exclusions>
  695. </dependency>
  696. <dependency>
  697. <groupId>com.google.code.gson</groupId>
  698. <artifactId>gson</artifactId>
  699. <version>${gson-version}</version>
  700. </dependency>
  701. <dependency>
  702. <groupId>org.bouncycastle</groupId>
  703. <artifactId>bcpg-jdk15on</artifactId>
  704. <version>${bouncycastle-version}</version>
  705. </dependency>
  706. <dependency>
  707. <groupId>org.bouncycastle</groupId>
  708. <artifactId>bcprov-jdk15on</artifactId>
  709. <version>1.65.01</version>
  710. </dependency>
  711. <dependency>
  712. <groupId>org.bouncycastle</groupId>
  713. <artifactId>bcpkix-jdk15on</artifactId>
  714. <version>${bouncycastle-version}</version>
  715. </dependency>
  716. <dependency>
  717. <groupId>org.assertj</groupId>
  718. <artifactId>assertj-core</artifactId>
  719. <version>3.14.0</version>
  720. </dependency>
  721. </dependencies>
  722. </dependencyManagement>
  723. <distributionManagement>
  724. <repository>
  725. <id>repo.eclipse.org</id>
  726. <name>JGit Maven Repository - Releases</name>
  727. <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
  728. </repository>
  729. <snapshotRepository>
  730. <id>repo.eclipse.org</id>
  731. <name>JGit Maven Repository - Snapshots</name>
  732. <url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url>
  733. <uniqueVersion>true</uniqueVersion>
  734. </snapshotRepository>
  735. <site>
  736. <id>jgit.website</id>
  737. <name>JGit Website</name>
  738. <url>${jgit.website.url}</url>
  739. </site>
  740. </distributionManagement>
  741. <profiles>
  742. <profile>
  743. <id>javac</id>
  744. <build>
  745. <plugins>
  746. <plugin>
  747. <artifactId>maven-compiler-plugin</artifactId>
  748. <configuration>
  749. <encoding>UTF-8</encoding>
  750. <source>1.8</source>
  751. <target>1.8</target>
  752. </configuration>
  753. <executions>
  754. <execution>
  755. <id>default-compile</id>
  756. <phase>compile</phase>
  757. <goals>
  758. <goal>compile</goal>
  759. </goals>
  760. <configuration>
  761. <includes>
  762. <include>org/eclipse/jgit/transport/InsecureCipherFactory.java</include>
  763. </includes>
  764. </configuration>
  765. </execution>
  766. <execution>
  767. <id>compile-with-errorprone</id>
  768. <phase>compile</phase>
  769. <goals>
  770. <goal>compile</goal>
  771. </goals>
  772. <configuration>
  773. <compilerId>javac-with-errorprone</compilerId>
  774. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  775. <excludes>
  776. <exclude>org/eclipse/jgit/transport/InsecureCipherFactory.java</exclude>
  777. </excludes>
  778. </configuration>
  779. </execution>
  780. </executions>
  781. <dependencies>
  782. <dependency>
  783. <groupId>org.codehaus.plexus</groupId>
  784. <artifactId>plexus-compiler-javac</artifactId>
  785. <version>${plexus-compiler-version}</version>
  786. </dependency>
  787. <dependency>
  788. <groupId>org.codehaus.plexus</groupId>
  789. <artifactId>plexus-compiler-javac-errorprone</artifactId>
  790. <version>${plexus-compiler-version}</version>
  791. </dependency>
  792. <!-- override plexus-compiler-javac-errorprone's dependency on
  793. Error Prone with the latest version -->
  794. <dependency>
  795. <groupId>com.google.errorprone</groupId>
  796. <artifactId>error_prone_core</artifactId>
  797. <version>2.3.4</version>
  798. </dependency>
  799. </dependencies>
  800. </plugin>
  801. </plugins>
  802. </build>
  803. </profile>
  804. <profile>
  805. <id>ecj</id>
  806. <activation>
  807. <activeByDefault>true</activeByDefault>
  808. </activation>
  809. <build>
  810. <plugins>
  811. <plugin>
  812. <artifactId>maven-compiler-plugin</artifactId>
  813. <configuration>
  814. <compilerId>eclipse</compilerId>
  815. <encoding>UTF-8</encoding>
  816. <source>1.8</source>
  817. <target>1.8</target>
  818. <!-- Passing arguments is a trainwreck, see https://issues.apache.org/jira/browse/MCOMPILER-123 -->
  819. <compilerArguments>
  820. <properties>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</properties>
  821. </compilerArguments>
  822. <showWarnings>true</showWarnings>
  823. <showDeprecation>true</showDeprecation>
  824. </configuration>
  825. <dependencies>
  826. <dependency>
  827. <groupId>org.codehaus.plexus</groupId>
  828. <artifactId>plexus-compiler-eclipse</artifactId>
  829. <version>${plexus-compiler-version}</version>
  830. </dependency>
  831. <dependency>
  832. <groupId>org.eclipse.jdt</groupId>
  833. <artifactId>ecj</artifactId>
  834. <version>3.22.0</version>
  835. </dependency>
  836. </dependencies>
  837. </plugin>
  838. </plugins>
  839. </build>
  840. </profile>
  841. <profile>
  842. <id>static-checks</id>
  843. <build>
  844. <plugins>
  845. <plugin>
  846. <groupId>com.github.spotbugs</groupId>
  847. <artifactId>spotbugs-maven-plugin</artifactId>
  848. </plugin>
  849. <plugin>
  850. <groupId>org.apache.maven.plugins</groupId>
  851. <artifactId>maven-pmd-plugin</artifactId>
  852. </plugin>
  853. </plugins>
  854. </build>
  855. </profile>
  856. <profile>
  857. <id>eclipse-sign</id>
  858. <build>
  859. <plugins>
  860. <plugin>
  861. <groupId>org.eclipse.tycho.extras</groupId>
  862. <artifactId>tycho-pack200a-plugin</artifactId>
  863. <executions>
  864. <execution>
  865. <id>pack200-normalize</id>
  866. <goals>
  867. <goal>normalize</goal>
  868. </goals>
  869. <phase>verify</phase>
  870. </execution>
  871. </executions>
  872. </plugin>
  873. <plugin>
  874. <groupId>org.eclipse.cbi.maven.plugins</groupId>
  875. <artifactId>eclipse-jarsigner-plugin</artifactId>
  876. <executions>
  877. <execution>
  878. <id>sign</id>
  879. <phase>verify</phase>
  880. <goals>
  881. <goal>sign</goal>
  882. </goals>
  883. </execution>
  884. </executions>
  885. </plugin>
  886. <plugin>
  887. <groupId>org.eclipse.tycho.extras</groupId>
  888. <artifactId>tycho-pack200b-plugin</artifactId>
  889. <executions>
  890. <execution>
  891. <id>pack200-pack</id>
  892. <goals>
  893. <goal>pack</goal>
  894. </goals>
  895. <phase>verify</phase>
  896. </execution>
  897. </executions>
  898. </plugin>
  899. </plugins>
  900. </build>
  901. </profile>
  902. <profile>
  903. <id>build-server</id>
  904. <properties>
  905. <jgit.website.url>file:///home/data/httpd/download.eclipse.org/jgit/site/${project.version}/</jgit.website.url>
  906. </properties>
  907. </profile>
  908. </profiles>
  909. <modules>
  910. <module>org.eclipse.jgit</module>
  911. <module>org.eclipse.jgit.ant</module>
  912. <module>org.eclipse.jgit.archive</module>
  913. <module>org.eclipse.jgit.ui</module>
  914. <module>org.eclipse.jgit.gpg.bc</module>
  915. <module>org.eclipse.jgit.http.apache</module>
  916. <module>org.eclipse.jgit.http.server</module>
  917. <module>org.eclipse.jgit.ssh.apache</module>
  918. <module>org.eclipse.jgit.ssh.jsch</module>
  919. <module>org.eclipse.jgit.pgm</module>
  920. <module>org.eclipse.jgit.lfs</module>
  921. <module>org.eclipse.jgit.lfs.server</module>
  922. <module>org.eclipse.jgit.junit</module>
  923. <module>org.eclipse.jgit.junit.http</module>
  924. <module>org.eclipse.jgit.junit.ssh</module>
  925. <module>org.eclipse.jgit.test</module>
  926. <module>org.eclipse.jgit.ant.test</module>
  927. <module>org.eclipse.jgit.gpg.bc.test</module>
  928. <module>org.eclipse.jgit.http.test</module>
  929. <module>org.eclipse.jgit.pgm.test</module>
  930. <module>org.eclipse.jgit.lfs.test</module>
  931. <module>org.eclipse.jgit.lfs.server.test</module>
  932. <module>org.eclipse.jgit.ssh.apache.test</module>
  933. <module>org.eclipse.jgit.ssh.jsch.test</module>
  934. <module>org.eclipse.jgit.coverage</module>
  935. <module>org.eclipse.jgit.benchmarks</module>
  936. </modules>
  937. </project>