diff options
| author | Thanh Ha | 2012-11-28 17:20:47 +0000 |
|---|---|---|
| committer | Paul Webster | 2012-11-28 17:20:47 +0000 |
| commit | 5a266c23075d8a8bdf06143a8e7a9f5d3775fc80 (patch) | |
| tree | 0b01432ce5c617205c0cc9852060cc2203d24c4a | |
| parent | 137c945c93db0728a1a2ce913a6a5468eb956e98 (diff) | |
| download | eclipse.platform.common-5a266c23075d8a8bdf06143a8e7a9f5d3775fc80.tar.gz eclipse.platform.common-5a266c23075d8a8bdf06143a8e7a9f5d3775fc80.tar.xz eclipse.platform.common-5a266c23075d8a8bdf06143a8e7a9f5d3775fc80.zip | |
Bug 390119 - branding plugins buildId aren't updatedv20121128-172047
| -rw-r--r-- | bundles/org.eclipse.jdt.doc.isv/pom.xml | 37 | ||||
| -rw-r--r-- | bundles/org.eclipse.jdt.doc.user/pom.xml | 37 | ||||
| -rw-r--r-- | bundles/org.eclipse.pde.doc.user/pom.xml | 37 |
3 files changed, 111 insertions, 0 deletions
diff --git a/bundles/org.eclipse.jdt.doc.isv/pom.xml b/bundles/org.eclipse.jdt.doc.isv/pom.xml index 9f441ba90..46405552a 100644 --- a/bundles/org.eclipse.jdt.doc.isv/pom.xml +++ b/bundles/org.eclipse.jdt.doc.isv/pom.xml @@ -24,8 +24,45 @@ <version>3.8.1-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> + <profile> <id>build-docs</id> <activation> <activeByDefault>true</activeByDefault> diff --git a/bundles/org.eclipse.jdt.doc.user/pom.xml b/bundles/org.eclipse.jdt.doc.user/pom.xml index 3f1d1d6c5..74b5b08ba 100644 --- a/bundles/org.eclipse.jdt.doc.user/pom.xml +++ b/bundles/org.eclipse.jdt.doc.user/pom.xml @@ -24,8 +24,45 @@ <version>3.8.1-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> + <profile> <id>build-docs</id> <activation> <activeByDefault>true</activeByDefault> diff --git a/bundles/org.eclipse.pde.doc.user/pom.xml b/bundles/org.eclipse.pde.doc.user/pom.xml index 27752897f..6d7f9192b 100644 --- a/bundles/org.eclipse.pde.doc.user/pom.xml +++ b/bundles/org.eclipse.pde.doc.user/pom.xml @@ -24,8 +24,45 @@ <version>3.8.1-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> + <profile> <id>build-docs</id> <activation> <activeByDefault>true</activeByDefault> |
