Revert "Bug 405151 - [CBI] Remove antrunner replace tasks"
This reverts commit 2ca89ec9388f87c3a7139beb1594a2dd468ac92f.
diff --git a/ui/org.eclipse.pde/about.mappings b/ui/org.eclipse.pde/about.mappings
index 46bcc26..720ca87 100644
--- a/ui/org.eclipse.pde/about.mappings
+++ b/ui/org.eclipse.pde/about.mappings
@@ -3,4 +3,4 @@
# java.io.Properties file (ISO 8859-1 with "\" escapes)
# This file does not need to be translated.
-0=${buildId}
\ No newline at end of file
+0=@build@
\ No newline at end of file
diff --git a/ui/org.eclipse.pde/pom.xml b/ui/org.eclipse.pde/pom.xml
index 1688a6f..acec5f9 100644
--- a/ui/org.eclipse.pde/pom.xml
+++ b/ui/org.eclipse.pde/pom.xml
@@ -39,15 +39,24 @@
<profile>
<id>update-branding-plugins</id>
<build>
- <resources>
- <resource>
- <directory>.</directory>
- <includes>
- <include>about.mappings</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
+ <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>