Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanh Ha2013-10-21 14:45:03 +0000
committerDavid Williams2013-10-23 14:55:38 +0000
commitc2ffdafda7a8192548025233c926a3cd02d69eaa (patch)
tree2a36f22cce00b611bbb5e8b3a9fc92ff8d6bdb94 /eclipse-platform-parent/pom.xml
parent77dbb7ec6e47e7e79378003b70daca12b05e2f4a (diff)
downloadeclipse.platform.releng.aggregator-c2ffdafda7a8192548025233c926a3cd02d69eaa.tar.gz
eclipse.platform.releng.aggregator-c2ffdafda7a8192548025233c926a3cd02d69eaa.tar.xz
eclipse.platform.releng.aggregator-c2ffdafda7a8192548025233c926a3cd02d69eaa.zip
Bug 419503 - Dirty working tree: about.mappings
Signed-off-by: Thanh Ha <thanh.ha@eclipse.org>
Diffstat (limited to 'eclipse-platform-parent/pom.xml')
-rw-r--r--eclipse-platform-parent/pom.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/eclipse-platform-parent/pom.xml b/eclipse-platform-parent/pom.xml
index d4f014e44..49849ca13 100644
--- a/eclipse-platform-parent/pom.xml
+++ b/eclipse-platform-parent/pom.xml
@@ -731,5 +731,60 @@
</build>
</profile>
+
+ <profile>
+ <id>update-branding-plugins-about.mappings</id>
+ <activation>
+ <file>
+ <exists>${basedir}/about.mappings</exists>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.6</version>
+ <executions>
+ <execution>
+ <id>process-about.mappings</id>
+ <phase>prepare-package</phase>
+ <configuration>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <overwrite>true</overwrite>
+ <resources>
+ <resource>
+ <directory>${basedir}</directory>
+ <includes>
+ <include>about.mappings</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-packaging-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <configuration>
+ <additionalFileSets>
+ <fileSet>
+ <directory>${project.build.directory}</directory>
+ <includes>
+ <include>about.mappings</include>
+ </includes>
+ </fileSet>
+ </additionalFileSets>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>

Back to the top