summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler <Michael.Keppler@gmx.de>2022-03-07 15:52:58 +0100
committerMichael Keppler <Michael.Keppler@gmx.de>2022-03-07 15:52:58 +0100
commit600e96dfdc6769b7da6e2b2daea74cf69791da7a (patch)
tree63859d68be951a3f03f05dbd4387e23fdfea291f
parentd0ed6016d40f292c94bfec7bdc4f4bf215b9e678 (diff)
downloadjgit-600e96dfdc6769b7da6e2b2daea74cf69791da7a.tar.gz
jgit-600e96dfdc6769b7da6e2b2daea74cf69791da7a.zip
Refer to target platform as file
Since Tycho 2.3 the target platform can be referenced as file, without using Maven coordinates. Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de> Change-Id: I120223dd3dc740fdff13a69201624b4cdc02c6f6
-rw-r--r--org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml27
-rw-r--r--org.eclipse.jgit.packaging/pom.xml7
2 files changed, 1 insertions, 33 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 2b8aba9d40..2296e95ed8 100644
--- a/org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml
+++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml
@@ -22,31 +22,4 @@
<artifactId>org.eclipse.jgit.target</artifactId>
<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
diff --git a/org.eclipse.jgit.packaging/pom.xml b/org.eclipse.jgit.packaging/pom.xml
index 97b2a4f6d6..2cb9822f26 100644
--- a/org.eclipse.jgit.packaging/pom.xml
+++ b/org.eclipse.jgit.packaging/pom.xml
@@ -231,12 +231,7 @@
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
<target>
- <artifact>
- <groupId>org.eclipse.jgit</groupId>
- <artifactId>org.eclipse.jgit.target</artifactId>
- <version>${project.version}</version>
- <classifier>${target-platform}</classifier>
- </artifact>
+ <file>${project.basedir}/../org.eclipse.jgit.target/${target-platform}.target</file>
</target>
<environments>
<environment>