This is an automated email from the ASF dual-hosted git repository.

zabetak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 2cf058bbf36 HIVE-26849: Nightly build fails in master from build 1533 
onwards (Stamatis Zampetakis reviewed by Laszlo Bodor)
2cf058bbf36 is described below

commit 2cf058bbf3613a6522c674d12cd415aeb6ce8fe7
Author: Stamatis Zampetakis <[email protected]>
AuthorDate: Wed Dec 14 19:34:48 2022 +0100

    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 5772c9e1b1b..35ac623a6a5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,6 +96,7 @@
     <maven.build-helper.plugin.version>1.12</maven.build-helper.plugin.version>
     <maven.eclipse.plugin.version>2.10</maven.eclipse.plugin.version>
     <maven.exec.plugin.version>1.6.0</maven.exec.plugin.version>
+    <maven.versions.plugin.version>2.13.0</maven.versions.plugin.version>
     <maven.shade.plugin.version>3.4.1</maven.shade.plugin.version>
     <maven.surefire.plugin.version>3.0.0-M4</maven.surefire.plugin.version>
     <!-- Library Dependency Versions -->
@@ -1438,6 +1439,11 @@
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>${maven.checkstyle.plugin.version}</version>
         </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>versions-maven-plugin</artifactId>
+          <version>${maven.versions.plugin.version}</version>
+        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
diff --git a/standalone-metastore/pom.xml b/standalone-metastore/pom.xml
index 43a6d6df5d9..2e2255002eb 100644
--- a/standalone-metastore/pom.xml
+++ b/standalone-metastore/pom.xml
@@ -54,6 +54,7 @@
     <!-- Plugin versions -->
     <ant.contrib.version>1.0b3</ant.contrib.version>
     <maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
+    <maven.versions.plugin.version>2.13.0</maven.versions.plugin.version>
     <maven.surefire.plugin.version>3.0.0-M4</maven.surefire.plugin.version>
     <!-- Dependency versions -->
     <antlr.version>3.5.2</antlr.version>
@@ -489,6 +490,11 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
         </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>versions-maven-plugin</artifactId>
+          <version>${maven.versions.plugin.version}</version>
+        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
diff --git a/storage-api/pom.xml b/storage-api/pom.xml
index 2230c46e624..b2e411ab900 100644
--- a/storage-api/pom.xml
+++ b/storage-api/pom.xml
@@ -36,6 +36,7 @@
     <slf4j.version>1.7.30</slf4j.version>
     <maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
     <checkstyle.conf.dir>${basedir}/checkstyle/</checkstyle.conf.dir>
+    <maven.versions.plugin.version>2.13.0</maven.versions.plugin.version>
     <maven.surefire.plugin.version>3.0.0-M4</maven.surefire.plugin.version>
   </properties>
   <dependencies>
@@ -164,6 +165,11 @@
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>${maven.checkstyle.plugin.version}</version>
         </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>versions-maven-plugin</artifactId>
+          <version>${maven.versions.plugin.version}</version>
+        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
diff --git a/upgrade-acid/pom.xml b/upgrade-acid/pom.xml
index 6c62a8398ef..3864742dfbc 100644
--- a/upgrade-acid/pom.xml
+++ b/upgrade-acid/pom.xml
@@ -40,6 +40,7 @@
     <maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
     <junit.jupiter.version>5.6.2</junit.jupiter.version>
     <junit.vintage.version>5.6.2</junit.vintage.version>
+    <maven.versions.plugin.version>2.13.0</maven.versions.plugin.version>
     <maven.surefire.plugin.version>3.0.0-M4</maven.surefire.plugin.version>
   </properties>
   <modules>
@@ -57,6 +58,11 @@
           <includeTestSourceDirectory>true</includeTestSourceDirectory>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>versions-maven-plugin</artifactId>
+        <version>${maven.versions.plugin.version}</version>
+      </plugin>
     </plugins>
   </build>
 </project>

Reply via email to