Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Webster2012-11-28 15:46:36 +0000
committerPaul Webster2012-11-28 15:48:18 +0000
commit6f8f39c2b84fc251aa22ee0149bfe3f657eba676 (patch)
tree3aee5c6050127a407d47dbbdfa716882c586c69d
parent0bd060bb3b2966e60b9c8f67b2783b6bec72431c (diff)
downloadeclipse.platform-6f8f39c2b84fc251aa22ee0149bfe3f657eba676.tar.gz
eclipse.platform-6f8f39c2b84fc251aa22ee0149bfe3f657eba676.tar.xz
eclipse.platform-6f8f39c2b84fc251aa22ee0149bfe3f657eba676.zip
Bug 390119 - branding plugins buildId aren't updatedv20121128-154818
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 067dbb0e2..fdffcf8ea 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>3.8.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 3bbff4b8e..7fde8df5e 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>3.8.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