Use provided scope for JSR-305 and Error Prone annotations (#19495)
diff --git a/LICENSE-binary b/LICENSE-binary index 824dccd..2969bf9 100644 --- a/LICENSE-binary +++ b/LICENSE-binary
@@ -227,8 +227,6 @@ 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 45eaf1b..524b60a 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 343a0e5..b582cc0 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 2d3157d..defa564 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 f3581f9..ee2bcaf 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 4419634..d03f69f 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>