From 8399a9bcdee9162cdeeda233c7bf9f1943249197 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Tue, 12 Nov 2013 17:42:53 +0100 Subject: [PATCH] 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 --- ...pse.jgit.target.target => jgit-4.3.target} | 2 +- .../org.eclipse.jgit.target/jgit-4.4.target | 64 +++++++++++++++++++ .../org.eclipse.jgit.target/pom.xml | 29 ++++++++- org.eclipse.jgit.packaging/pom.xml | 32 ++++++++++ 4 files changed, 125 insertions(+), 2 deletions(-) rename org.eclipse.jgit.packaging/org.eclipse.jgit.target/{org.eclipse.jgit.target.target => jgit-4.3.target} (99%) create mode 100644 org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.4.target diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/org.eclipse.jgit.target.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.3.target similarity index 99% rename from org.eclipse.jgit.packaging/org.eclipse.jgit.target/org.eclipse.jgit.target.target rename to org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.3.target index 9da29f808..269b90be6 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/org.eclipse.jgit.target.target +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.3.target @@ -57,7 +57,7 @@ - + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.4.target b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.4.target new file mode 100644 index 000000000..a8d5d05eb --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.4.target @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml index afeb3347c..a30f3c155 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml @@ -53,6 +53,33 @@ org.eclipse.jgit.target - eclipse-target-definition + pom JGit Target Platform + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + package + + attach-artifact + + + + + ${target-platform}.target + target + ${target-platform} + + + + + + + + \ No newline at end of file diff --git a/org.eclipse.jgit.packaging/pom.xml b/org.eclipse.jgit.packaging/pom.xml index 7640955d8..f6ed15a59 100644 --- a/org.eclipse.jgit.packaging/pom.xml +++ b/org.eclipse.jgit.packaging/pom.xml @@ -164,6 +164,7 @@ org.eclipse.jgit org.eclipse.jgit.target ${project.version} + ${target-platform} @@ -215,11 +216,42 @@ eclipse-jarsigner-plugin 1.0.4 + + org.codehaus.mojo + build-helper-maven-plugin + 1.7 + + + platform-kepler + + true + + platform-version-name + kepler + + + + jgit-4.3 + + + + platform-luna + + true + + platform-version-name + luna + + + + jgit-4.4 + + eclipse-sign