Bug 559453 - [Releng] Use reproducible version qualifier
Change-Id: I4f7866af3464332199d4d5b01146c1fc832702a8
Signed-off-by: Mickael Istria <mistria@redhat.com>
diff --git a/pom.xml b/pom.xml
index c603724..1cf3197 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,6 +32,9 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <!-- Current target version of m2e, used to deduce some URL at verify and publish.
+ This should usually be sync'd with the main feature version -->
+ <m2e.version>1.15.0</m2e.version>
<m2e-maven-runtime.version>1.15.0-SNAPSHOT</m2e-maven-runtime.version>
<tycho-version>1.6.0</tycho-version>
@@ -246,6 +249,7 @@
<generate>true</generate>
</sourceReferences>
<jgit.ignore>pom.xml</jgit.ignore>
+ <timestampProvider>jgit</timestampProvider>
</configuration>
<dependencies>
<dependency>
@@ -253,6 +257,11 @@
<artifactId>tycho-sourceref-jgit</artifactId>
<version>${tycho-extras-version}</version>
</dependency>
+ <dependency>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-buildtimestamp-jgit</artifactId>
+ <version>${tycho-extras-version}</version>
+ </dependency>
</dependencies>
</plugin>
<plugin>
@@ -271,6 +280,12 @@
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho-version}</version>
+ <configuration>
+ <baselineRepositories>
+ <repository><url>https://download.eclipse.org/technology/m2e/releases/</url></repository>
+ <repository><url>http://download.eclipse.org/technology/m2e/snapshots/${m2e.version}/latest/</url></repository>
+ </baselineRepositories>
+ </configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>