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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2009, Google Inc.
  4. Copyright (C) 2009, Igor Fedorenko <igor@ifedorenko.com>
  5. Copyright (C) 2008, Imran M Yousuf <imyousuf@smartitengineering.com>
  6. Copyright (C) 2010, Matthias Sohn <matthias.sohn@sap.com> and others
  7. This program and the accompanying materials are made available under the
  8. terms of the Eclipse Distribution License v. 1.0 which is available at
  9. http://www.eclipse.org/org/documents/edl-v10.php.
  10. SPDX-License-Identifier: BSD-3-Clause
  11. -->
  12. <project xmlns="http://maven.apache.org/POM/4.0.0"
  13. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  14. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  15. <modelVersion>4.0.0</modelVersion>
  16. <parent>
  17. <groupId>org.eclipse.jgit</groupId>
  18. <artifactId>org.eclipse.jgit-parent</artifactId>
  19. <version>5.8.2-SNAPSHOT</version>
  20. </parent>
  21. <artifactId>org.eclipse.jgit</artifactId>
  22. <name>JGit - Core</name>
  23. <description>
  24. Repository access and algorithms
  25. </description>
  26. <properties>
  27. <translate-qualifier/>
  28. <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
  29. </properties>
  30. <dependencies>
  31. <dependency>
  32. <groupId>com.googlecode.javaewah</groupId>
  33. <artifactId>JavaEWAH</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.slf4j</groupId>
  37. <artifactId>slf4j-api</artifactId>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <sourceDirectory>src/</sourceDirectory>
  42. <resources>
  43. <resource>
  44. <directory>.</directory>
  45. <includes>
  46. <include>plugin.properties</include>
  47. <include>about.html</include>
  48. <include>META-INF/eclipse.inf</include>
  49. </includes>
  50. </resource>
  51. <resource>
  52. <directory>resources/</directory>
  53. </resource>
  54. </resources>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-antrun-plugin</artifactId>
  59. <executions>
  60. <execution>
  61. <id>translate-source-qualifier</id>
  62. <phase>generate-resources</phase>
  63. <configuration>
  64. <target>
  65. <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
  66. <replace file="${source-bundle-manifest}">
  67. <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
  68. </replace>
  69. </target>
  70. </configuration>
  71. <goals>
  72. <goal>run</goal>
  73. </goals>
  74. </execution>
  75. </executions>
  76. </plugin>
  77. <plugin>
  78. <groupId>org.apache.maven.plugins</groupId>
  79. <artifactId>maven-source-plugin</artifactId>
  80. <inherited>true</inherited>
  81. <executions>
  82. <execution>
  83. <id>attach-sources</id>
  84. <phase>process-classes</phase>
  85. <goals>
  86. <goal>jar</goal>
  87. </goals>
  88. <configuration>
  89. <archive>
  90. <manifestFile>${source-bundle-manifest}</manifestFile>
  91. </archive>
  92. </configuration>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. <plugin>
  97. <artifactId>maven-jar-plugin</artifactId>
  98. <configuration>
  99. <archive>
  100. <manifestFile>${bundle-manifest}</manifestFile>
  101. </archive>
  102. </configuration>
  103. </plugin>
  104. <plugin>
  105. <groupId>com.github.siom79.japicmp</groupId>
  106. <artifactId>japicmp-maven-plugin</artifactId>
  107. <version>${japicmp-version}</version>
  108. <configuration>
  109. <oldVersion>
  110. <dependency>
  111. <groupId>${project.groupId}</groupId>
  112. <artifactId>${project.artifactId}</artifactId>
  113. <version>${jgit-last-release-version}</version>
  114. </dependency>
  115. </oldVersion>
  116. <newVersion>
  117. <file>
  118. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  119. </file>
  120. </newVersion>
  121. <parameter>
  122. <onlyModified>true</onlyModified>
  123. <includes>
  124. <include>org.eclipse.jgit.*</include>
  125. </includes>
  126. <accessModifier>public</accessModifier>
  127. <breakBuildOnModifications>false</breakBuildOnModifications>
  128. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  129. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  130. <includeSynthetic>false</includeSynthetic>
  131. <ignoreMissingClasses>true</ignoreMissingClasses>
  132. <skipPomModules>true</skipPomModules>
  133. </parameter>
  134. <skip>false</skip>
  135. </configuration>
  136. <executions>
  137. <execution>
  138. <phase>verify</phase>
  139. <goals>
  140. <goal>cmp</goal>
  141. </goals>
  142. </execution>
  143. </executions>
  144. </plugin>
  145. </plugins>
  146. <pluginManagement>
  147. <plugins>
  148. <plugin>
  149. <groupId>com.github.spotbugs</groupId>
  150. <artifactId>spotbugs-maven-plugin</artifactId>
  151. <version>${spotbugs-maven-plugin-version}</version>
  152. <configuration>
  153. <excludeFilterFile>findBugs/FindBugsExcludeFilter.xml</excludeFilterFile>
  154. </configuration>
  155. </plugin>
  156. </plugins>
  157. </pluginManagement>
  158. </build>
  159. <reporting>
  160. <plugins>
  161. <plugin>
  162. <groupId>com.github.siom79.japicmp</groupId>
  163. <artifactId>japicmp-maven-plugin</artifactId>
  164. <version>${japicmp-version}</version>
  165. <reportSets>
  166. <reportSet>
  167. <reports>
  168. <report>cmp-report</report>
  169. </reports>
  170. </reportSet>
  171. </reportSets>
  172. <configuration>
  173. <oldVersion>
  174. <dependency>
  175. <groupId>${project.groupId}</groupId>
  176. <artifactId>${project.artifactId}</artifactId>
  177. <version>${jgit-last-release-version}</version>
  178. </dependency>
  179. </oldVersion>
  180. <newVersion>
  181. <file>
  182. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  183. </file>
  184. </newVersion>
  185. <parameter>
  186. <onlyModified>true</onlyModified>
  187. <includes>
  188. <include>org.eclipse.jgit.*</include>
  189. </includes>
  190. <accessModifier>public</accessModifier>
  191. <breakBuildOnModifications>false</breakBuildOnModifications>
  192. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  193. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  194. <includeSynthetic>false</includeSynthetic>
  195. <ignoreMissingClasses>true</ignoreMissingClasses>
  196. <skipPomModules>true</skipPomModules>
  197. </parameter>
  198. <skip>false</skip>
  199. </configuration>
  200. </plugin>
  201. </plugins>
  202. </reporting>
  203. </project>