You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2021/10/01 05:08:19 UTC
[phoenix] branch 4.16 updated: PHOENIX-6558 Update SpotBugs
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch 4.16
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.16 by this push:
new a2f9a3c PHOENIX-6558 Update SpotBugs
a2f9a3c is described below
commit a2f9a3cc37af637357ad32fb2be0053385a353bf
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Sep 30 14:45:43 2021 +0200
PHOENIX-6558 Update SpotBugs
---
dev/docker/Dockerfile.yetus | 10 +++-------
pom.xml | 4 ++--
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/dev/docker/Dockerfile.yetus b/dev/docker/Dockerfile.yetus
index e13d367..bc4ce68 100644
--- a/dev/docker/Dockerfile.yetus
+++ b/dev/docker/Dockerfile.yetus
@@ -20,15 +20,11 @@ FROM apache/yetus:0.13.0
# Update SpotBugs
#####
RUN rm -rf /opt/spotbugs \
- && git clone https://github.com/stoty/spotbugs.git \
- && cd spotbugs \
- && git checkout PHOENIX-1161-backport \
- && ./gradlew clean build -x test \
+ && curl -L https://github.com/spotbugs/spotbugs/releases/download/4.4.1/spotbugs-4.4.1.tgz --output spotbugs-4.4.1.tgz \
&& mkdir /opt/spotbugs \
- && tar -C /opt/spotbugs --strip-components 1 -xpf spotbugs/build/distributions/spotbugs-4.1.2.tgz \
+ && tar -C /opt/spotbugs --strip-components 1 -xpf spotbugs-4.4.1.tgz \
&& chmod a+rx /opt/spotbugs/bin/* \
- && cd .. \
- && rm -rf ./spotbugs
+ && rm -rf ./spotbugs-4.4.1.tgz
ENV SPOTBUGS_HOME /opt/spotbugs
#####
# Enable spotbugs prefix for maven
diff --git a/pom.xml b/pom.xml
index d21560e..58269ae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -141,8 +141,8 @@
<maven-project-info-reports-plugin.version>3.1.1</maven-project-info-reports-plugin.version>
<!-- Override property in ASF parent -->
<surefire.version>3.0.0-M5</surefire.version>
- <spotbugs-maven-plugin.version>4.1.3</spotbugs-maven-plugin.version>
- <spotbugs.version>4.1.3</spotbugs.version>
+ <spotbugs-maven-plugin.version>4.4.1</spotbugs-maven-plugin.version>
+ <spotbugs.version>4.4.1</spotbugs.version>
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
<!-- Plugin options -->