diff --git a/hadoop-hdds/container-service/dev-support/findbugsExcludeFile.xml b/hadoop-hdds/container-service/dev-support/findbugsExcludeFile.xml new file mode 100644 index 00000000000..3571a8929e3 --- /dev/null +++ b/hadoop-hdds/container-service/dev-support/findbugsExcludeFile.xml @@ -0,0 +1,21 @@ + + + + + + diff --git a/hadoop-hdds/container-service/pom.xml b/hadoop-hdds/container-service/pom.xml index 3dc84706cea..36c7235b37a 100644 --- a/hadoop-hdds/container-service/pom.xml +++ b/hadoop-hdds/container-service/pom.xml @@ -98,6 +98,13 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + org.codehaus.mojo + findbugs-maven-plugin + + ${basedir}/dev-support/findbugsExcludeFile.xml + + \ No newline at end of file diff --git a/hadoop-ozone/tools/dev-support/findbugsExcludeFile.xml b/hadoop-ozone/tools/dev-support/findbugsExcludeFile.xml new file mode 100644 index 00000000000..e6a345eea55 --- /dev/null +++ b/hadoop-ozone/tools/dev-support/findbugsExcludeFile.xml @@ -0,0 +1,19 @@ + + + + + + + diff --git a/hadoop-ozone/tools/pom.xml b/hadoop-ozone/tools/pom.xml index 918a675b0fb..839ca0d347a 100644 --- a/hadoop-ozone/tools/pom.xml +++ b/hadoop-ozone/tools/pom.xml @@ -68,4 +68,18 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> 1.19 + + + + org.codehaus.mojo + findbugs-maven-plugin + + ${basedir}/dev-support/findbugsExcludeFile.xml + + true + 2048 + + + +