Bug 559453 - [Releng] Use compare-version-with-baselines
This ensures we never move the versions back in time compared to
baseline release repository
Change-Id: I0efe1735e8f0ba6bd76126da105d2524e4970909
Signed-off-by: Mickael Istria <mistria@redhat.com>
diff --git a/pom.xml b/pom.xml
index 7e2e935..ea4fec4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,9 +32,9 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <m2e-maven-runtime.version>${project.version}</m2e-maven-runtime.version>
+ <m2e-maven-runtime.version>1.15.0-SNAPSHOT</m2e-maven-runtime.version>
- <tycho-version>1.5.1</tycho-version>
+ <tycho-version>1.6.0</tycho-version>
<tycho-extras-version>${tycho-version}</tycho-extras-version>
<!-- eclipse version m2e is built against -->
@@ -213,6 +213,24 @@
</includes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-p2-extras-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
+ <execution>
+ <id>check-no-version-regression</id>
+ <goals><goal>compare-version-with-baselines</goal></goals>
+ <phase>verify</phase>
+ <configuration>
+ <baselines>
+ <baseline>https://download.eclipse.org/technology/m2e/releases/</baseline>
+ </baselines>
+ <comparator>zip</comparator>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<pluginManagement>