From d2510ad55aaa628d8daa4ad6165a56de52194a4e Mon Sep 17 00:00:00 2001 From: xiaolong ran Date: Tue, 8 Dec 2020 10:26:38 +0800 Subject: [PATCH] Enable spotbugs for pulsar-client-tools-test (#8847) Signed-off-by: xiaolong.ran ### Motivation * Enable spotbugs for the pulsar-client-tools-test module. ### Modifications * Enable spotbugs for the pulsar-client-tools-test module. ### Verifying this change ``` mvn clean install -pl pulsar-client-tools-test ``` --- pulsar-client-tools-test/pom.xml | 17 ++++++++++++++ .../src/test/resources/findbugsExclude.xml | 22 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 pulsar-client-tools-test/src/test/resources/findbugsExclude.xml diff --git a/pulsar-client-tools-test/pom.xml b/pulsar-client-tools-test/pom.xml index 0f5b221725ca3..f654df7812a5c 100644 --- a/pulsar-client-tools-test/pom.xml +++ b/pulsar-client-tools-test/pom.xml @@ -67,6 +67,23 @@ true + + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs-maven-plugin.version} + + ${basedir}/src/test/resources/findbugsExclude.xml + + + + spotbugs + verify + + check + + + + diff --git a/pulsar-client-tools-test/src/test/resources/findbugsExclude.xml b/pulsar-client-tools-test/src/test/resources/findbugsExclude.xml new file mode 100644 index 0000000000000..07f4609cfff29 --- /dev/null +++ b/pulsar-client-tools-test/src/test/resources/findbugsExclude.xml @@ -0,0 +1,22 @@ + + +