summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2013-11-12 17:42:53 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2013-11-12 23:11:15 +0100
commit8399a9bcdee9162cdeeda233c7bf9f1943249197 (patch)
tree419357c4c429c889f7225fce84571e2b3bab0922 /org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml
parent7948903a84c65e7e796d74a0949efd94121cec88 (diff)
downloadjgit-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/org.eclipse.jgit.target/pom.xml')
-rw-r--r--org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml29
1 files changed, 28 insertions, 1 deletions
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 afeb3347c6..a30f3c1557 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 @@
</parent>
<artifactId>org.eclipse.jgit.target</artifactId>
- <packaging>eclipse-target-definition</packaging>
+ <packaging>pom</packaging>
<name>JGit Target Platform</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${target-platform}.target</file>
+ <type>target</type>
+ <classifier>${target-platform}</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project> \ No newline at end of file