From e02f5519ebf2cf1631010e5568d606d1ee78fd47 Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Wed, 14 Sep 2022 14:53:45 +0800 Subject: [PATCH 1/2] HBASE-27371 Bump spotbugs version --- dev-support/docker/Dockerfile | 2 +- pom.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 2be34529fe40..d51ff82e24f8 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -73,7 +73,7 @@ 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.2' +ENV SPOTBUGS_VERSION '4.7.2' ENV SPOTBUGS_URL "https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs/${SPOTBUGS_VERSION}/spotbugs-${SPOTBUGS_VERSION}.tgz" ENV SPOTBUGS_SHA256 '4967c72396e34b86b9458d0c34c5ed185770a009d357df8e63951ee2844f769f' SHELL ["/bin/bash", "-o", "pipefail", "-c"] diff --git a/pom.xml b/pom.xml index c3f6107d37ce..218d48ec4c7a 100644 --- a/pom.xml +++ b/pom.xml @@ -846,8 +846,8 @@ 3.1.2 1.5.0.Final 1.3.9-1 - 4.2.2 - 4.2.0 + 4.7.2 + 4.7.2.0 3.0.0-M6 2.12 1.0.1 From a0460a2b6a7deb946ab1b6e3ee694323a6ccdea1 Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Wed, 14 Sep 2022 15:20:25 +0800 Subject: [PATCH 2/2] update checksum --- dev-support/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index d51ff82e24f8..e3369e270dcc 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -75,10 +75,10 @@ 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.7.2' ENV SPOTBUGS_URL "https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs/${SPOTBUGS_VERSION}/spotbugs-${SPOTBUGS_VERSION}.tgz" -ENV SPOTBUGS_SHA256 '4967c72396e34b86b9458d0c34c5ed185770a009d357df8e63951ee2844f769f' +ENV SPOTBUGS_SHA512 '8dd0634c0e5760ade8b2cc3e1d988ed58921dbcbd7568a5a6b4c078d2b2d03c54ebb918329d9832e7e76de23e2e865ff2242cde9ac67d8971f71eea0d43ff0c5' 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 - + echo "${SPOTBUGS_SHA512} */tmp/spotbugs.tgz" | sha512sum -c - FROM BASE_IMAGE AS HADOLINT_DOWNLOAD_IMAGE ENV HADOLINT_VERSION '1.17.5'