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.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2014, Matthias Sohn <matthias.sohn@sap.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.http.apache</artifactId>
  18. <name>JGit - Apache httpclient based HTTP support</name>
  19. <description>
  20. Apache httpclient based HTTP support
  21. </description>
  22. <properties>
  23. <translate-qualifier />
  24. <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
  25. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.eclipse.jgit</groupId>
  29. <artifactId>org.eclipse.jgit</artifactId>
  30. <version>${project.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.apache.httpcomponents</groupId>
  34. <artifactId>httpclient</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.apache.httpcomponents</groupId>
  38. <artifactId>httpcore</artifactId>
  39. </dependency>
  40. </dependencies>
  41. <build>
  42. <sourceDirectory>src/</sourceDirectory>
  43. <resources>
  44. <resource>
  45. <directory>.</directory>
  46. <includes>
  47. <include>plugin.properties</include>
  48. <include>about.html</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>false</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. </build>
  147. <reporting>
  148. <plugins>
  149. <plugin>
  150. <groupId>com.github.siom79.japicmp</groupId>
  151. <artifactId>japicmp-maven-plugin</artifactId>
  152. <version>${japicmp-version}</version>
  153. <reportSets>
  154. <reportSet>
  155. <reports>
  156. <report>cmp-report</report>
  157. </reports>
  158. </reportSet>
  159. </reportSets>
  160. <configuration>
  161. <oldVersion>
  162. <dependency>
  163. <groupId>${project.groupId}</groupId>
  164. <artifactId>${project.artifactId}</artifactId>
  165. <version>${jgit-last-release-version}</version>
  166. </dependency>
  167. </oldVersion>
  168. <newVersion>
  169. <file>
  170. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  171. </file>
  172. </newVersion>
  173. <parameter>
  174. <onlyModified>true</onlyModified>
  175. <includes>
  176. <include>org.eclipse.jgit.*</include>
  177. </includes>
  178. <accessModifier>public</accessModifier>
  179. <breakBuildOnModifications>false</breakBuildOnModifications>
  180. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  181. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  182. <includeSynthetic>false</includeSynthetic>
  183. <ignoreMissingClasses>false</ignoreMissingClasses>
  184. <skipPomModules>true</skipPomModules>
  185. </parameter>
  186. <skip>false</skip>
  187. </configuration>
  188. </plugin>
  189. </plugins>
  190. </reporting>
  191. </project>