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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2009-2010, Google Inc.
  4. Copyright (C) 2012, Matthias Sohn <matthias.sohn@sap.com>
  5. and other copyright owners as documented in the project's IP log.
  6. This program and the accompanying materials are made available
  7. under the terms of the Eclipse Distribution License v1.0 which
  8. accompanies this distribution, is reproduced below, and is
  9. available at http://www.eclipse.org/org/documents/edl-v10.php
  10. All rights reserved.
  11. Redistribution and use in source and binary forms, with or
  12. without modification, are permitted provided that the following
  13. conditions are met:
  14. - Redistributions of source code must retain the above copyright
  15. notice, this list of conditions and the following disclaimer.
  16. - Redistributions in binary form must reproduce the above
  17. copyright notice, this list of conditions and the following
  18. disclaimer in the documentation and/or other materials provided
  19. with the distribution.
  20. - Neither the name of the Eclipse Foundation, Inc. nor the
  21. names of its contributors may be used to endorse or promote
  22. products derived from this software without specific prior
  23. written permission.
  24. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  25. CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  26. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  27. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  28. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  29. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  30. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  31. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  32. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  33. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  34. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  35. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  36. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  37. -->
  38. <project xmlns="http://maven.apache.org/POM/4.0.0"
  39. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  40. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  41. <modelVersion>4.0.0</modelVersion>
  42. <groupId>org.eclipse.jgit</groupId>
  43. <artifactId>org.eclipse.jgit-parent</artifactId>
  44. <packaging>pom</packaging>
  45. <version>2.0.0-SNAPSHOT</version>
  46. <name>JGit - Parent</name>
  47. <url>${jgit-url}</url>
  48. <description>
  49. Pure Java implementation of Git
  50. </description>
  51. <scm>
  52. <url>http://egit.eclipse.org/w/?p=jgit.git</url>
  53. <connection>scm:git:git://egit.eclipse.org/jgit.git</connection>
  54. </scm>
  55. <developers>
  56. <developer>
  57. <name>Chris Aniszczyk</name>
  58. </developer>
  59. <developer>
  60. <name>Christian Halstrick</name>
  61. </developer>
  62. <developer>
  63. <name>Gunnar Wagenknecht</name>
  64. </developer>
  65. <developer>
  66. <name>Kevin Sawicki</name>
  67. </developer>
  68. <developer>
  69. <name>Mathias Kinzler</name>
  70. </developer>
  71. <developer>
  72. <name>Matthias Sohn</name>
  73. </developer>
  74. <developer>
  75. <name>Robin Rosenberg</name>
  76. </developer>
  77. <developer>
  78. <name>Sasa Zivkov</name>
  79. </developer>
  80. <developer>
  81. <name>Shawn Pearce</name>
  82. </developer>
  83. <developer>
  84. <name>Stefan Lay</name>
  85. </developer>
  86. </developers>
  87. <mailingLists>
  88. <mailingList>
  89. <name>jgit-dev Mailing List</name>
  90. <post>jgit-dev@eclipse.org</post>
  91. <subscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</subscribe>
  92. <unsubscribe>https://dev.eclipse.org/mailman/listinfo/jgit-dev</unsubscribe>
  93. <archive>http://dev.eclipse.org/mhonarc/lists/jgit-dev</archive>
  94. </mailingList>
  95. <mailingList>
  96. <name>GIT Mailing List</name>
  97. <post>git@vger.kernel.org</post>
  98. <archive>http://marc.info/?l=git</archive>
  99. </mailingList>
  100. </mailingLists>
  101. <issueManagement>
  102. <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;component=JGit;product=JGit;classification=Technology</url>
  103. <system>Bugzilla</system>
  104. </issueManagement>
  105. <licenses>
  106. <license>
  107. <name>Eclipse Distribution License (New BSD License)</name>
  108. <comments>
  109. All rights reserved.
  110. Redistribution and use in source and binary forms, with or
  111. without modification, are permitted provided that the following
  112. conditions are met:
  113. - Redistributions of source code must retain the above copyright
  114. notice, this list of conditions and the following disclaimer.
  115. - Redistributions in binary form must reproduce the above
  116. copyright notice, this list of conditions and the following
  117. disclaimer in the documentation and/or other materials provided
  118. with the distribution.
  119. - Neither the name of the Eclipse Foundation, Inc. nor the
  120. names of its contributors may be used to endorse or promote
  121. products derived from this software without specific prior
  122. written permission.
  123. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  124. CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  125. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  126. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  127. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  128. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  129. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  130. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  131. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  132. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  133. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  134. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  135. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  136. </comments>
  137. </license>
  138. </licenses>
  139. <properties>
  140. <jgit-url>http://www.eclipse.org/jgit/</jgit-url>
  141. <jgit-copyright>Copyright (c) 2005, 2009 Shawn Pearce, Robin Rosenberg, et.al.</jgit-copyright>
  142. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  143. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  144. <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
  145. <bundle-manifest>${project.build.directory}/META-INF/MANIFEST.MF</bundle-manifest>
  146. <jgit-last-release-version>1.3.0.201202151440-r</jgit-last-release-version>
  147. <jsch-version>0.1.44-1</jsch-version>
  148. <junit-version>4.5</junit-version>
  149. <args4j-version>2.0.12</args4j-version>
  150. <servlet-api-version>2.5</servlet-api-version>
  151. <jetty-version>7.6.0.v20120127</jetty-version>
  152. <protobuf-version>2.4.0a</protobuf-version>
  153. <clirr-version>2.3</clirr-version>
  154. </properties>
  155. <repositories>
  156. <repository>
  157. <id>jgit-repository</id>
  158. <url>http://download.eclipse.org/jgit/maven</url>
  159. </repository>
  160. </repositories>
  161. <build>
  162. <pluginManagement>
  163. <plugins>
  164. <plugin>
  165. <groupId>org.apache.maven.plugins</groupId>
  166. <artifactId>maven-jar-plugin</artifactId>
  167. <version>2.3</version>
  168. <configuration>
  169. <archive>
  170. <manifestEntries>
  171. <Implementation-Title>JGit ${project.artifactId}</Implementation-Title>
  172. <Implementation-Version>${project.version}</Implementation-Version>
  173. <Implementation-Vendor>Eclipse.org - JGit</Implementation-Vendor>
  174. <Implementation-Vendor-Id>org.eclipse.jgit</Implementation-Vendor-Id>
  175. <Implementation-Vendor-URL>${jgit-url}</Implementation-Vendor-URL>
  176. </manifestEntries>
  177. </archive>
  178. </configuration>
  179. </plugin>
  180. <plugin>
  181. <artifactId>maven-compiler-plugin</artifactId>
  182. <version>2.3.2</version>
  183. </plugin>
  184. <plugin>
  185. <artifactId>maven-clean-plugin</artifactId>
  186. <version>2.4.1</version>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-shade-plugin</artifactId>
  191. <version>1.5</version>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.apache.maven.plugins</groupId>
  195. <artifactId>maven-antrun-plugin</artifactId>
  196. <version>1.7</version>
  197. </plugin>
  198. <plugin>
  199. <groupId>org.apache.maven.plugins</groupId>
  200. <artifactId>maven-dependency-plugin</artifactId>
  201. <version>2.3</version>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.apache.maven.plugins</groupId>
  205. <artifactId>maven-source-plugin</artifactId>
  206. <version>2.1.2</version>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-javadoc-plugin</artifactId>
  211. <version>2.8</version>
  212. </plugin>
  213. <plugin>
  214. <groupId>org.apache.maven.plugins</groupId>
  215. <artifactId>maven-surefire-plugin</artifactId>
  216. <version>2.9</version>
  217. </plugin>
  218. <plugin>
  219. <groupId>org.codehaus.mojo</groupId>
  220. <artifactId>build-helper-maven-plugin</artifactId>
  221. <version>1.5</version>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.codehaus.mojo</groupId>
  225. <artifactId>findbugs-maven-plugin</artifactId>
  226. <version>2.3.2</version>
  227. <configuration>
  228. <findbugsXmlOutput>true</findbugsXmlOutput>
  229. <failOnError>false</failOnError>
  230. </configuration>
  231. <executions>
  232. <execution>
  233. <goals>
  234. <goal>check</goal>
  235. </goals>
  236. </execution>
  237. </executions>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-pmd-plugin</artifactId>
  242. <version>2.6</version>
  243. <configuration>
  244. <sourceEncoding>utf-8</sourceEncoding>
  245. <minimumTokens>100</minimumTokens>
  246. <targetJdk>1.5</targetJdk>
  247. <format>xml</format>
  248. <failOnViolation>false</failOnViolation>
  249. </configuration>
  250. <executions>
  251. <execution>
  252. <goals>
  253. <goal>cpd-check</goal>
  254. </goals>
  255. </execution>
  256. </executions>
  257. </plugin>
  258. <plugin>
  259. <groupId>org.codehaus.mojo</groupId>
  260. <artifactId>clirr-maven-plugin</artifactId>
  261. <version>${clirr-version}</version>
  262. <configuration>
  263. <comparisonVersion>${jgit-last-release-version}</comparisonVersion>
  264. <minSeverity>info</minSeverity>
  265. </configuration>
  266. </plugin>
  267. </plugins>
  268. </pluginManagement>
  269. <plugins>
  270. <plugin>
  271. <artifactId>maven-compiler-plugin</artifactId>
  272. <configuration>
  273. <source>1.5</source>
  274. <target>1.5</target>
  275. <encoding>UTF-8</encoding>
  276. </configuration>
  277. </plugin>
  278. <plugin>
  279. <groupId>org.apache.maven.plugins</groupId>
  280. <artifactId>maven-antrun-plugin</artifactId>
  281. <executions>
  282. <execution>
  283. <id>translate-qualifier</id>
  284. <phase>generate-resources</phase>
  285. <configuration>
  286. <target if="${translate-qualifier}">
  287. <copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}" overwrite="true"/>
  288. <replace file="${bundle-manifest}">
  289. <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
  290. </replace>
  291. </target>
  292. </configuration>
  293. <goals>
  294. <goal>run</goal>
  295. </goals>
  296. </execution>
  297. </executions>
  298. </plugin>
  299. <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property -->
  300. <plugin>
  301. <groupId>org.codehaus.mojo</groupId>
  302. <artifactId>build-helper-maven-plugin</artifactId>
  303. <executions>
  304. <execution>
  305. <id>set-osgi-version</id>
  306. <phase>validate</phase>
  307. <goals>
  308. <goal>parse-version</goal>
  309. </goals>
  310. </execution>
  311. </executions>
  312. </plugin>
  313. <plugin>
  314. <groupId>org.apache.maven.plugins</groupId>
  315. <artifactId>maven-javadoc-plugin</artifactId>
  316. <configuration>
  317. <encoding>${project.build.sourceEncoding}</encoding>
  318. <quiet>true</quiet>
  319. <links>
  320. <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
  321. </links>
  322. </configuration>
  323. <executions>
  324. <execution>
  325. <id>attach-javadocs</id>
  326. <goals>
  327. <goal>jar</goal>
  328. </goals>
  329. </execution>
  330. </executions>
  331. </plugin>
  332. <plugin>
  333. <groupId>org.apache.maven.plugins</groupId>
  334. <artifactId>maven-source-plugin</artifactId>
  335. <inherited>true</inherited>
  336. <executions>
  337. <execution>
  338. <id>attach-sources</id>
  339. <phase>process-classes</phase>
  340. <goals>
  341. <goal>jar</goal>
  342. </goals>
  343. </execution>
  344. </executions>
  345. </plugin>
  346. </plugins>
  347. </build>
  348. <dependencyManagement>
  349. <dependencies>
  350. <dependency>
  351. <groupId>com.jcraft</groupId>
  352. <artifactId>jsch</artifactId>
  353. <version>${jsch-version}</version>
  354. </dependency>
  355. <dependency>
  356. <groupId>args4j</groupId>
  357. <artifactId>args4j</artifactId>
  358. <version>${args4j-version}</version>
  359. </dependency>
  360. <dependency>
  361. <groupId>junit</groupId>
  362. <artifactId>junit</artifactId>
  363. <version>${junit-version}</version>
  364. </dependency>
  365. <dependency>
  366. <groupId>javax.servlet</groupId>
  367. <artifactId>servlet-api</artifactId>
  368. <version>${servlet-api-version}</version>
  369. </dependency>
  370. <dependency>
  371. <groupId>org.eclipse.jetty</groupId>
  372. <artifactId>jetty-servlet</artifactId>
  373. <version>${jetty-version}</version>
  374. </dependency>
  375. <dependency>
  376. <groupId>com.google.protobuf</groupId>
  377. <artifactId>protobuf-java</artifactId>
  378. <version>${protobuf-version}</version>
  379. </dependency>
  380. </dependencies>
  381. </dependencyManagement>
  382. <distributionManagement>
  383. <snapshotRepository>
  384. <id>jgit-maven-snapshot</id>
  385. <name>JGit Maven Repository</name>
  386. <url>dav:https://egit.googlecode.com/svn/maven/</url>
  387. <uniqueVersion>true</uniqueVersion>
  388. </snapshotRepository>
  389. </distributionManagement>
  390. <profiles>
  391. <!-- Set -Djgit.java6.skip=true to compile with only Java 5 -->
  392. <profile>
  393. <id>jgit.java6</id>
  394. <activation>
  395. <property>
  396. <name>!jgit.java6.skip</name>
  397. </property>
  398. </activation>
  399. <modules>
  400. <module>org.eclipse.jgit.console</module>
  401. </modules>
  402. </profile>
  403. <profile>
  404. <id>static-checks</id>
  405. <build>
  406. <plugins>
  407. <plugin>
  408. <groupId>org.codehaus.mojo</groupId>
  409. <artifactId>findbugs-maven-plugin</artifactId>
  410. </plugin>
  411. <plugin>
  412. <groupId>org.apache.maven.plugins</groupId>
  413. <artifactId>maven-pmd-plugin</artifactId>
  414. </plugin>
  415. </plugins>
  416. </build>
  417. </profile>
  418. </profiles>
  419. <modules>
  420. <module>org.eclipse.jgit</module>
  421. <module>org.eclipse.jgit.generated.storage.dht.proto</module>
  422. <module>org.eclipse.jgit.storage.dht</module>
  423. <module>org.eclipse.jgit.ant</module>
  424. <module>org.eclipse.jgit.ui</module>
  425. <module>org.eclipse.jgit.http.server</module>
  426. <module>org.eclipse.jgit.iplog</module>
  427. <module>org.eclipse.jgit.pgm</module>
  428. <module>org.eclipse.jgit.junit</module>
  429. <module>org.eclipse.jgit.junit.http</module>
  430. <module>org.eclipse.jgit.test</module>
  431. <module>org.eclipse.jgit.ant.test</module>
  432. <module>org.eclipse.jgit.http.test</module>
  433. <module>org.eclipse.jgit.storage.dht.test</module>
  434. <module>org.eclipse.jgit.pgm.test</module>
  435. </modules>
  436. </project>