Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Johnson2021-06-20 14:43:34 +0000
committerAndrew Johnson2021-06-20 14:44:10 +0000
commit03ec7fd5d0d6e0d34cc854ba7a72eb4d131876ad (patch)
tree54bd45e05d9e72e5bd1218ddc6ffa6560d96cf1e
parent25353183cd99dad5136075d4fa5b91a94e686c2b (diff)
downloadorg.eclipse.mat-03ec7fd5d0d6e0d34cc854ba7a72eb4d131876ad.tar.gz
org.eclipse.mat-03ec7fd5d0d6e0d34cc854ba7a72eb4d131876ad.tar.xz
org.eclipse.mat-03ec7fd5d0d6e0d34cc854ba7a72eb4d131876ad.zip
Bug 573166 Build stand-alone MAT packages with a newer Eclipse release
Copy selected product files to be first in list Change-Id: Ib310c74be5cccfa6522ca824f8d06622400c7cc7 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=573166
-rw-r--r--org.eclipse.mat.product/pom.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/org.eclipse.mat.product/pom.xml b/org.eclipse.mat.product/pom.xml
index db6653a6..bc942ae6 100644
--- a/org.eclipse.mat.product/pom.xml
+++ b/org.eclipse.mat.product/pom.xml
@@ -36,6 +36,27 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>selectproduct</id>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <!-- Make the selected product the first alphabetically -->
+ <copy file="${project.build.directory}/${mat-product}.product" tofile="${project.build.directory}/mat.product" />
+ <copy file="${project.build.directory}/${mat-product}.p2.inf" tofile="${project.build.directory}/mat.p2.inf" />
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho-version}</version>

Back to the top