| author | Thanh Ha | 2012-11-28 10:53:29 (EST) |
|---|---|---|
| committer | Paul Webster | 2012-11-28 10:53:29 (EST) |
| commit | ab0e829b33b8daf81b7b36372ddc792aec8721f7 (patch) (side-by-side diff) | |
| tree | 6cbd98ff66ff44717d63f3b5f12f3b7e0d51ba72 | |
| parent | b93fdf7e36c8e3bb8cc48b9b0aa53e5a97f31e9e (diff) | |
| download | eclipse.platform.releng-ab0e829b33b8daf81b7b36372ddc792aec8721f7.zip eclipse.platform.releng-ab0e829b33b8daf81b7b36372ddc792aec8721f7.tar.gz eclipse.platform.releng-ab0e829b33b8daf81b7b36372ddc792aec8721f7.tar.bz2 | |
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 23c99ef..faefdc7 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 40d90f6..1bf99f4 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 5b299e8..4b522e5 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 25dbbe0..d44c750 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> |

