Skip to content

Commit

Permalink
HIVE-26849: Nightly build fails in master from build 1533 onwards (St…
Browse files Browse the repository at this point in the history
…amatis Zampetakis reviewed by Laszlo Bodor)

Freeze versions-maven-plugin to 2.13.0 to overcome the regression
 of 2.14.0 (mojohaus/versions#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 apache#3860
  • Loading branch information
zabetak authored and Kirti Ruge committed Jan 9, 2023
1 parent 053e65d commit 36723af
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Expand Up @@ -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 -->
Expand Down Expand Up @@ -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>
Expand Down
6 changes: 6 additions & 0 deletions standalone-metastore/pom.xml
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
6 changes: 6 additions & 0 deletions storage-api/pom.xml
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
6 changes: 6 additions & 0 deletions upgrade-acid/pom.xml
Expand Up @@ -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>
Expand All @@ -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>

0 comments on commit 36723af

Please sign in to comment.