From ebf76c51e09f174cb81bee4671bc9bb869d42463 Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Tue, 2 Mar 2021 21:26:55 +0800 Subject: [PATCH] Revert "HBASE-25604 Upgrade spotbugs to 4.x (#2986)" This reverts commit 0f84f77bb305d27bfcfaf2efbf77c541868d41fc. --- dev-support/docker/Dockerfile | 4 ++-- pom.xml | 12 ++---------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 9cb3b0174d03..f8bcd08fa816 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -73,9 +73,9 @@ ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 # FROM BASE_IMAGE AS SPOTBUGS_DOWNLOAD_IMAGE -ENV SPOTBUGS_VERSION '4.2.1' +ENV SPOTBUGS_VERSION '3.1.12' ENV SPOTBUGS_URL "https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs/${SPOTBUGS_VERSION}/spotbugs-${SPOTBUGS_VERSION}.tgz" -ENV SPOTBUGS_SHA256 '4d6f5f68da8ddf037bc82f0146b6e6caff4fc5872b9cd511c1e6136c680093a4' +ENV SPOTBUGS_SHA256 '9c475d6c7096ed7af783e04dc2db40462145291de75a80029391600b6eb2d401' SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN curl --location --fail --silent --show-error --output /tmp/spotbugs.tgz "${SPOTBUGS_URL}" && \ echo "${SPOTBUGS_SHA256} */tmp/spotbugs.tgz" | sha256sum -c - diff --git a/pom.xml b/pom.xml index 1dff94caf16b..4b7bbcd680f0 100755 --- a/pom.xml +++ b/pom.xml @@ -647,14 +647,6 @@ true Max - - - - com.github.spotbugs - spotbugs - ${spotbugs.version} - - org.codehaus.mojo @@ -1501,8 +1493,8 @@ 1.1.0 1.5.0.Final 1.3.9-1 - 4.2.1 - 4.2.0 + 3.1.12 + 3.1.12.2 3.0.0-M4 2.12 1.0.1