diff options
| author | Thanh Ha | 2012-11-28 15:53:29 +0000 |
|---|---|---|
| committer | Paul Webster | 2012-11-28 15:55:16 +0000 |
| commit | 8756742b7114af0fc110b098ed5813f0184860fe (patch) | |
| tree | df80e817e216d5951ac267ccb1dd8c1bc072dd50 | |
| parent | 4fc14af1172c47451455f01dd3451c2b205ff58d (diff) | |
| download | eclipse.platform.releng-8756742b7114af0fc110b098ed5813f0184860fe.tar.gz eclipse.platform.releng-8756742b7114af0fc110b098ed5813f0184860fe.tar.xz eclipse.platform.releng-8756742b7114af0fc110b098ed5813f0184860fe.zip | |
Bug 390119 - branding plugins buildId aren't updatedv20121128-155516M20121205-1000
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 273d0e91..4b4c3fe5 100644 --- a/bundles/org.eclipse.rcp/pom.xml +++ b/bundles/org.eclipse.rcp/pom.xml @@ -28,4 +28,43 @@ <version>3.8.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> |
