diff --git a/config/spotbugs/exclude.xml b/config/spotbugs/exclude.xml
new file mode 100644
index 0000000..6c25c21
--- /dev/null
+++ b/config/spotbugs/exclude.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
diff --git a/core/pom.xml b/core/pom.xml
index d3a540e..994a0b9 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -16,11 +16,6 @@
https://github.com/sciencesakura/dbsetup-csv
-
- com.github.spotbugs
- spotbugs-annotations
- true
-
com.ninja-squad
DbSetup
@@ -85,6 +80,9 @@
com.github.spotbugs
spotbugs-maven-plugin
+
+ ${project.basedir}/../config/spotbugs/exclude.xml
+
org.apache.felix
diff --git a/core/src/main/java/com/sciencesakura/dbsetup/csv/Import.java b/core/src/main/java/com/sciencesakura/dbsetup/csv/Import.java
index ed955a6..51707f2 100644
--- a/core/src/main/java/com/sciencesakura/dbsetup/csv/Import.java
+++ b/core/src/main/java/com/sciencesakura/dbsetup/csv/Import.java
@@ -9,7 +9,6 @@
import com.ninja_squad.dbsetup.generator.ValueGenerator;
import com.ninja_squad.dbsetup.operation.Insert;
import com.ninja_squad.dbsetup.operation.Operation;
-import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.net.URISyntaxException;
import java.net.URL;
@@ -338,7 +337,6 @@ public Builder withQuote(char quote) {
return this;
}
- @SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
private String table() {
if (table != null) {
return table;
diff --git a/pom.xml b/pom.xml
index 6584648..6b33ca1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,6 @@
2.4.240
13.0
5.14.2
- 4.9.8
@@ -87,11 +86,6 @@
-
- com.github.spotbugs
- spotbugs-annotations
- ${spotbugs.version}
-
com.h2database
h2