Skip to content

Commit

Permalink
work around
Browse files Browse the repository at this point in the history
  • Loading branch information
LuciferYang committed Dec 15, 2022
1 parent 7671bc9 commit f7d3629
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev/test-dependencies.sh
Expand Up @@ -76,11 +76,13 @@ function reset_version {
find "$HOME/.m2/" | grep "$TEMP_VERSION" | xargs rm -rf

# Restore the original version number:
$MVN -q versions:set -DnewVersion=$OLD_VERSION -DgenerateBackupPoms=false > /dev/null
# SPARK-41522: ping versions-maven-plugin version for GA pass
$MVN -q org.codehaus.mojo:versions-maven-plugin:2.13.0:set -DnewVersion=$OLD_VERSION -DgenerateBackupPoms=false > /dev/null
}
trap reset_version EXIT

$MVN -q versions:set -DnewVersion=$TEMP_VERSION -DgenerateBackupPoms=false > /dev/null
# SPARK-41522: ping versions-maven-plugin version for GA pass
$MVN -q org.codehaus.mojo:versions-maven-plugin:2.13.0:set -DnewVersion=$TEMP_VERSION -DgenerateBackupPoms=false > /dev/null

# Generate manifests for each Hadoop profile:
for HADOOP_HIVE_PROFILE in "${HADOOP_HIVE_PROFILES[@]}"; do
Expand Down

0 comments on commit f7d3629

Please sign in to comment.