From 36723af81fc709738dbe257157eda2c0726a6411 Mon Sep 17 00:00:00 2001 From: Stamatis Zampetakis Date: Wed, 14 Dec 2022 19:34:48 +0100 Subject: [PATCH] HIVE-26849: Nightly build fails in master from build 1533 onwards (Stamatis Zampetakis reviewed by Laszlo Bodor) Freeze versions-maven-plugin to 2.13.0 to overcome the regression of 2.14.0 (https://github.com/mojohaus/versions/issues/848) causing the failures in the nightly build. Using a fixed version is a good practice and can also prevent similar problems in the future. Closes #3860 --- pom.xml | 6 ++++++ standalone-metastore/pom.xml | 6 ++++++ storage-api/pom.xml | 6 ++++++ upgrade-acid/pom.xml | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/pom.xml b/pom.xml index 5772c9e1b1b7..35ac623a6a55 100644 --- a/pom.xml +++ b/pom.xml @@ -96,6 +96,7 @@ 1.12 2.10 1.6.0 + 2.13.0 3.4.1 3.0.0-M4 @@ -1438,6 +1439,11 @@ maven-checkstyle-plugin ${maven.checkstyle.plugin.version} + + org.codehaus.mojo + versions-maven-plugin + ${maven.versions.plugin.version} + org.apache.maven.plugins maven-surefire-plugin diff --git a/standalone-metastore/pom.xml b/standalone-metastore/pom.xml index 43a6d6df5d90..2e2255002ebf 100644 --- a/standalone-metastore/pom.xml +++ b/standalone-metastore/pom.xml @@ -54,6 +54,7 @@ 1.0b3 2.17 + 2.13.0 3.0.0-M4 3.5.2 @@ -489,6 +490,11 @@ org.apache.maven.plugins maven-assembly-plugin + + org.codehaus.mojo + versions-maven-plugin + ${maven.versions.plugin.version} + org.apache.maven.plugins maven-surefire-plugin diff --git a/storage-api/pom.xml b/storage-api/pom.xml index 2230c46e6240..b2e411ab900d 100644 --- a/storage-api/pom.xml +++ b/storage-api/pom.xml @@ -36,6 +36,7 @@ 1.7.30 2.17 ${basedir}/checkstyle/ + 2.13.0 3.0.0-M4 @@ -164,6 +165,11 @@ maven-checkstyle-plugin ${maven.checkstyle.plugin.version} + + org.codehaus.mojo + versions-maven-plugin + ${maven.versions.plugin.version} + org.apache.maven.plugins maven-surefire-plugin diff --git a/upgrade-acid/pom.xml b/upgrade-acid/pom.xml index 6c62a8398efd..3864742dfbc8 100644 --- a/upgrade-acid/pom.xml +++ b/upgrade-acid/pom.xml @@ -40,6 +40,7 @@ 2.17 5.6.2 5.6.2 + 2.13.0 3.0.0-M4 @@ -57,6 +58,11 @@ true + + org.codehaus.mojo + versions-maven-plugin + ${maven.versions.plugin.version} +