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

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