diff options
author | Thanh Ha | 2012-11-28 16:19:33 +0000 |
---|---|---|
committer | Paul Webster | 2012-11-28 16:19:33 +0000 |
commit | 8bac5c35cf2b4c6162076bd6a203a72800721804 (patch) | |
tree | c68454d7c3696e237b1194bb2b7bd35948710fd6 | |
parent | 0d6d6255b5a47c5bc6dcb7eef84c1de8000d79dd (diff) | |
download | eclipse.platform.runtime-8bac5c35cf2b4c6162076bd6a203a72800721804.tar.gz eclipse.platform.runtime-8bac5c35cf2b4c6162076bd6a203a72800721804.tar.xz eclipse.platform.runtime-8bac5c35cf2b4c6162076bd6a203a72800721804.zip |
Bug 390119 - branding plugins buildId aren't updatedM20121219-1200M20121212-1800M20121212-1200M20121205-1200M20121128-1200
-rw-r--r-- | bundles/org.eclipse.core.tools/pom.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/bundles/org.eclipse.core.tools/pom.xml b/bundles/org.eclipse.core.tools/pom.xml index 13bc492db..b3e29c7f7 100644 --- a/bundles/org.eclipse.core.tools/pom.xml +++ b/bundles/org.eclipse.core.tools/pom.xml @@ -23,4 +23,44 @@ <artifactId>org.eclipse.core.tools</artifactId> <version>1.5.100-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-packaging-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <format>'v${maven.build.timestamp}'</format> + </configuration> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>update-branding-plugins</id> + <build> + <plugins> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <phase>process-resources</phase> + <configuration> + <tasks> + <replace file="about.mappings" + token="@build@" value="${buildId}" /> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |