diff options
| author | Thanh Ha | 2012-11-28 15:53:29 +0000 |
|---|---|---|
| committer | Paul Webster | 2012-11-28 15:53:29 +0000 |
| commit | ab0e829b33b8daf81b7b36372ddc792aec8721f7 (patch) | |
| tree | 6cbd98ff66ff44717d63f3b5f12f3b7e0d51ba72 | |
| parent | b93fdf7e36c8e3bb8cc48b9b0aa53e5a97f31e9e (diff) | |
| download | eclipse.platform.releng-ab0e829b33b8daf81b7b36372ddc792aec8721f7.tar.gz eclipse.platform.releng-ab0e829b33b8daf81b7b36372ddc792aec8721f7.tar.xz eclipse.platform.releng-ab0e829b33b8daf81b7b36372ddc792aec8721f7.zip | |
Bug 390119 - branding plugins buildId aren't updatedv20121128-155329M20121205-1200M20121128-1200
Increment the branding plugin qualifier with the build and replace
the about.mappings token if a profile is active.
| -rw-r--r-- | bundles/org.eclipse.cvs/pom.xml | 39 | ||||
| -rw-r--r-- | bundles/org.eclipse.rcp/pom.xml | 39 | ||||
| -rw-r--r-- | bundles/org.eclipse.sdk.examples/pom.xml | 39 | ||||
| -rw-r--r-- | bundles/org.eclipse.sdk.tests/pom.xml | 39 |
4 files changed, 156 insertions, 0 deletions
diff --git a/bundles/org.eclipse.cvs/pom.xml b/bundles/org.eclipse.cvs/pom.xml index 23c99ef2..faefdc7b 100644 --- a/bundles/org.eclipse.cvs/pom.xml +++ b/bundles/org.eclipse.cvs/pom.xml @@ -27,4 +27,43 @@ <version>1.2.0-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> diff --git a/bundles/org.eclipse.rcp/pom.xml b/bundles/org.eclipse.rcp/pom.xml index 40d90f67..1bf99f4f 100644 --- a/bundles/org.eclipse.rcp/pom.xml +++ b/bundles/org.eclipse.rcp/pom.xml @@ -28,4 +28,43 @@ <version>4.2.0-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> diff --git a/bundles/org.eclipse.sdk.examples/pom.xml b/bundles/org.eclipse.sdk.examples/pom.xml index 5b299e85..4b522e59 100644 --- a/bundles/org.eclipse.sdk.examples/pom.xml +++ b/bundles/org.eclipse.sdk.examples/pom.xml @@ -27,4 +27,43 @@ <version>3.2.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> diff --git a/bundles/org.eclipse.sdk.tests/pom.xml b/bundles/org.eclipse.sdk.tests/pom.xml index 25dbbe07..d44c750b 100644 --- a/bundles/org.eclipse.sdk.tests/pom.xml +++ b/bundles/org.eclipse.sdk.tests/pom.xml @@ -27,4 +27,43 @@ <version>1.1.0-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> |
