Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2020-01-23 10:38:34 +0000
committerMickael Istria2020-01-23 10:41:16 +0000
commit3d18983356ff745b40cde2a173844e8150dfa2e3 (patch)
tree13406637be8278caa66d4484f35e47d02e7e2e6d /pom.xml
parentb2783b34bc472bf39d057df4b43861077a507642 (diff)
downloadm2e-core-3d18983356ff745b40cde2a173844e8150dfa2e3.tar.gz
m2e-core-3d18983356ff745b40cde2a173844e8150dfa2e3.tar.xz
m2e-core-3d18983356ff745b40cde2a173844e8150dfa2e3.zip
Bug 559453 - [Releng] Add SourceReferences
SourceReference allow to trivially find which Git commit can be used to reproduce the bundle build. Change-Id: I8ef7653f225775cb6960ef9673e907c1ed61b881 Signed-off-by: Mickael Istria <mistria@redhat.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index ea4fec47..c6037247 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,6 +45,7 @@
<tycho.testArgLine>-Xmx800m</tycho.testArgLine>
<tycho.surefire.timeout>7200</tycho.surefire.timeout>
<jacoco.destFile>../target/jacoco.exec</jacoco.destFile>
+ <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/m2e/m2e-core.git</tycho.scmUrl>
</properties>
<organization>
@@ -241,7 +242,18 @@
<version>${tycho-version}</version>
<configuration>
<format>yyyyMMdd-HHmm</format>
+ <sourceReferences>
+ <generate>true</generate>
+ </sourceReferences>
+ <jgit.ignore>pom.xml</jgit.ignore>
</configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-sourceref-jgit</artifactId>
+ <version>${tycho-extras-version}</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>

Back to the top