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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2009, 2015, 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"
  10. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  11. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  12. <modelVersion>4.0.0</modelVersion>
  13. <groupId>org.eclipse.jgit</groupId>
  14. <artifactId>jgit.tycho.parent</artifactId>
  15. <version>5.13.0-SNAPSHOT</version>
  16. <packaging>pom</packaging>
  17. <name>JGit Tycho Parent</name>
  18. <properties>
  19. <tycho-version>1.7.0</tycho-version>
  20. <tycho-extras-version>${tycho-version}</tycho-extras-version>
  21. <target-platform>jgit-4.6</target-platform>
  22. </properties>
  23. <pluginRepositories>
  24. <pluginRepository>
  25. <id>repo.eclipse.org.cbi-releases</id>
  26. <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
  27. </pluginRepository>
  28. <pluginRepository>
  29. <id>repo.eclipse.org.cbi-snapshots</id>
  30. <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
  31. </pluginRepository>
  32. </pluginRepositories>
  33. <modules>
  34. <module>org.eclipse.jgit.target</module>
  35. <module>org.eclipse.jgit.feature</module>
  36. <module>org.eclipse.jgit.gpg.bc.feature</module>
  37. <module>org.eclipse.jgit.http.apache.feature</module>
  38. <module>org.eclipse.jgit.ssh.apache.feature</module>
  39. <module>org.eclipse.jgit.ssh.jsch.feature</module>
  40. <module>org.eclipse.jgit.lfs.feature</module>
  41. <module>org.eclipse.jgit.pgm.feature</module>
  42. <module>org.eclipse.jgit.source.feature</module>
  43. <module>org.eclipse.jgit.junit.feature</module>
  44. <module>org.eclipse.jgit.repository</module>
  45. </modules>
  46. <distributionManagement>
  47. <repository>
  48. <id>repo.eclipse.org</id>
  49. <name>JGit Maven Repository - Releases</name>
  50. <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
  51. </repository>
  52. <snapshotRepository>
  53. <id>repo.eclipse.org</id>
  54. <name>JGit Maven Repository - Snapshots</name>
  55. <url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url>
  56. <uniqueVersion>true</uniqueVersion>
  57. </snapshotRepository>
  58. </distributionManagement>
  59. <dependencies>
  60. <!-- sources artifacts so that we can place them in the features -->
  61. <dependency>
  62. <groupId>org.eclipse.jgit</groupId>
  63. <artifactId>org.eclipse.jgit</artifactId>
  64. <version>${project.version}</version>
  65. <classifier>sources</classifier>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.eclipse.jgit</groupId>
  69. <artifactId>org.eclipse.jgit.ant</artifactId>
  70. <version>${project.version}</version>
  71. <classifier>sources</classifier>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.eclipse.jgit</groupId>
  75. <artifactId>org.eclipse.jgit.archive</artifactId>
  76. <version>${project.version}</version>
  77. <classifier>sources</classifier>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.eclipse.jgit</groupId>
  81. <artifactId>org.eclipse.jgit.gpg.bc</artifactId>
  82. <version>${project.version}</version>
  83. <classifier>sources</classifier>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.eclipse.jgit</groupId>
  87. <artifactId>org.eclipse.jgit.http.apache</artifactId>
  88. <version>${project.version}</version>
  89. <classifier>sources</classifier>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.eclipse.jgit</groupId>
  93. <artifactId>org.eclipse.jgit.http.server</artifactId>
  94. <version>${project.version}</version>
  95. <classifier>sources</classifier>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.eclipse.jgit</groupId>
  99. <artifactId>org.eclipse.jgit.junit</artifactId>
  100. <version>${project.version}</version>
  101. <classifier>sources</classifier>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.eclipse.jgit</groupId>
  105. <artifactId>org.eclipse.jgit.junit.http</artifactId>
  106. <version>${project.version}</version>
  107. <classifier>sources</classifier>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.eclipse.jgit</groupId>
  111. <artifactId>org.eclipse.jgit.junit.ssh</artifactId>
  112. <version>${project.version}</version>
  113. <classifier>sources</classifier>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.eclipse.jgit</groupId>
  117. <artifactId>org.eclipse.jgit.lfs</artifactId>
  118. <version>${project.version}</version>
  119. <classifier>sources</classifier>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.eclipse.jgit</groupId>
  123. <artifactId>org.eclipse.jgit.lfs.server</artifactId>
  124. <version>${project.version}</version>
  125. <classifier>sources</classifier>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.eclipse.jgit</groupId>
  129. <artifactId>org.eclipse.jgit.pgm</artifactId>
  130. <version>${project.version}</version>
  131. <classifier>sources</classifier>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.eclipse.jgit</groupId>
  135. <artifactId>org.eclipse.jgit.ssh.apache</artifactId>
  136. <version>${project.version}</version>
  137. <classifier>sources</classifier>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.eclipse.jgit</groupId>
  141. <artifactId>org.eclipse.jgit.ssh.jsch</artifactId>
  142. <version>${project.version}</version>
  143. <classifier>sources</classifier>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.eclipse.jgit</groupId>
  147. <artifactId>org.eclipse.jgit.ui</artifactId>
  148. <version>${project.version}</version>
  149. <classifier>sources</classifier>
  150. </dependency>
  151. </dependencies>
  152. <build>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-enforcer-plugin</artifactId>
  157. <version>3.0.0-M3</version>
  158. <executions>
  159. <execution>
  160. <id>enforce-maven</id>
  161. <goals>
  162. <goal>enforce</goal>
  163. </goals>
  164. <configuration>
  165. <rules>
  166. <requireMavenVersion>
  167. <version>3.6.3</version>
  168. </requireMavenVersion>
  169. </rules>
  170. </configuration>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <plugin>
  175. <groupId>org.eclipse.tycho</groupId>
  176. <artifactId>tycho-maven-plugin</artifactId>
  177. <version>${tycho-version}</version>
  178. <extensions>true</extensions>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.eclipse.tycho</groupId>
  182. <artifactId>target-platform-configuration</artifactId>
  183. <version>${tycho-version}</version>
  184. <configuration>
  185. <resolver>p2</resolver>
  186. </configuration>
  187. </plugin>
  188. </plugins>
  189. <pluginManagement>
  190. <plugins>
  191. <plugin>
  192. <groupId>org.eclipse.tycho</groupId>
  193. <artifactId>tycho-compiler-plugin</artifactId>
  194. <version>${tycho-version}</version>
  195. <configuration>
  196. <encoding>UTF-8</encoding>
  197. <source>1.8</source>
  198. <target>1.8</target>
  199. </configuration>
  200. </plugin>
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-resources-plugin</artifactId>
  204. <version>3.2.0</version>
  205. <configuration>
  206. <encoding>ISO-8859-1</encoding>
  207. </configuration>
  208. </plugin>
  209. <plugin>
  210. <groupId>org.eclipse.tycho</groupId>
  211. <artifactId>target-platform-configuration</artifactId>
  212. <version>${tycho-version}</version>
  213. <configuration>
  214. <resolver>p2</resolver>
  215. <pomDependencies>consider</pomDependencies>
  216. <target>
  217. <artifact>
  218. <groupId>org.eclipse.jgit</groupId>
  219. <artifactId>org.eclipse.jgit.target</artifactId>
  220. <version>${project.version}</version>
  221. <classifier>${target-platform}</classifier>
  222. </artifact>
  223. </target>
  224. <environments>
  225. <environment>
  226. <os>linux</os>
  227. <ws>gtk</ws>
  228. <arch>x86</arch>
  229. </environment>
  230. <environment>
  231. <os>linux</os>
  232. <ws>gtk</ws>
  233. <arch>x86_64</arch>
  234. </environment>
  235. <environment>
  236. <os>win32</os>
  237. <ws>win32</ws>
  238. <arch>x86</arch>
  239. </environment>
  240. <environment>
  241. <os>win32</os>
  242. <ws>win32</ws>
  243. <arch>x86_64</arch>
  244. </environment>
  245. <environment>
  246. <os>macosx</os>
  247. <ws>cocoa</ws>
  248. <arch>x86_64</arch>
  249. </environment>
  250. </environments>
  251. </configuration>
  252. </plugin>
  253. <plugin>
  254. <groupId>org.eclipse.tycho</groupId>
  255. <artifactId>tycho-p2-plugin</artifactId>
  256. <version>${tycho-version}</version>
  257. </plugin>
  258. <plugin>
  259. <groupId>org.eclipse.tycho</groupId>
  260. <artifactId>tycho-p2-publisher-plugin</artifactId>
  261. <version>${tycho-version}</version>
  262. </plugin>
  263. <plugin>
  264. <groupId>org.eclipse.tycho</groupId>
  265. <artifactId>tycho-p2-repository-plugin</artifactId>
  266. <version>${tycho-version}</version>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.eclipse.tycho</groupId>
  270. <artifactId>tycho-packaging-plugin</artifactId>
  271. <version>${tycho-version}</version>
  272. </plugin>
  273. <plugin>
  274. <groupId>org.eclipse.tycho.extras</groupId>
  275. <artifactId>tycho-pack200a-plugin</artifactId>
  276. <version>${tycho-extras-version}</version>
  277. </plugin>
  278. <plugin>
  279. <groupId>org.eclipse.tycho.extras</groupId>
  280. <artifactId>tycho-pack200b-plugin</artifactId>
  281. <version>${tycho-extras-version}</version>
  282. </plugin>
  283. <plugin>
  284. <groupId>org.eclipse.cbi.maven.plugins</groupId>
  285. <artifactId>eclipse-jarsigner-plugin</artifactId>
  286. <version>1.3.1</version>
  287. </plugin>
  288. <plugin>
  289. <groupId>org.codehaus.mojo</groupId>
  290. <artifactId>build-helper-maven-plugin</artifactId>
  291. <version>3.2.0</version>
  292. </plugin>
  293. <plugin>
  294. <artifactId>maven-clean-plugin</artifactId>
  295. <version>3.1.0</version>
  296. </plugin>
  297. <plugin>
  298. <groupId>org.apache.maven.plugins</groupId>
  299. <artifactId>maven-deploy-plugin</artifactId>
  300. <version>3.0.0-M1</version>
  301. </plugin>
  302. <plugin>
  303. <groupId>org.apache.maven.plugins</groupId>
  304. <artifactId>maven-install-plugin</artifactId>
  305. <version>3.0.0-M1</version>
  306. </plugin>
  307. <plugin>
  308. <groupId>org.apache.maven.plugins</groupId>
  309. <artifactId>maven-site-plugin</artifactId>
  310. <version>3.9.1</version>
  311. </plugin>
  312. </plugins>
  313. </pluginManagement>
  314. </build>
  315. <profiles>
  316. <profile>
  317. <id>eclipse-sign</id>
  318. <build>
  319. <plugins>
  320. <plugin>
  321. <groupId>org.eclipse.tycho</groupId>
  322. <artifactId>target-platform-configuration</artifactId>
  323. <configuration>
  324. <includePackedArtifacts>true</includePackedArtifacts>
  325. </configuration>
  326. </plugin>
  327. <plugin>
  328. <groupId>org.eclipse.tycho.extras</groupId>
  329. <artifactId>tycho-pack200a-plugin</artifactId>
  330. <executions>
  331. <execution>
  332. <id>pack200-normalize</id>
  333. <goals>
  334. <goal>normalize</goal>
  335. </goals>
  336. <phase>verify</phase>
  337. </execution>
  338. </executions>
  339. </plugin>
  340. <plugin>
  341. <groupId>org.eclipse.cbi.maven.plugins</groupId>
  342. <artifactId>eclipse-jarsigner-plugin</artifactId>
  343. <executions>
  344. <execution>
  345. <id>sign</id>
  346. <goals>
  347. <goal>sign</goal>
  348. </goals>
  349. <phase>verify</phase>
  350. </execution>
  351. </executions>
  352. </plugin>
  353. <plugin>
  354. <groupId>org.eclipse.tycho.extras</groupId>
  355. <artifactId>tycho-pack200b-plugin</artifactId>
  356. <executions>
  357. <execution>
  358. <id>pack200-pack</id>
  359. <goals>
  360. <goal>pack</goal>
  361. </goals>
  362. <phase>verify</phase>
  363. </execution>
  364. </executions>
  365. </plugin>
  366. <plugin>
  367. <groupId>org.eclipse.tycho</groupId>
  368. <artifactId>tycho-p2-plugin</artifactId>
  369. <executions>
  370. <execution>
  371. <id>p2-metadata</id>
  372. <goals>
  373. <goal>p2-metadata</goal>
  374. </goals>
  375. <phase>verify</phase>
  376. </execution>
  377. </executions>
  378. <configuration>
  379. <defaultP2Metadata>false</defaultP2Metadata>
  380. </configuration>
  381. </plugin>
  382. </plugins>
  383. </build>
  384. </profile>
  385. <profile>
  386. <id>eclipse-pack</id>
  387. <build>
  388. <plugins>
  389. <plugin>
  390. <groupId>org.eclipse.tycho</groupId>
  391. <artifactId>target-platform-configuration</artifactId>
  392. <configuration>
  393. <includePackedArtifacts>true</includePackedArtifacts>
  394. </configuration>
  395. </plugin>
  396. <plugin>
  397. <groupId>org.eclipse.tycho.extras</groupId>
  398. <artifactId>tycho-pack200a-plugin</artifactId>
  399. <executions>
  400. <execution>
  401. <id>pack200-normalize</id>
  402. <goals>
  403. <goal>normalize</goal>
  404. </goals>
  405. </execution>
  406. </executions>
  407. </plugin>
  408. <plugin>
  409. <groupId>org.eclipse.tycho.extras</groupId>
  410. <artifactId>tycho-pack200b-plugin</artifactId>
  411. <executions>
  412. <execution>
  413. <id>pack200-pack</id>
  414. <goals>
  415. <goal>pack</goal>
  416. </goals>
  417. </execution>
  418. </executions>
  419. </plugin>
  420. <plugin>
  421. <groupId>org.eclipse.tycho</groupId>
  422. <artifactId>tycho-p2-plugin</artifactId>
  423. <executions>
  424. <execution>
  425. <id>p2-metadata</id>
  426. <goals>
  427. <goal>p2-metadata</goal>
  428. </goals>
  429. <phase>package</phase>
  430. </execution>
  431. </executions>
  432. <configuration>
  433. <defaultP2Metadata>false</defaultP2Metadata>
  434. </configuration>
  435. </plugin>
  436. </plugins>
  437. </build>
  438. </profile>
  439. </profiles>
  440. </project>