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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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>
  7. and other copyright owners as documented in the project's IP log.
  8. This program and the accompanying materials are made available
  9. under the terms of the Eclipse Distribution License v1.0 which
  10. accompanies this distribution, is reproduced below, and is
  11. available at http://www.eclipse.org/org/documents/edl-v10.php
  12. All rights reserved.
  13. Redistribution and use in source and binary forms, with or
  14. without modification, are permitted provided that the following
  15. conditions are met:
  16. - Redistributions of source code must retain the above copyright
  17. notice, this list of conditions and the following disclaimer.
  18. - Redistributions in binary form must reproduce the above
  19. copyright notice, this list of conditions and the following
  20. disclaimer in the documentation and/or other materials provided
  21. with the distribution.
  22. - Neither the name of the Eclipse Foundation, Inc. nor the
  23. names of its contributors may be used to endorse or promote
  24. products derived from this software without specific prior
  25. written permission.
  26. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  27. CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  28. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  29. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  30. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  31. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  32. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  33. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  34. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  35. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  36. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  37. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  38. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  39. -->
  40. <project xmlns="http://maven.apache.org/POM/4.0.0"
  41. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  42. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  43. <modelVersion>4.0.0</modelVersion>
  44. <parent>
  45. <groupId>org.eclipse.jgit</groupId>
  46. <artifactId>org.eclipse.jgit-parent</artifactId>
  47. <version>4.1.2.201602141800-r</version>
  48. </parent>
  49. <artifactId>org.eclipse.jgit</artifactId>
  50. <name>JGit - Core</name>
  51. <description>
  52. Repository access and algorithms
  53. </description>
  54. <properties>
  55. <translate-qualifier/>
  56. <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
  57. </properties>
  58. <dependencies>
  59. <dependency>
  60. <groupId>com.jcraft</groupId>
  61. <artifactId>jsch</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.googlecode.javaewah</groupId>
  65. <artifactId>JavaEWAH</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.httpcomponents</groupId>
  69. <artifactId>httpclient</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.slf4j</groupId>
  73. <artifactId>slf4j-api</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.eclipse.jdt</groupId>
  77. <artifactId>org.eclipse.jdt.annotation</artifactId>
  78. <version>1.1.0</version>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <sourceDirectory>src/</sourceDirectory>
  83. <resources>
  84. <resource>
  85. <directory>.</directory>
  86. <includes>
  87. <include>plugin.properties</include>
  88. <include>about.html</include>
  89. <include>META-INF/eclipse.inf</include>
  90. </includes>
  91. </resource>
  92. <resource>
  93. <directory>resources/</directory>
  94. </resource>
  95. </resources>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-antrun-plugin</artifactId>
  100. <executions>
  101. <execution>
  102. <id>translate-source-qualifier</id>
  103. <phase>generate-resources</phase>
  104. <configuration>
  105. <target>
  106. <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
  107. <replace file="${source-bundle-manifest}">
  108. <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
  109. </replace>
  110. </target>
  111. </configuration>
  112. <goals>
  113. <goal>run</goal>
  114. </goals>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-source-plugin</artifactId>
  121. <inherited>true</inherited>
  122. <executions>
  123. <execution>
  124. <id>attach-sources</id>
  125. <phase>process-classes</phase>
  126. <goals>
  127. <goal>jar</goal>
  128. </goals>
  129. <configuration>
  130. <archive>
  131. <manifestFile>${source-bundle-manifest}</manifestFile>
  132. </archive>
  133. </configuration>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. <plugin>
  138. <artifactId>maven-jar-plugin</artifactId>
  139. <configuration>
  140. <archive>
  141. <manifestFile>${bundle-manifest}</manifestFile>
  142. </archive>
  143. </configuration>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.codehaus.mojo</groupId>
  147. <artifactId>clirr-maven-plugin</artifactId>
  148. </plugin>
  149. </plugins>
  150. <pluginManagement>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.codehaus.mojo</groupId>
  154. <artifactId>findbugs-maven-plugin</artifactId>
  155. <configuration>
  156. <excludeFilterFile>findBugs/FindBugsExcludeFilter.xml</excludeFilterFile>
  157. </configuration>
  158. </plugin>
  159. </plugins>
  160. </pluginManagement>
  161. </build>
  162. <reporting>
  163. <plugins>
  164. <plugin>
  165. <groupId>org.codehaus.mojo</groupId>
  166. <artifactId>clirr-maven-plugin</artifactId>
  167. <version>${clirr-version}</version>
  168. <configuration>
  169. <comparisonVersion>${jgit-last-release-version}</comparisonVersion>
  170. <minSeverity>info</minSeverity>
  171. </configuration>
  172. </plugin>
  173. </plugins>
  174. </reporting>
  175. </project>