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

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