diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2013-11-12 17:42:53 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2013-11-12 23:11:15 +0100 |
commit | 8399a9bcdee9162cdeeda233c7bf9f1943249197 (patch) | |
tree | 419357c4c429c889f7225fce84571e2b3bab0922 /org.eclipse.jgit.packaging/pom.xml | |
parent | 7948903a84c65e7e796d74a0949efd94121cec88 (diff) | |
download | jgit-8399a9bcdee9162cdeeda233c7bf9f1943249197.tar.gz jgit-8399a9bcdee9162cdeeda233c7bf9f1943249197.zip |
Introduce Kepler and Luna target platform
We need this to enable building jgit with dependencies from Orbit
version used by Luna.
Default target platform is Kepler. In order to use Luna run
mvn clean install -P platform-luna -f org.eclipse.jgit.packaging/pom.xml
Change-Id: I544516d97067f45d1034929b534ad1600136614d
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 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/org.eclipse.jgit.packaging/pom.xml b/org.eclipse.jgit.packaging/pom.xml index 7640955d8b..f6ed15a598 100644 --- a/org.eclipse.jgit.packaging/pom.xml +++ b/org.eclipse.jgit.packaging/pom.xml @@ -164,6 +164,7 @@ <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit.target</artifactId> <version>${project.version}</version> + <classifier>${target-platform}</classifier> </artifact> </target> <environments> @@ -215,12 +216,43 @@ <artifactId>eclipse-jarsigner-plugin</artifactId> <version>1.0.4</version> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.7</version> + </plugin> </plugins> </pluginManagement> </build> <profiles> <profile> + <id>platform-kepler</id> + <activation> + <activeByDefault>true</activeByDefault> + <property> + <name>platform-version-name</name> + <value>kepler</value> + </property> + </activation> + <properties> + <target-platform>jgit-4.3</target-platform> + </properties> + </profile> + <profile> + <id>platform-luna</id> + <activation> + <activeByDefault>true</activeByDefault> + <property> + <name>platform-version-name</name> + <value>luna</value> + </property> + </activation> + <properties> + <target-platform>jgit-4.4</target-platform> + </properties> + </profile> + <profile> <id>eclipse-sign</id> <build> <plugins> |