This is an automated email from the ASF dual-hosted git repository.
szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git
The following commit(s) were added to refs/heads/master by this push:
new 2368243 RATIS-1494. Change spotbugs-annotations to provided scope.
(#584)
2368243 is described below
commit 2368243cb0e2eef0fbad37ab3733bfa5bd54bad7
Author: Tsz-Wo Nicholas Sze <[email protected]>
AuthorDate: Wed Jan 19 23:59:51 2022 +0800
RATIS-1494. Change spotbugs-annotations to provided scope. (#584)
---
pom.xml | 1 +
ratis-common/pom.xml | 1 +
ratis-examples/pom.xml | 1 +
ratis-grpc/pom.xml | 1 +
ratis-hadoop/pom.xml | 1 +
ratis-logservice/pom.xml | 1 +
ratis-netty/pom.xml | 1 +
ratis-server-api/pom.xml | 1 +
ratis-server/pom.xml | 1 +
9 files changed, 9 insertions(+)
diff --git a/pom.xml b/pom.xml
index fb736b7..06fbff6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -480,6 +480,7 @@
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>${spotbugs.version}</version>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
diff --git a/ratis-common/pom.xml b/ratis-common/pom.xml
index 13be5cb..9c24c3f 100644
--- a/ratis-common/pom.xml
+++ b/ratis-common/pom.xml
@@ -52,6 +52,7 @@
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
diff --git a/ratis-examples/pom.xml b/ratis-examples/pom.xml
index d755b5b..e5c3542 100644
--- a/ratis-examples/pom.xml
+++ b/ratis-examples/pom.xml
@@ -133,6 +133,7 @@
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
diff --git a/ratis-grpc/pom.xml b/ratis-grpc/pom.xml
index 00862d5..9db667a 100644
--- a/ratis-grpc/pom.xml
+++ b/ratis-grpc/pom.xml
@@ -84,6 +84,7 @@
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
diff --git a/ratis-hadoop/pom.xml b/ratis-hadoop/pom.xml
index e7a19e5..8620541 100644
--- a/ratis-hadoop/pom.xml
+++ b/ratis-hadoop/pom.xml
@@ -96,6 +96,7 @@
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
diff --git a/ratis-logservice/pom.xml b/ratis-logservice/pom.xml
index 3e58efd..fb7aa13 100644
--- a/ratis-logservice/pom.xml
+++ b/ratis-logservice/pom.xml
@@ -323,6 +323,7 @@
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
diff --git a/ratis-netty/pom.xml b/ratis-netty/pom.xml
index b5dfa6a..16f33ab 100644
--- a/ratis-netty/pom.xml
+++ b/ratis-netty/pom.xml
@@ -76,6 +76,7 @@
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
diff --git a/ratis-server-api/pom.xml b/ratis-server-api/pom.xml
index cdcf635..5c80c04 100644
--- a/ratis-server-api/pom.xml
+++ b/ratis-server-api/pom.xml
@@ -51,6 +51,7 @@
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
diff --git a/ratis-server/pom.xml b/ratis-server/pom.xml
index 87675ff..0077ff2 100644
--- a/ratis-server/pom.xml
+++ b/ratis-server/pom.xml
@@ -94,6 +94,7 @@
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>