Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Knauer2013-11-28 22:08:46 +0000
committerMarkus Knauer2013-11-28 22:08:46 +0000
commitc121552b8b174420c01d03004c5588eb785e8a49 (patch)
tree45b1bbc2a19b43b3967439297302d06927f39272 /releng/org.eclipse.epp.config/parent/pom.xml
parent428b443a38d4c1c835f50ab224529af0421e0f53 (diff)
downloadorg.eclipse.epp.packages-c121552b8b174420c01d03004c5588eb785e8a49.tar.gz
org.eclipse.epp.packages-c121552b8b174420c01d03004c5588eb785e8a49.tar.xz
org.eclipse.epp.packages-c121552b8b174420c01d03004c5588eb785e8a49.zip
Update fill-in in about.mappings with build timestamp during build
The implementation uses the maven-resources-plugin and has been ported from the Eclipse Platform Git repository platform/eclipse.platform.releng.aggregator.git from their pom at /plain/eclipse-platform-parent/pom.xml
Diffstat (limited to 'releng/org.eclipse.epp.config/parent/pom.xml')
-rw-r--r--releng/org.eclipse.epp.config/parent/pom.xml59
1 files changed, 59 insertions, 0 deletions
diff --git a/releng/org.eclipse.epp.config/parent/pom.xml b/releng/org.eclipse.epp.config/parent/pom.xml
index a7c4c026..db5ab2d6 100644
--- a/releng/org.eclipse.epp.config/parent/pom.xml
+++ b/releng/org.eclipse.epp.config/parent/pom.xml
@@ -25,6 +25,10 @@
<tycho.version>0.19.0</tycho.version>
<tycho.extras.version>${tycho.version}</tycho.extras.version>
<cbi.version>1.0.5</cbi.version>
+ <maven.resources.version>2.6</maven.resources.version>
+ <maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
+ <build>${maven.build.timestamp}</build>
+ <releaseName>Luna</releaseName>
<eclipse.simultaneous.release>http://download.eclipse.org/releases/staging/</eclipse.simultaneous.release>
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/epp/org.eclipse.epp.packages.git</tycho.scmUrl>
</properties>
@@ -276,6 +280,61 @@
</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>${maven.resources.version}</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