From 5d19126709dbe612f7c6f610e0c3801468b735fa Mon Sep 17 00:00:00 2001 From: Chamila Adhikarinayake Date: Wed, 13 Dec 2023 12:19:57 +0530 Subject: [PATCH] Add spotbug exclude file --- .../api/devops/RestApiDevopsUtilTest.java | 2 +- pom.xml | 6 ++-- spotbugs-exclude.xml | 31 +++++++++++++++++++ 3 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 spotbugs-exclude.xml diff --git a/components/apimgt/org.wso2.carbon.apimgt.rest.api.devops/src/test/java/org/wso2/carbon/apimgt/rest/api/devops/RestApiDevopsUtilTest.java b/components/apimgt/org.wso2.carbon.apimgt.rest.api.devops/src/test/java/org/wso2/carbon/apimgt/rest/api/devops/RestApiDevopsUtilTest.java index c0d12d8693e4..27dccf6ae986 100644 --- a/components/apimgt/org.wso2.carbon.apimgt.rest.api.devops/src/test/java/org/wso2/carbon/apimgt/rest/api/devops/RestApiDevopsUtilTest.java +++ b/components/apimgt/org.wso2.carbon.apimgt.rest.api.devops/src/test/java/org/wso2/carbon/apimgt/rest/api/devops/RestApiDevopsUtilTest.java @@ -18,7 +18,7 @@ * */ -package org.wso2.carbon.apimgt.rest.api.common; +package org.wso2.carbon.apimgt.rest.api.devops; import com.fasterxml.jackson.core.JsonProcessingException; import java.util.ArrayList; diff --git a/pom.xml b/pom.xml index 0ac2049fe240..2d03afa308e7 100644 --- a/pom.xml +++ b/pom.xml @@ -300,7 +300,7 @@ true ${project.build.directory}/spotbugs - + ${maven.spotbugsplugin.exclude.file} @@ -2217,7 +2217,7 @@ 3.5.0.wso2v1 11.0 - 4.1.4 + 4.8.2.0 3.0.0 8.34 1.4.1.wso2v1 @@ -2225,7 +2225,7 @@ 1.2.3 [1.0.0,2.0.0) 2.12.1.wso2v2 - spotbugs-exclude.xml + ${project.parent.basedir}/../../spotbugs-exclude.xml false 2.0.1 2.1.6 diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml new file mode 100644 index 000000000000..765252b525f0 --- /dev/null +++ b/spotbugs-exclude.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file