Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Webster2012-11-28 15:46:36 +0000
committerPaul Webster2012-11-28 15:46:36 +0000
commit7c1dc22e9beeefc53bb137f7891dc125605cae6d (patch)
tree416e2d8bb9f20af6535539549151d12daeee7dcb
parent416f4c547cc62b4fca6f0825a375a755f2cf0d0e (diff)
downloadeclipse.platform-7c1dc22e9beeefc53bb137f7891dc125605cae6d.tar.gz
eclipse.platform-7c1dc22e9beeefc53bb137f7891dc125605cae6d.tar.xz
eclipse.platform-7c1dc22e9beeefc53bb137f7891dc125605cae6d.zip
Bug 390119 - branding plugins buildId aren't updatedv20121128-154636
Update the qualifier and the aboud.mappings
-rw-r--r--platform/org.eclipse.platform/pom.xml40
-rw-r--r--platform/org.eclipse.sdk/pom.xml40
2 files changed, 80 insertions, 0 deletions
diff --git a/platform/org.eclipse.platform/pom.xml b/platform/org.eclipse.platform/pom.xml
index 7eed0e125..77ac39b3d 100644
--- a/platform/org.eclipse.platform/pom.xml
+++ b/platform/org.eclipse.platform/pom.xml
@@ -23,4 +23,44 @@
<artifactId>org.eclipse.platform</artifactId>
<version>4.2.1-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/platform/org.eclipse.sdk/pom.xml b/platform/org.eclipse.sdk/pom.xml
index e806559dd..f011d8c93 100644
--- a/platform/org.eclipse.sdk/pom.xml
+++ b/platform/org.eclipse.sdk/pom.xml
@@ -23,4 +23,44 @@
<artifactId>org.eclipse.sdk</artifactId>
<version>4.2.1-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>

Back to the top