summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanh Ha2012-11-28 11:34:37 (EST)
committerPaul Webster2012-11-28 11:34:37 (EST)
commit0fbf4122097e87d0a8694576adbc626dffd797a2 (patch)
tree49a6a8377d4f510505fd56b91eaf62bc3a28d629
parent06c1a3b45409d6c79d0f1a8941b2577ab7219d36 (diff)
downloadeclipse.platform.ua-0fbf4122097e87d0a8694576adbc626dffd797a2.zip
eclipse.platform.ua-0fbf4122097e87d0a8694576adbc626dffd797a2.tar.gz
eclipse.platform.ua-0fbf4122097e87d0a8694576adbc626dffd797a2.tar.bz2
Bug 390119 - branding plugins buildId aren't updatedv20121128-163437
-rw-r--r--org.eclipse.help.base/pom.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/org.eclipse.help.base/pom.xml b/org.eclipse.help.base/pom.xml
index 019c205..017e91f 100644
--- a/org.eclipse.help.base/pom.xml
+++ b/org.eclipse.help.base/pom.xml
@@ -22,4 +22,44 @@
<artifactId>org.eclipse.help.base</artifactId>
<version>3.6.101-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>