Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-06-24 09:39:34 +0000
committerSteffen Pingel2013-06-24 09:39:34 +0000
commit41f241c88581ff67effdfbe9529315a44da27718 (patch)
treed27d45b0e2a29ff87c7b044bae3d85c0f1e009ba
parentae52150c8445dae4123058280d5db9ac50cd005d (diff)
downloadorg.eclipse.mylyn-41f241c88581ff67effdfbe9529315a44da27718.tar.gz
org.eclipse.mylyn-41f241c88581ff67effdfbe9529315a44da27718.tar.xz
org.eclipse.mylyn-41f241c88581ff67effdfbe9529315a44da27718.zip
411473: generate version qualifier from source control
Change-Id: Ibf08396610ad85b48ef36e537a09631716e6ddb8 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=411473
-rw-r--r--org.eclipse.mylyn-parent/pom.xml29
1 files changed, 22 insertions, 7 deletions
diff --git a/org.eclipse.mylyn-parent/pom.xml b/org.eclipse.mylyn-parent/pom.xml
index 7bd726c..6ca1e51 100644
--- a/org.eclipse.mylyn-parent/pom.xml
+++ b/org.eclipse.mylyn-parent/pom.xml
@@ -667,10 +667,30 @@
</configuration>
</plugin>
<!-- computes git revision for manifest -->
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-packaging-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <strictBinIncludes>false</strictBinIncludes>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-buildtimestamp-jgit</artifactId>
+ <version>${tycho-extras-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-sourceref-jgit</artifactId>
+ <version>${tycho-extras-version}</version>
+ </dependency>
+ </dependencies>
<configuration>
<format>${dist.qualifier}</format>
<archiveSite>false</archiveSite>
@@ -680,14 +700,9 @@
<sourceReferences>
<generate>true</generate>
</sourceReferences>
+ <format>yyyyMMdd-HHmm</format>
+ <timestampProvider>jgit</timestampProvider>
</configuration>
- <dependencies>
- <dependency>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-sourceref-jgit</artifactId>
- <version>${tycho-extras-version}</version>
- </dependency>
- </dependencies>
</plugin>
<!-- code analysis -->
<plugin>

Back to the top