diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2013-06-01 00:36:17 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2013-06-02 00:41:12 +0200 |
commit | 77d2f3ca83e804234a025173a1a57f168d9be132 (patch) | |
tree | 7908e99b50505ccd0eb98f5f6a5de72216b9d78f /org.eclipse.jgit.packaging/pom.xml | |
parent | 60a4b5b27e924b13dd26148704c27e3209a04e0a (diff) | |
download | jgit-77d2f3ca83e804234a025173a1a57f168d9be132.tar.gz jgit-77d2f3ca83e804234a025173a1a57f168d9be132.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 | 33 |
1 files changed, 9 insertions, 24 deletions
diff --git a/org.eclipse.jgit.packaging/pom.xml b/org.eclipse.jgit.packaging/pom.xml index 81afb9f4d9..0a4bbffac8 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> @@ -114,7 +92,7 @@ <dependency> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit</artifactId> - <version>3.0.0-SNAPSHOT</version> + <version>${project.version}</version> <classifier>sources</classifier> </dependency> <dependency> @@ -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> |