diff options
| author | Thanh Ha | 2012-11-28 16:34:37 +0000 |
|---|---|---|
| committer | Paul Webster | 2012-11-28 16:34:37 +0000 |
| commit | 0fbf4122097e87d0a8694576adbc626dffd797a2 (patch) | |
| tree | 49a6a8377d4f510505fd56b91eaf62bc3a28d629 | |
| parent | 06c1a3b45409d6c79d0f1a8941b2577ab7219d36 (diff) | |
| download | eclipse.platform.ua-0fbf4122097e87d0a8694576adbc626dffd797a2.tar.gz eclipse.platform.ua-0fbf4122097e87d0a8694576adbc626dffd797a2.tar.xz eclipse.platform.ua-0fbf4122097e87d0a8694576adbc626dffd797a2.zip | |
Bug 390119 - branding plugins buildId aren't updatedv20121128-163437
| -rw-r--r-- | org.eclipse.help.base/pom.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/org.eclipse.help.base/pom.xml b/org.eclipse.help.base/pom.xml index 019c20599..017e91fa9 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> |
