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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  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>
  5. and other copyright owners as documented in the project's IP log.
  6. This program and the accompanying materials are made available
  7. under the terms of the Eclipse Distribution License v1.0 which
  8. accompanies this distribution, is reproduced below, and is
  9. available at http://www.eclipse.org/org/documents/edl-v10.php
  10. All rights reserved.
  11. Redistribution and use in source and binary forms, with or
  12. without modification, are permitted provided that the following
  13. conditions are met:
  14. - Redistributions of source code must retain the above copyright
  15. notice, this list of conditions and the following disclaimer.
  16. - Redistributions in binary form must reproduce the above
  17. copyright notice, this list of conditions and the following
  18. disclaimer in the documentation and/or other materials provided
  19. with the distribution.
  20. - Neither the name of the Eclipse Foundation, Inc. nor the
  21. names of its contributors may be used to endorse or promote
  22. products derived from this software without specific prior
  23. written permission.
  24. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  25. CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  26. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  27. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  28. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  29. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  30. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  31. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  32. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  33. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  34. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  35. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  36. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  37. -->
  38. <project xmlns="http://maven.apache.org/POM/4.0.0"
  39. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  40. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  41. <modelVersion>4.0.0</modelVersion>
  42. <groupId>org.eclipse.jgit</groupId>
  43. <artifactId>org.eclipse.jgit-parent</artifactId>
  44. <packaging>pom</packaging>
  45. <version>4.10.1-SNAPSHOT</version>
  46. <name>JGit - Parent</name>
  47. <url>${jgit-url}</url>
  48. <organization>
  49. <name>Eclipse JGit Project</name>
  50. <url>http://www.eclipse.org/jgit</url>
  51. </organization>
  52. <description>
  53. Pure Java implementation of Git
  54. </description>
  55. <scm>
  56. <url>http://git.eclipse.org/c/jgit/jgit.git/</url>
  57. <connection>scm:git:https://git.eclipse.org/r/jgit/jgit</connection>
  58. </scm>
  59. <ciManagement>
  60. <system>hudson</system>
  61. <url>https://hudson.eclipse.org/jgit/</url>
  62. </ciManagement>
  63. <developers>
  64. <developer>
  65. <name>Chris Aniszczyk</name>
  66. </developer>
  67. <developer>
  68. <name>Christian Halstrick</name>
  69. </developer>
  70. <developer>
  71. <name>Colby Ranger</name>
  72. </developer>
  73. <developer>
  74. <name>Dave Borowitz</name>
  75. </developer>
  76. <developer>
  77. <name>Gunnar Wagenknecht</name>
  78. </developer>
  79. <developer>
  80. <name>Jonathan Nieder</name>
  81. </developer>
  82. <developer>
  83. <name>Kevin Sawicki</name>
  84. </developer>
  85. <developer>
  86. <name>Mathias Kinzler</name>
  87. </developer>
  88. <developer>
  89. <name>Matthias Sohn</name>
  90. </developer>
  91. <developer>
  92. <name>Robin Rosenberg</name>
  93. </developer>
  94. <developer>
  95. <name>Robin Stocker</name>
  96. </developer>
  97. <developer>
  98. <name>Sasa Zivkov</name>
  99. </developer>
  100. <developer>
  101. <name>Shawn Pearce</name>
  102. </developer>
  103. <developer>
  104. <name>Stefan Lay</name>
  105. </developer>
  106. </developers>
  107. <mailingLists>
  108. <mailingList>
  109. <name>jgit-dev Mailing List</name>
  110. <post>jgit-dev@eclipse.org</post>
  111. <subscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</subscribe>
  112. <unsubscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</unsubscribe>
  113. <archive>http://dev.eclipse.org/mhonarc/lists/jgit-dev</archive>
  114. </mailingList>
  115. <mailingList>
  116. <name>GIT Mailing List</name>
  117. <post>git@vger.kernel.org</post>
  118. <archive>http://marc.info/?l=git</archive>
  119. </mailingList>
  120. </mailingLists>
  121. <issueManagement>
  122. <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;component=JGit;product=JGit;classification=Technology</url>
  123. <system>Bugzilla</system>
  124. </issueManagement>
  125. <licenses>
  126. <license>
  127. <name>Eclipse Distribution License (New BSD License)</name>
  128. <comments>
  129. All rights reserved.
  130. Redistribution and use in source and binary forms, with or
  131. without modification, are permitted provided that the following
  132. conditions are met:
  133. - Redistributions of source code must retain the above copyright
  134. notice, this list of conditions and the following disclaimer.
  135. - Redistributions in binary form must reproduce the above
  136. copyright notice, this list of conditions and the following
  137. disclaimer in the documentation and/or other materials provided
  138. with the distribution.
  139. - Neither the name of the Eclipse Foundation, Inc. nor the
  140. names of its contributors may be used to endorse or promote
  141. products derived from this software without specific prior
  142. written permission.
  143. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  144. CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  145. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  146. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  147. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  148. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  149. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  150. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  151. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  152. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  153. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  154. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  155. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  156. </comments>
  157. </license>
  158. </licenses>
  159. <properties>
  160. <jgit-url>http://www.eclipse.org/jgit/</jgit-url>
  161. <jgit-copyright>Copyright (c) 2005, 2009 Shawn Pearce, Robin Rosenberg, et.al.</jgit-copyright>
  162. <jgit.website.url>scp://build.eclipse.org/home/data/httpd/download.eclipse.org/jgit/site/${project.version}/</jgit.website.url>
  163. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  164. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  165. <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
  166. <bundle-manifest>${project.build.directory}/META-INF/MANIFEST.MF</bundle-manifest>
  167. <jgit-last-release-version>4.9.2.201712150930-r</jgit-last-release-version>
  168. <jsch-version>0.1.54</jsch-version>
  169. <javaewah-version>1.1.6</javaewah-version>
  170. <junit-version>4.12</junit-version>
  171. <test-fork-count>1C</test-fork-count>
  172. <args4j-version>2.33</args4j-version>
  173. <commons-compress-version>1.6</commons-compress-version>
  174. <osgi-core-version>4.3.1</osgi-core-version>
  175. <servlet-api-version>3.1.0</servlet-api-version>
  176. <jetty-version>9.4.8.v20171121</jetty-version>
  177. <japicmp-version>0.11.0</japicmp-version>
  178. <httpclient-version>4.5.2</httpclient-version>
  179. <httpcore-version>4.4.6</httpcore-version>
  180. <slf4j-version>1.7.2</slf4j-version>
  181. <log4j-version>1.2.15</log4j-version>
  182. <maven-javadoc-plugin-version>3.0.0</maven-javadoc-plugin-version>
  183. <tycho-extras-version>1.0.0</tycho-extras-version>
  184. <gson-version>2.2.4</gson-version>
  185. <spotbugs-maven-plugin-version>3.1.0</spotbugs-maven-plugin-version>
  186. <maven-surefire-report-plugin-version>2.20.1</maven-surefire-report-plugin-version>
  187. <!-- Properties to enable jacoco code coverage analysis -->
  188. <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
  189. <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
  190. <sonar.jacoco.reportPath>../target/jacoco.exec</sonar.jacoco.reportPath>
  191. </properties>
  192. <repositories>
  193. <repository>
  194. <id>jgit-repository</id>
  195. <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
  196. </repository>
  197. </repositories>
  198. <pluginRepositories>
  199. <pluginRepository>
  200. <id>repo.eclipse.org.cbi-releases</id>
  201. <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
  202. </pluginRepository>
  203. <pluginRepository>
  204. <id>repo.eclipse.org.cbi-snapshots</id>
  205. <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
  206. </pluginRepository>
  207. </pluginRepositories>
  208. <build>
  209. <pluginManagement>
  210. <plugins>
  211. <plugin>
  212. <groupId>org.apache.maven.plugins</groupId>
  213. <artifactId>maven-jar-plugin</artifactId>
  214. <version>3.0.2</version>
  215. <configuration>
  216. <archive>
  217. <manifestEntries>
  218. <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
  219. <Implementation-Version>${project.version}</Implementation-Version>
  220. <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
  221. <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
  222. <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
  223. </manifestEntries>
  224. </archive>
  225. <!-- TODO: uncomment this in order to skip empty artifact of test modules as soon as bug 416299 is fixed
  226. <skipIfEmpty>true</skipIfEmpty>
  227. -->
  228. </configuration>
  229. </plugin>
  230. <plugin>
  231. <artifactId>maven-compiler-plugin</artifactId>
  232. <version>3.7.0</version>
  233. <configuration>
  234. <encoding>UTF-8</encoding>
  235. <source>1.8</source>
  236. <target>1.8</target>
  237. </configuration>
  238. <executions>
  239. <execution>
  240. <id>default-compile</id>
  241. <phase>compile</phase>
  242. <goals>
  243. <goal>compile</goal>
  244. </goals>
  245. <configuration>
  246. <includes>
  247. <include>org/eclipse/jgit/transport/InsecureCipherFactory.java</include>
  248. </includes>
  249. </configuration>
  250. </execution>
  251. <execution>
  252. <id>compile-with-errorprone</id>
  253. <phase>compile</phase>
  254. <goals>
  255. <goal>compile</goal>
  256. </goals>
  257. <configuration>
  258. <compilerId>javac-with-errorprone</compilerId>
  259. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  260. <excludes>
  261. <exclude>org/eclipse/jgit/transport/InsecureCipherFactory.java</exclude>
  262. </excludes>
  263. </configuration>
  264. </execution>
  265. </executions>
  266. <dependencies>
  267. <dependency>
  268. <groupId>org.codehaus.plexus</groupId>
  269. <artifactId>plexus-compiler-javac</artifactId>
  270. <version>2.8.2</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.codehaus.plexus</groupId>
  274. <artifactId>plexus-compiler-javac-errorprone</artifactId>
  275. <version>2.8.2</version>
  276. </dependency>
  277. <!-- override plexus-compiler-javac-errorprone's dependency on
  278. Error Prone with the latest version -->
  279. <dependency>
  280. <groupId>com.google.errorprone</groupId>
  281. <artifactId>error_prone_core</artifactId>
  282. <version>2.1.3</version>
  283. </dependency>
  284. </dependencies>
  285. </plugin>
  286. <plugin>
  287. <artifactId>maven-clean-plugin</artifactId>
  288. <version>3.0.0</version>
  289. </plugin>
  290. <plugin>
  291. <groupId>org.apache.maven.plugins</groupId>
  292. <artifactId>maven-shade-plugin</artifactId>
  293. <version>3.1.0</version>
  294. </plugin>
  295. <plugin>
  296. <groupId>org.apache.maven.plugins</groupId>
  297. <artifactId>maven-antrun-plugin</artifactId>
  298. <version>1.8</version>
  299. </plugin>
  300. <plugin>
  301. <groupId>org.apache.maven.plugins</groupId>
  302. <artifactId>maven-dependency-plugin</artifactId>
  303. <version>3.0.2</version>
  304. </plugin>
  305. <plugin>
  306. <groupId>org.apache.maven.plugins</groupId>
  307. <artifactId>maven-source-plugin</artifactId>
  308. <version>3.0.1</version>
  309. </plugin>
  310. <plugin>
  311. <groupId>org.apache.maven.plugins</groupId>
  312. <artifactId>maven-javadoc-plugin</artifactId>
  313. <version>${maven-javadoc-plugin-version}</version>
  314. </plugin>
  315. <plugin>
  316. <groupId>org.apache.maven.plugins</groupId>
  317. <artifactId>maven-surefire-plugin</artifactId>
  318. <version>2.20.1</version>
  319. <configuration>
  320. <forkCount>${test-fork-count}</forkCount>
  321. <reuseForks>true</reuseForks>
  322. </configuration>
  323. </plugin>
  324. <plugin>
  325. <groupId>org.codehaus.mojo</groupId>
  326. <artifactId>build-helper-maven-plugin</artifactId>
  327. <version>3.0.0</version>
  328. </plugin>
  329. <plugin>
  330. <groupId>com.github.spotbugs</groupId>
  331. <artifactId>spotbugs-maven-plugin</artifactId>
  332. <version>${spotbugs-maven-plugin-version}</version>
  333. <configuration>
  334. <findbugsXmlOutput>true</findbugsXmlOutput>
  335. <failOnError>false</failOnError>
  336. </configuration>
  337. <executions>
  338. <execution>
  339. <goals>
  340. <goal>check</goal>
  341. </goals>
  342. </execution>
  343. </executions>
  344. </plugin>
  345. <plugin>
  346. <groupId>org.apache.maven.plugins</groupId>
  347. <artifactId>maven-pmd-plugin</artifactId>
  348. <version>3.8</version>
  349. <configuration>
  350. <sourceEncoding>utf-8</sourceEncoding>
  351. <minimumTokens>100</minimumTokens>
  352. <targetJdk>1.8</targetJdk>
  353. <format>xml</format>
  354. <failOnViolation>false</failOnViolation>
  355. <excludes>
  356. <exclude>**/UbcCheck.java</exclude>
  357. </excludes>
  358. </configuration>
  359. <executions>
  360. <execution>
  361. <goals>
  362. <goal>cpd-check</goal>
  363. </goals>
  364. </execution>
  365. </executions>
  366. </plugin>
  367. <plugin>
  368. <groupId>org.eclipse.cbi.maven.plugins</groupId>
  369. <artifactId>eclipse-jarsigner-plugin</artifactId>
  370. <version>1.1.4</version>
  371. </plugin>
  372. <plugin>
  373. <groupId>org.eclipse.tycho.extras</groupId>
  374. <artifactId>tycho-pack200a-plugin</artifactId>
  375. <version>${tycho-extras-version}</version>
  376. </plugin>
  377. <plugin>
  378. <groupId>org.eclipse.tycho.extras</groupId>
  379. <artifactId>tycho-pack200b-plugin</artifactId>
  380. <version>${tycho-extras-version}</version>
  381. </plugin>
  382. <plugin>
  383. <groupId>org.jacoco</groupId>
  384. <artifactId>jacoco-maven-plugin</artifactId>
  385. <version>0.7.9</version>
  386. </plugin>
  387. <plugin>
  388. <groupId>org.apache.maven.plugins</groupId>
  389. <artifactId>maven-site-plugin</artifactId>
  390. <version>3.6</version>
  391. <dependencies>
  392. <dependency><!-- add support for ssh/scp -->
  393. <groupId>org.apache.maven.wagon</groupId>
  394. <artifactId>wagon-ssh</artifactId>
  395. <version>2.12</version>
  396. </dependency>
  397. </dependencies>
  398. </plugin>
  399. <plugin>
  400. <groupId>org.apache.maven.plugins</groupId>
  401. <artifactId>maven-surefire-report-plugin</artifactId>
  402. <version>${maven-surefire-report-plugin-version}</version>
  403. </plugin>
  404. <plugin>
  405. <groupId>org.apache.maven.plugins</groupId>
  406. <artifactId>maven-jxr-plugin</artifactId>
  407. <version>2.5</version>
  408. </plugin>
  409. <plugin>
  410. <groupId>org.apache.maven.plugins</groupId>
  411. <artifactId>maven-project-info-reports-plugin</artifactId>
  412. <version>2.9</version>
  413. </plugin>
  414. </plugins>
  415. </pluginManagement>
  416. <plugins>
  417. <plugin>
  418. <groupId>org.apache.maven.plugins</groupId>
  419. <artifactId>maven-enforcer-plugin</artifactId>
  420. <version>3.0.0-M1</version>
  421. <executions>
  422. <execution>
  423. <id>enforce-maven</id>
  424. <goals>
  425. <goal>enforce</goal>
  426. </goals>
  427. <configuration>
  428. <rules>
  429. <requireMavenVersion>
  430. <version>3.5.2</version>
  431. </requireMavenVersion>
  432. </rules>
  433. </configuration>
  434. </execution>
  435. </executions>
  436. </plugin>
  437. <plugin>
  438. <artifactId>maven-compiler-plugin</artifactId>
  439. </plugin>
  440. <plugin>
  441. <groupId>org.apache.maven.plugins</groupId>
  442. <artifactId>maven-antrun-plugin</artifactId>
  443. <executions>
  444. <execution>
  445. <id>translate-qualifier</id>
  446. <phase>generate-resources</phase>
  447. <configuration>
  448. <target if="${translate-qualifier}">
  449. <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
  450. <replace file="${bundle-manifest}">
  451. <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
  452. </replace>
  453. </target>
  454. </configuration>
  455. <goals>
  456. <goal>run</goal>
  457. </goals>
  458. </execution>
  459. </executions>
  460. </plugin>
  461. <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property -->
  462. <plugin>
  463. <groupId>org.codehaus.mojo</groupId>
  464. <artifactId>build-helper-maven-plugin</artifactId>
  465. <executions>
  466. <execution>
  467. <id>set-osgi-version</id>
  468. <phase>validate</phase>
  469. <goals>
  470. <goal>parse-version</goal>
  471. </goals>
  472. </execution>
  473. </executions>
  474. </plugin>
  475. <plugin>
  476. <groupId>org.apache.maven.plugins</groupId>
  477. <artifactId>maven-javadoc-plugin</artifactId>
  478. <configuration>
  479. <additionalJOption>-Xdoclint:-missing</additionalJOption>
  480. <encoding>${project.build.sourceEncoding}</encoding>
  481. <quiet>true</quiet>
  482. <excludePackageNames>org.eclipse.jgit.http.test</excludePackageNames>
  483. <links>
  484. <link>http://docs.oracle.com/javase/8/docs/api</link>
  485. </links>
  486. </configuration>
  487. <executions>
  488. <execution>
  489. <id>attach-javadocs</id>
  490. <goals>
  491. <goal>jar</goal>
  492. </goals>
  493. </execution>
  494. </executions>
  495. </plugin>
  496. <plugin>
  497. <groupId>org.apache.maven.plugins</groupId>
  498. <artifactId>maven-source-plugin</artifactId>
  499. <inherited>true</inherited>
  500. <executions>
  501. <execution>
  502. <id>attach-sources</id>
  503. <phase>process-classes</phase>
  504. <goals>
  505. <goal>jar</goal>
  506. </goals>
  507. </execution>
  508. </executions>
  509. </plugin>
  510. <plugin>
  511. <groupId>org.jacoco</groupId>
  512. <artifactId>jacoco-maven-plugin</artifactId>
  513. <executions>
  514. <execution>
  515. <goals>
  516. <goal>prepare-agent</goal>
  517. </goals>
  518. <configuration>
  519. <destFile>${sonar.jacoco.reportPath}</destFile>
  520. <includes>
  521. <include>org.eclipse.jgit.*</include>
  522. </includes>
  523. <excludes>
  524. <exclude>**/*Test*.*</exclude>
  525. </excludes>
  526. <append>true</append>
  527. </configuration>
  528. </execution>
  529. </executions>
  530. </plugin>
  531. <plugin>
  532. <groupId>org.apache.maven.plugins</groupId>
  533. <artifactId>maven-surefire-report-plugin</artifactId>
  534. </plugin>
  535. </plugins>
  536. </build>
  537. <reporting>
  538. <plugins>
  539. <plugin>
  540. <groupId>org.apache.maven.plugins</groupId>
  541. <artifactId>maven-javadoc-plugin</artifactId>
  542. <version>${maven-javadoc-plugin-version}</version>
  543. </plugin>
  544. <plugin>
  545. <groupId>org.apache.maven.plugins</groupId>
  546. <artifactId>maven-jxr-plugin</artifactId>
  547. <version>2.5</version>
  548. </plugin>
  549. <plugin>
  550. <groupId>com.github.spotbugs</groupId>
  551. <artifactId>spotbugs-maven-plugin</artifactId>
  552. <version>${spotbugs-maven-plugin-version}</version>
  553. </plugin>
  554. <plugin>
  555. <groupId>org.apache.maven.plugins</groupId>
  556. <artifactId>maven-surefire-report-plugin</artifactId>
  557. <version>${maven-surefire-report-plugin-version}</version>
  558. <configuration>
  559. <aggregate>true</aggregate>
  560. <alwaysGenerateSurefireReport>false</alwaysGenerateSurefireReport>
  561. <reportsDirectories>
  562. <reportsDirectories>${project.build.directory}/surefire-reports</reportsDirectories>
  563. </reportsDirectories>
  564. </configuration>
  565. </plugin>
  566. </plugins>
  567. </reporting>
  568. <dependencyManagement>
  569. <dependencies>
  570. <dependency>
  571. <groupId>com.jcraft</groupId>
  572. <artifactId>jsch</artifactId>
  573. <version>${jsch-version}</version>
  574. </dependency>
  575. <dependency>
  576. <groupId>com.googlecode.javaewah</groupId>
  577. <artifactId>JavaEWAH</artifactId>
  578. <version>${javaewah-version}</version>
  579. </dependency>
  580. <dependency>
  581. <groupId>args4j</groupId>
  582. <artifactId>args4j</artifactId>
  583. <version>${args4j-version}</version>
  584. </dependency>
  585. <dependency>
  586. <groupId>junit</groupId>
  587. <artifactId>junit</artifactId>
  588. <version>${junit-version}</version>
  589. </dependency>
  590. <dependency>
  591. <groupId>javax.servlet</groupId>
  592. <artifactId>javax.servlet-api</artifactId>
  593. <version>${servlet-api-version}</version>
  594. </dependency>
  595. <dependency>
  596. <groupId>org.apache.commons</groupId>
  597. <artifactId>commons-compress</artifactId>
  598. <version>${commons-compress-version}</version>
  599. </dependency>
  600. <dependency>
  601. <groupId>org.eclipse.jetty</groupId>
  602. <artifactId>jetty-servlet</artifactId>
  603. <version>${jetty-version}</version>
  604. </dependency>
  605. <dependency>
  606. <groupId>org.osgi</groupId>
  607. <artifactId>org.osgi.core</artifactId>
  608. <version>${osgi-core-version}</version>
  609. </dependency>
  610. <dependency>
  611. <groupId>org.apache.httpcomponents</groupId>
  612. <artifactId>httpclient</artifactId>
  613. <version>${httpclient-version}</version>
  614. </dependency>
  615. <dependency>
  616. <groupId>org.apache.httpcomponents</groupId>
  617. <artifactId>httpcore</artifactId>
  618. <version>${httpcore-version}</version>
  619. </dependency>
  620. <dependency>
  621. <groupId>org.slf4j</groupId>
  622. <artifactId>slf4j-api</artifactId>
  623. <version>${slf4j-version}</version>
  624. </dependency>
  625. <dependency>
  626. <groupId>org.slf4j</groupId>
  627. <artifactId>slf4j-log4j12</artifactId>
  628. <version>${slf4j-version}</version>
  629. </dependency>
  630. <dependency>
  631. <groupId>log4j</groupId>
  632. <artifactId>log4j</artifactId>
  633. <version>${log4j-version}</version>
  634. <exclusions>
  635. <exclusion>
  636. <groupId>javax.mail</groupId>
  637. <artifactId>mail</artifactId>
  638. </exclusion>
  639. <exclusion>
  640. <groupId>javax.jms</groupId>
  641. <artifactId>jms</artifactId>
  642. </exclusion>
  643. <exclusion>
  644. <groupId>com.sun.jdmk</groupId>
  645. <artifactId>jmxtools</artifactId>
  646. </exclusion>
  647. <exclusion>
  648. <groupId>com.sun.jmx</groupId>
  649. <artifactId>jmxri</artifactId>
  650. </exclusion>
  651. </exclusions>
  652. </dependency>
  653. <dependency>
  654. <groupId>com.google.code.gson</groupId>
  655. <artifactId>gson</artifactId>
  656. <version>${gson-version}</version>
  657. </dependency>
  658. </dependencies>
  659. </dependencyManagement>
  660. <distributionManagement>
  661. <repository>
  662. <id>repo.eclipse.org</id>
  663. <name>JGit Maven Repository - Releases</name>
  664. <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
  665. </repository>
  666. <snapshotRepository>
  667. <id>repo.eclipse.org</id>
  668. <name>JGit Maven Repository - Snapshots</name>
  669. <url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url>
  670. <uniqueVersion>true</uniqueVersion>
  671. </snapshotRepository>
  672. <site>
  673. <id>jgit.website</id>
  674. <name>JGit Website</name>
  675. <url>${jgit.website.url}</url>
  676. </site>
  677. </distributionManagement>
  678. <profiles>
  679. <profile>
  680. <id>static-checks</id>
  681. <build>
  682. <plugins>
  683. <plugin>
  684. <groupId>com.github.spotbugs</groupId>
  685. <artifactId>spotbugs-maven-plugin</artifactId>
  686. </plugin>
  687. <plugin>
  688. <groupId>org.apache.maven.plugins</groupId>
  689. <artifactId>maven-pmd-plugin</artifactId>
  690. </plugin>
  691. </plugins>
  692. </build>
  693. </profile>
  694. <profile>
  695. <id>eclipse-sign</id>
  696. <build>
  697. <plugins>
  698. <plugin>
  699. <groupId>org.eclipse.tycho.extras</groupId>
  700. <artifactId>tycho-pack200a-plugin</artifactId>
  701. <!-- TODO remove this configuration when https://git.eclipse.org/r/#/c/16027 is available -->
  702. <configuration>
  703. <supportedProjectTypes>
  704. <supportedProjectType>jar</supportedProjectType>
  705. </supportedProjectTypes>
  706. </configuration>
  707. <executions>
  708. <execution>
  709. <id>pack200-normalize</id>
  710. <goals>
  711. <goal>normalize</goal>
  712. </goals>
  713. <phase>verify</phase>
  714. </execution>
  715. </executions>
  716. </plugin>
  717. <plugin>
  718. <groupId>org.eclipse.cbi.maven.plugins</groupId>
  719. <artifactId>eclipse-jarsigner-plugin</artifactId>
  720. <executions>
  721. <execution>
  722. <id>sign</id>
  723. <phase>verify</phase>
  724. <goals>
  725. <goal>sign</goal>
  726. </goals>
  727. </execution>
  728. </executions>
  729. </plugin>
  730. <plugin>
  731. <groupId>org.eclipse.tycho.extras</groupId>
  732. <artifactId>tycho-pack200b-plugin</artifactId>
  733. <!-- TODO remove this configuration when https://git.eclipse.org/r/#/c/16027 is available -->
  734. <configuration>
  735. <supportedProjectTypes>
  736. <supportedProjectType>jar</supportedProjectType>
  737. </supportedProjectTypes>
  738. </configuration>
  739. <executions>
  740. <execution>
  741. <id>pack200-pack</id>
  742. <goals>
  743. <goal>pack</goal>
  744. </goals>
  745. <phase>verify</phase>
  746. </execution>
  747. </executions>
  748. </plugin>
  749. </plugins>
  750. </build>
  751. </profile>
  752. <profile>
  753. <id>build-server</id>
  754. <properties>
  755. <jgit.website.url>file:///home/data/httpd/download.eclipse.org/jgit/site/${project.version}/</jgit.website.url>
  756. </properties>
  757. </profile>
  758. </profiles>
  759. <modules>
  760. <module>org.eclipse.jgit</module>
  761. <module>org.eclipse.jgit.ant</module>
  762. <module>org.eclipse.jgit.archive</module>
  763. <module>org.eclipse.jgit.ui</module>
  764. <module>org.eclipse.jgit.http.apache</module>
  765. <module>org.eclipse.jgit.http.server</module>
  766. <module>org.eclipse.jgit.pgm</module>
  767. <module>org.eclipse.jgit.lfs</module>
  768. <module>org.eclipse.jgit.lfs.server</module>
  769. <module>org.eclipse.jgit.junit</module>
  770. <module>org.eclipse.jgit.junit.http</module>
  771. <module>org.eclipse.jgit.test</module>
  772. <module>org.eclipse.jgit.ant.test</module>
  773. <module>org.eclipse.jgit.http.test</module>
  774. <module>org.eclipse.jgit.pgm.test</module>
  775. <module>org.eclipse.jgit.lfs.test</module>
  776. <module>org.eclipse.jgit.lfs.server.test</module>
  777. </modules>
  778. </project>