Revert "Fixed bug 405149: [CBI] Remove antrunner replace tasks"
This reverts commit 2b6697f82e4481d01e440b212525f20e3ecb8584.
diff --git a/org.eclipse.jdt-feature/sourceTemplatePlugin/about.mappings b/org.eclipse.jdt-feature/sourceTemplatePlugin/about.mappings
index 7eb21b9..0dfb735 100644
--- a/org.eclipse.jdt-feature/sourceTemplatePlugin/about.mappings
+++ b/org.eclipse.jdt-feature/sourceTemplatePlugin/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}
+0=@build@
diff --git a/org.eclipse.jdt/about.mappings b/org.eclipse.jdt/about.mappings
index 3e0c4f5..bddaab4 100644
--- a/org.eclipse.jdt/about.mappings
+++ b/org.eclipse.jdt/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/org.eclipse.jdt/pom.xml b/org.eclipse.jdt/pom.xml
index 72da238..5258605 100644
--- a/org.eclipse.jdt/pom.xml
+++ b/org.eclipse.jdt/pom.xml
@@ -38,15 +38,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>