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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2009-2010, Google Inc.
  4. and other copyright owners as documented in the project's IP log.
  5. This program and the accompanying materials are made available
  6. under the terms of the Eclipse Distribution License v1.0 which
  7. accompanies this distribution, is reproduced below, and is
  8. available at http://www.eclipse.org/org/documents/edl-v10.php
  9. All rights reserved.
  10. Redistribution and use in source and binary forms, with or
  11. without modification, are permitted provided that the following
  12. conditions are met:
  13. - Redistributions of source code must retain the above copyright
  14. notice, this list of conditions and the following disclaimer.
  15. - Redistributions in binary form must reproduce the above
  16. copyright notice, this list of conditions and the following
  17. disclaimer in the documentation and/or other materials provided
  18. with the distribution.
  19. - Neither the name of the Eclipse Foundation, Inc. nor the
  20. names of its contributors may be used to endorse or promote
  21. products derived from this software without specific prior
  22. written permission.
  23. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  24. CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  25. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  26. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  27. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  28. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  29. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  30. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  31. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  32. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  33. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  34. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  35. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  36. -->
  37. <project xmlns="http://maven.apache.org/POM/4.0.0"
  38. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  39. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  40. <modelVersion>4.0.0</modelVersion>
  41. <groupId>org.eclipse.jgit</groupId>
  42. <artifactId>org.eclipse.jgit-parent</artifactId>
  43. <packaging>pom</packaging>
  44. <version>0.10.2-SNAPSHOT</version>
  45. <name>JGit - Parent</name>
  46. <url>${jgit-url}</url>
  47. <description>
  48. Pure Java implementation of Git
  49. </description>
  50. <mailingLists>
  51. <mailingList>
  52. <name>jgit-dev Mailing List</name>
  53. <post>jgit-dev@eclipse.org</post>
  54. <subscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</subscribe>
  55. <unsubscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</unsubscribe>
  56. <archive>http://dev.eclipse.org/mhonarc/lists/jgit-dev</archive>
  57. </mailingList>
  58. <mailingList>
  59. <name>GIT Mailing List</name>
  60. <post>git@vger.kernel.org</post>
  61. <archive>http://marc.info/?l=git</archive>
  62. </mailingList>
  63. </mailingLists>
  64. <issueManagement>
  65. <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;component=JGit;product=JGit;classification=Technology</url>
  66. <system>Bugzilla</system>
  67. </issueManagement>
  68. <licenses>
  69. <license>
  70. <name>Eclipse Distribution License (New BSD License)</name>
  71. <comments>
  72. All rights reserved.
  73. Redistribution and use in source and binary forms, with or
  74. without modification, are permitted provided that the following
  75. conditions are met:
  76. - Redistributions of source code must retain the above copyright
  77. notice, this list of conditions and the following disclaimer.
  78. - Redistributions in binary form must reproduce the above
  79. copyright notice, this list of conditions and the following
  80. disclaimer in the documentation and/or other materials provided
  81. with the distribution.
  82. - Neither the name of the Eclipse Foundation, Inc. nor the
  83. names of its contributors may be used to endorse or promote
  84. products derived from this software without specific prior
  85. written permission.
  86. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  87. CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  88. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  89. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  90. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  91. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  92. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  93. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  94. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  95. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  96. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  97. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  98. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  99. </comments>
  100. </license>
  101. </licenses>
  102. <properties>
  103. <jgit-url>http://www.eclipse.org/jgit/</jgit-url>
  104. <jgit-copyright>Copyright (c) 2005, 2009 Shawn Pearce, Robin Rosenberg, et.al.</jgit-copyright>
  105. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  106. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  107. <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
  108. <bundle-manifest>${project.build.directory}/META-INF/MANIFEST.MF</bundle-manifest>
  109. <jsch-version>0.1.41</jsch-version>
  110. <junit-version>3.8.2</junit-version>
  111. <args4j-version>2.0.12</args4j-version>
  112. <servlet-api-version>2.5</servlet-api-version>
  113. <jetty-version>7.1.6.v20100715</jetty-version>
  114. </properties>
  115. <pluginRepositories>
  116. <pluginRepository>
  117. <!-- need maven-findbugs-2.3.2-SNAPSHOT, see
  118. http://jira.codehaus.org/browse/MFINDBUGS-122
  119. remove this when this version is released -->
  120. <id>codehaus.snapshots</id>
  121. <url>http://snapshots.repository.codehaus.org/</url>
  122. </pluginRepository>
  123. </pluginRepositories>
  124. <build>
  125. <pluginManagement>
  126. <plugins>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-jar-plugin</artifactId>
  130. <version>2.3</version>
  131. <configuration>
  132. <archive>
  133. <manifestEntries>
  134. <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
  135. <Implementation-Version>${project.version}</Implementation-Version>
  136. <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
  137. <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
  138. <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
  139. </manifestEntries>
  140. </archive>
  141. </configuration>
  142. </plugin>
  143. <plugin>
  144. <artifactId>maven-compiler-plugin</artifactId>
  145. <version>2.0.2</version>
  146. </plugin>
  147. <plugin>
  148. <artifactId>maven-clean-plugin</artifactId>
  149. <version>2.2</version>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-shade-plugin</artifactId>
  154. <version>1.2</version>
  155. </plugin>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-antrun-plugin</artifactId>
  159. <version>1.3</version>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-dependency-plugin</artifactId>
  164. <version>2.1</version>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-source-plugin</artifactId>
  169. <version>2.1.1</version>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-javadoc-plugin</artifactId>
  174. <version>2.7</version>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.codehaus.mojo</groupId>
  178. <artifactId>build-helper-maven-plugin</artifactId>
  179. <version>1.5</version>
  180. </plugin>
  181. <plugin>
  182. <!-- need maven-findbugs-2.3.2-SNAPSHOT, see
  183. http://jira.codehaus.org/browse/MFINDBUGS-122
  184. switch to released version when available -->
  185. <groupId>org.codehaus.mojo</groupId>
  186. <artifactId>findbugs-maven-plugin</artifactId>
  187. <version>2.3.2-SNAPSHOT</version>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-pmd-plugin</artifactId>
  192. <version>2.5</version>
  193. </plugin>
  194. </plugins>
  195. </pluginManagement>
  196. <plugins>
  197. <plugin>
  198. <artifactId>maven-compiler-plugin</artifactId>
  199. <configuration>
  200. <source>1.5</source>
  201. <target>1.5</target>
  202. <encoding>UTF-8</encoding>
  203. </configuration>
  204. </plugin>
  205. <plugin>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-antrun-plugin</artifactId>
  208. <executions>
  209. <execution>
  210. <id>translate-qualifier</id>
  211. <phase>generate-resources</phase>
  212. <configuration>
  213. <tasks unless="${translate-qualifier}">
  214. <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
  215. <replace file="${bundle-manifest}">
  216. <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
  217. </replace>
  218. </tasks>
  219. </configuration>
  220. <goals>
  221. <goal>run</goal>
  222. </goals>
  223. </execution>
  224. </executions>
  225. </plugin>
  226. <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property -->
  227. <plugin>
  228. <groupId>org.codehaus.mojo</groupId>
  229. <artifactId>build-helper-maven-plugin</artifactId>
  230. <executions>
  231. <execution>
  232. <id>set-osgi-version</id>
  233. <phase>validate</phase>
  234. <goals>
  235. <goal>parse-version</goal>
  236. </goals>
  237. </execution>
  238. </executions>
  239. </plugin>
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-javadoc-plugin</artifactId>
  243. <configuration>
  244. <encoding>${project.build.sourceEncoding}</encoding>
  245. <quiet>true</quiet>
  246. <links>
  247. <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
  248. </links>
  249. </configuration>
  250. <executions>
  251. <execution>
  252. <id>attach-javadocs</id>
  253. <goals>
  254. <goal>jar</goal>
  255. </goals>
  256. </execution>
  257. </executions>
  258. </plugin>
  259. </plugins>
  260. </build>
  261. <dependencyManagement>
  262. <dependencies>
  263. <dependency>
  264. <groupId>com.jcraft</groupId>
  265. <artifactId>jsch</artifactId>
  266. <version>${jsch-version}</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>args4j</groupId>
  270. <artifactId>args4j</artifactId>
  271. <version>${args4j-version}</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>junit</groupId>
  275. <artifactId>junit</artifactId>
  276. <version>${junit-version}</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>javax.servlet</groupId>
  280. <artifactId>servlet-api</artifactId>
  281. <version>${servlet-api-version}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.eclipse.jetty</groupId>
  285. <artifactId>jetty-servlet</artifactId>
  286. <version>${jetty-version}</version>
  287. </dependency>
  288. </dependencies>
  289. </dependencyManagement>
  290. <distributionManagement>
  291. <snapshotRepository>
  292. <id>jgit-maven-snapshot</id>
  293. <name>JGit Maven Repository</name>
  294. <url>dav:https://egit.googlecode.com/svn/maven/</url>
  295. <uniqueVersion>true</uniqueVersion>
  296. </snapshotRepository>
  297. </distributionManagement>
  298. <profiles>
  299. <!-- Set -Djgit.java6.skip=true to compile with only Java 5 -->
  300. <profile>
  301. <id>jgit.java6</id>
  302. <activation>
  303. <property>
  304. <name>!jgit.java6.skip</name>
  305. </property>
  306. </activation>
  307. <modules>
  308. <module>org.eclipse.jgit.console</module>
  309. </modules>
  310. </profile>
  311. </profiles>
  312. <modules>
  313. <module>org.eclipse.jgit</module>
  314. <module>org.eclipse.jgit.ui</module>
  315. <module>org.eclipse.jgit.http.server</module>
  316. <module>org.eclipse.jgit.iplog</module>
  317. <module>org.eclipse.jgit.pgm</module>
  318. <module>org.eclipse.jgit.junit</module>
  319. <module>org.eclipse.jgit.junit.http</module>
  320. <module>org.eclipse.jgit.test</module>
  321. <module>org.eclipse.jgit.http.test</module>
  322. </modules>
  323. </project>