aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanh Ha2012-11-28 10:53:29 (EST)
committerPaul Webster2012-11-28 10:55:16 (EST)
commit8756742b7114af0fc110b098ed5813f0184860fe (patch)
treedf80e817e216d5951ac267ccb1dd8c1bc072dd50
parent4fc14af1172c47451455f01dd3451c2b205ff58d (diff)
downloadeclipse.platform.releng-8756742b7114af0fc110b098ed5813f0184860fe.zip
eclipse.platform.releng-8756742b7114af0fc110b098ed5813f0184860fe.tar.gz
eclipse.platform.releng-8756742b7114af0fc110b098ed5813f0184860fe.tar.bz2
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.xml39
-rw-r--r--bundles/org.eclipse.rcp/pom.xml39
-rw-r--r--bundles/org.eclipse.sdk.examples/pom.xml39
-rw-r--r--bundles/org.eclipse.sdk.tests/pom.xml39
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 273d0e9..4b4c3fe 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 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>