Skip to content

Commit ebf76c5

Browse files
committed
Revert "HBASE-25604 Upgrade spotbugs to 4.x (#2986)"
This reverts commit 0f84f77.
1 parent 0ffd42f commit ebf76c5

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

dev-support/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
7373
#
7474

7575
FROM BASE_IMAGE AS SPOTBUGS_DOWNLOAD_IMAGE
76-
ENV SPOTBUGS_VERSION '4.2.1'
76+
ENV SPOTBUGS_VERSION '3.1.12'
7777
ENV SPOTBUGS_URL "https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs/${SPOTBUGS_VERSION}/spotbugs-${SPOTBUGS_VERSION}.tgz"
78-
ENV SPOTBUGS_SHA256 '4d6f5f68da8ddf037bc82f0146b6e6caff4fc5872b9cd511c1e6136c680093a4'
78+
ENV SPOTBUGS_SHA256 '9c475d6c7096ed7af783e04dc2db40462145291de75a80029391600b6eb2d401'
7979
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
8080
RUN curl --location --fail --silent --show-error --output /tmp/spotbugs.tgz "${SPOTBUGS_URL}" && \
8181
echo "${SPOTBUGS_SHA256} */tmp/spotbugs.tgz" | sha256sum -c -

pom.xml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -647,14 +647,6 @@
647647
<xmlOutput>true</xmlOutput>
648648
<effort>Max</effort>
649649
</configuration>
650-
<dependencies>
651-
<!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
652-
<dependency>
653-
<groupId>com.github.spotbugs</groupId>
654-
<artifactId>spotbugs</artifactId>
655-
<version>${spotbugs.version}</version>
656-
</dependency>
657-
</dependencies>
658650
</plugin>
659651
<plugin>
660652
<groupId>org.codehaus.mojo</groupId>
@@ -1501,8 +1493,8 @@
15011493
<maven.warbucks.version>1.1.0</maven.warbucks.version>
15021494
<os.maven.version>1.5.0.Final</os.maven.version>
15031495
<findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1504-
<spotbugs.version>4.2.1</spotbugs.version>
1505-
<spotbugs.maven.version>4.2.0</spotbugs.maven.version>
1496+
<spotbugs.version>3.1.12</spotbugs.version>
1497+
<spotbugs.maven.version>3.1.12.2</spotbugs.maven.version>
15061498
<surefire.version>3.0.0-M4</surefire.version>
15071499
<wagon.ssh.version>2.12</wagon.ssh.version>
15081500
<xml.maven.version>1.0.1</xml.maven.version>

0 commit comments

Comments
 (0)