Bug 541741: [Releng] Add configuration of build id and final file names
Change-Id: I1704c2691167e1c4ce97bc17adf291e2755ca21c
diff --git a/releng/statet-repository/pom.xml b/releng/statet-repository/pom.xml
index 4406b3a..adca5c2 100644
--- a/releng/statet-repository/pom.xml
+++ b/releng/statet-repository/pom.xml
@@ -29,6 +29,33 @@
<groupId>org.eclipse.statet-assemblies</groupId>
<artifactId>org.eclipse.statet.repository</artifactId>
<packaging>eclipse-repository</packaging>
- <name>Eclipse StatET 4.0</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <configuration>
+ <resolver>p2</resolver>
+ <target>
+ <artifact>
+ <groupId>org.eclipse.statet-releng</groupId>
+ <artifactId>target-eclipse.ide</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </artifact>
+ </target>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-repository-plugin</artifactId>
+ <configuration>
+ <repositoryName>Eclipse StatET ${statet.version} (Build ${statet.build.id})</repositoryName>
+ <finalName>statet-repository-${statet.version}-${statet.build.id}</finalName>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>