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

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