diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2013-06-01 00:36:17 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2013-08-21 14:44:30 +0200 |
commit | f94b258717015157e69c10ed316a07fa44ea2196 (patch) | |
tree | 05c9141e7c892a76ec181453dcde91512f854d6e /org.eclipse.jgit.packaging/pom.xml | |
parent | fdd1ac930e702760456b1cca69c415b404be1ca3 (diff) | |
download | jgit-f94b258717015157e69c10ed316a07fa44ea2196.tar.gz jgit-f94b258717015157e69c10ed316a07fa44ea2196.zip |
Add jgit target platform to define dependencies more precisely
Avoid that the packaging build picks an older jgit version coming with
eclipse platform by using a target platform which allows to define the
dependencies more precisely.
Change-Id: I39bba3baa4517e2b5e5fe0de096e756f2904e3e9
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.packaging/pom.xml')
-rw-r--r-- | org.eclipse.jgit.packaging/pom.xml | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/org.eclipse.jgit.packaging/pom.xml b/org.eclipse.jgit.packaging/pom.xml index a0f57aa39b..84037883c5 100644 --- a/org.eclipse.jgit.packaging/pom.xml +++ b/org.eclipse.jgit.packaging/pom.xml @@ -60,14 +60,10 @@ <properties> <tycho-version>0.17.0</tycho-version> - <jetty-version>7.6.0.v20120127</jetty-version> - <args4j-version>2.0.21.v201301150030</args4j-version> - <jsch-version>0.1.46.v201205102330</jsch-version> - <eclipse-site>http://download.eclipse.org/releases/juno</eclipse-site> - <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20130517111416/repository/</orbit-site> </properties> <modules> + <module>org.eclipse.jgit.target</module> <module>org.eclipse.jgit.feature</module> <module>org.eclipse.jgit.java7.feature</module> <module>org.eclipse.jgit.pgm.feature</module> @@ -77,24 +73,6 @@ <module>org.eclipse.jgit.repository</module> </modules> - <repositories> - <repository> - <id>indigo</id> - <layout>p2</layout> - <url>${eclipse-site}</url> - </repository> - <repository> - <id>jetty</id> - <layout>p2</layout> - <url>http://archive.eclipse.org/jetty/updates/jetty-bundles-7.x/${jetty-version}/</url> - </repository> - <repository> - <id>orbit</id> - <layout>p2</layout> - <url>${orbit-site}</url> - </repository> - </repositories> - <distributionManagement> <repository> <id>repo.eclipse.org</id> @@ -167,6 +145,13 @@ <configuration> <resolver>p2</resolver> <pomDependencies>consider</pomDependencies> + <target> + <artifact> + <groupId>org.eclipse.jgit</groupId> + <artifactId>org.eclipse.jgit.target</artifactId> + <version>${project.version}</version> + </artifact> + </target> <environments> <environment> <os>linux</os> |