This is an automated email from the ASF dual-hosted git repository.
HTHou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 8b70de4dca6 Use provided scope for JSR-305 and Error Prone annotations
(#19495)
8b70de4dca6 is described below
commit 8b70de4dca6f8e6eeec94a5801b3614e14b31a8b
Author: Haonan <[email protected]>
AuthorDate: Wed Dec 2 14:22:30 2026 +0800
Use provided scope for JSR-305 and Error Prone annotations (#19495)
---
LICENSE-binary | 2 --
iotdb-core/calc-commons/pom.xml | 1 +
iotdb-core/confignode/pom.xml | 1 +
iotdb-core/consensus/pom.xml | 1 +
iotdb-core/datanode/pom.xml | 2 ++
iotdb-core/node-commons/pom.xml | 2 ++
6 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/LICENSE-binary b/LICENSE-binary
index 824dccdcbdc..2969bf919ff 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -227,8 +227,6 @@
com.fasterxml.jackson.jakarta.rs:jackson-jakarta-rs-base:2.18.12
com.fasterxml.jackson.jakarta.rs:jackson-jakarta-rs-json-provider:2.18.12
com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:2.18.12
com.github.moquette-io.moquette:moquette-broker:0.18.0
-com.google.code.findbugs:jsr305:3.0.2
-com.google.errorprone:error_prone_annotations:2.18.0
com.zaxxer:HikariCP:2.4.7
commons-cli:commons-cli:1.5.0
commons-codec:commons-codec:1.16.1
diff --git a/iotdb-core/calc-commons/pom.xml b/iotdb-core/calc-commons/pom.xml
index 45eaf1b9385..524b60a5c7a 100644
--- a/iotdb-core/calc-commons/pom.xml
+++ b/iotdb-core/calc-commons/pom.xml
@@ -82,6 +82,7 @@
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/iotdb-core/confignode/pom.xml b/iotdb-core/confignode/pom.xml
index 343a0e50f21..b582cc07761 100644
--- a/iotdb-core/confignode/pom.xml
+++ b/iotdb-core/confignode/pom.xml
@@ -139,6 +139,7 @@
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
diff --git a/iotdb-core/consensus/pom.xml b/iotdb-core/consensus/pom.xml
index 2d3157dd52b..defa56416c8 100644
--- a/iotdb-core/consensus/pom.xml
+++ b/iotdb-core/consensus/pom.xml
@@ -113,6 +113,7 @@
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tsfile</groupId>
diff --git a/iotdb-core/datanode/pom.xml b/iotdb-core/datanode/pom.xml
index f3581f9bf23..ee2bcaf5d4b 100644
--- a/iotdb-core/datanode/pom.xml
+++ b/iotdb-core/datanode/pom.xml
@@ -151,10 +151,12 @@
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
diff --git a/iotdb-core/node-commons/pom.xml b/iotdb-core/node-commons/pom.xml
index 4419634ceeb..d03f69f08f5 100644
--- a/iotdb-core/node-commons/pom.xml
+++ b/iotdb-core/node-commons/pom.xml
@@ -149,6 +149,7 @@
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>cglib</groupId>
@@ -157,6 +158,7 @@
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
+ <scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>