aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanh Ha2012-11-28 12:20:47 (EST)
committerPaul Webster2012-11-28 12:20:47 (EST)
commit5a266c23075d8a8bdf06143a8e7a9f5d3775fc80 (patch)
tree0b01432ce5c617205c0cc9852060cc2203d24c4a
parent137c945c93db0728a1a2ce913a6a5468eb956e98 (diff)
downloadeclipse.platform.common-5a266c23075d8a8bdf06143a8e7a9f5d3775fc80.zip
eclipse.platform.common-5a266c23075d8a8bdf06143a8e7a9f5d3775fc80.tar.gz
eclipse.platform.common-5a266c23075d8a8bdf06143a8e7a9f5d3775fc80.tar.bz2
Bug 390119 - branding plugins buildId aren't updatedv20121128-172047
-rw-r--r--bundles/org.eclipse.jdt.doc.isv/pom.xml37
-rw-r--r--bundles/org.eclipse.jdt.doc.user/pom.xml37
-rw-r--r--bundles/org.eclipse.pde.doc.user/pom.xml37
3 files changed, 111 insertions, 0 deletions
diff --git a/bundles/org.eclipse.jdt.doc.isv/pom.xml b/bundles/org.eclipse.jdt.doc.isv/pom.xml
index 9f441ba..4640555 100644
--- a/bundles/org.eclipse.jdt.doc.isv/pom.xml
+++ b/bundles/org.eclipse.jdt.doc.isv/pom.xml
@@ -24,8 +24,45 @@
<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>
+ <profile>
<id>build-docs</id>
<activation>
<activeByDefault>true</activeByDefault>
diff --git a/bundles/org.eclipse.jdt.doc.user/pom.xml b/bundles/org.eclipse.jdt.doc.user/pom.xml
index 3f1d1d6..74b5b08 100644
--- a/bundles/org.eclipse.jdt.doc.user/pom.xml
+++ b/bundles/org.eclipse.jdt.doc.user/pom.xml
@@ -24,8 +24,45 @@
<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>
+ <profile>
<id>build-docs</id>
<activation>
<activeByDefault>true</activeByDefault>
diff --git a/bundles/org.eclipse.pde.doc.user/pom.xml b/bundles/org.eclipse.pde.doc.user/pom.xml
index 2775289..6d7f919 100644
--- a/bundles/org.eclipse.pde.doc.user/pom.xml
+++ b/bundles/org.eclipse.pde.doc.user/pom.xml
@@ -24,8 +24,45 @@
<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>
+ <profile>
<id>build-docs</id>
<activation>
<activeByDefault>true</activeByDefault>