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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2009-2010, Google Inc.
  4. Copyright (C) 2008, Imran M Yousuf <imyousuf@smartitengineering.com>
  5. Copyright (C) 2010, Matthias Sohn <matthias.sohn@sap.com> and others
  6. This program and the accompanying materials are made available under the
  7. terms of the Eclipse Distribution License v. 1.0 which is available at
  8. http://www.eclipse.org/org/documents/edl-v10.php.
  9. SPDX-License-Identifier: BSD-3-Clause
  10. -->
  11. <project xmlns="http://maven.apache.org/POM/4.0.0"
  12. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  13. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>org.eclipse.jgit</groupId>
  17. <artifactId>org.eclipse.jgit-parent</artifactId>
  18. <version>5.13.0-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>org.eclipse.jgit.http.server</artifactId>
  21. <name>JGit - HTTP Server</name>
  22. <description>
  23. Git aware HTTP server implementation.
  24. </description>
  25. <properties>
  26. <translate-qualifier/>
  27. <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.eclipse.jgit</groupId>
  32. <artifactId>org.eclipse.jgit</artifactId>
  33. <version>${project.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>javax.servlet</groupId>
  37. <artifactId>javax.servlet-api</artifactId>
  38. <scope>provided</scope>
  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. <type>jar</type>
  115. </dependency>
  116. </oldVersion>
  117. <newVersion>
  118. <file>
  119. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  120. </file>
  121. </newVersion>
  122. <parameter>
  123. <onlyModified>true</onlyModified>
  124. <includes>
  125. <include>org.eclipse.jgit.*</include>
  126. </includes>
  127. <accessModifier>public</accessModifier>
  128. <breakBuildOnModifications>false</breakBuildOnModifications>
  129. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  130. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  131. <includeSynthetic>false</includeSynthetic>
  132. <ignoreMissingClasses>true</ignoreMissingClasses>
  133. <skipPomModules>true</skipPomModules>
  134. </parameter>
  135. <skip>false</skip>
  136. </configuration>
  137. <executions>
  138. <execution>
  139. <phase>verify</phase>
  140. <goals>
  141. <goal>cmp</goal>
  142. </goals>
  143. </execution>
  144. </executions>
  145. </plugin>
  146. </plugins>
  147. </build>
  148. <reporting>
  149. <plugins>
  150. <plugin>
  151. <groupId>com.github.siom79.japicmp</groupId>
  152. <artifactId>japicmp-maven-plugin</artifactId>
  153. <version>${japicmp-version}</version>
  154. <reportSets>
  155. <reportSet>
  156. <reports>
  157. <report>cmp-report</report>
  158. </reports>
  159. </reportSet>
  160. </reportSets>
  161. <configuration>
  162. <oldVersion>
  163. <dependency>
  164. <groupId>${project.groupId}</groupId>
  165. <artifactId>${project.artifactId}</artifactId>
  166. <version>${jgit-last-release-version}</version>
  167. </dependency>
  168. </oldVersion>
  169. <newVersion>
  170. <file>
  171. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  172. </file>
  173. </newVersion>
  174. <parameter>
  175. <onlyModified>true</onlyModified>
  176. <includes>
  177. <include>org.eclipse.jgit.*</include>
  178. </includes>
  179. <accessModifier>public</accessModifier>
  180. <breakBuildOnModifications>false</breakBuildOnModifications>
  181. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  182. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  183. <includeSynthetic>false</includeSynthetic>
  184. <ignoreMissingClasses>false</ignoreMissingClasses>
  185. <skipPomModules>true</skipPomModules>
  186. </parameter>
  187. <skip>false</skip>
  188. </configuration>
  189. </plugin>
  190. </plugins>
  191. </reporting>
  192. </project>