diff --git a/.mvn/README b/.mvn/README new file mode 100644 index 000000000..a851f5e55 --- /dev/null +++ b/.mvn/README @@ -0,0 +1,2 @@ +This is here purely so that we can get the root directory using maven.multiModuleProjectDirectory + diff --git a/checkstyle.xml b/checkstyle.xml index 34ef98ef2..680d8808c 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -51,7 +51,7 @@ - + diff --git a/examples/spotbugs-exclude.xml b/examples/spotbugs-exclude.xml deleted file mode 100644 index e33e65478..000000000 --- a/examples/spotbugs-exclude.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/pom.xml b/pom.xml index b7227cf8a..5e3d74d86 100644 --- a/pom.xml +++ b/pom.xml @@ -101,6 +101,10 @@ 1.0.6 0.6.0 1.5.0 + + + ${maven.multiModuleProjectDirectory} @@ -542,7 +546,7 @@ true - ../spotbugs-exclude.xml + ${project.rootdir}/spotbugs-exclude.xml @@ -639,6 +643,7 @@ maven-checkstyle-plugin 3.3.0 + basedir=${project.rootdir} checkstyle.xml true true diff --git a/powertools-logging/spotbugs-exclude.xml b/powertools-logging/spotbugs-exclude.xml deleted file mode 100644 index 0437849ae..000000000 --- a/powertools-logging/spotbugs-exclude.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/powertools-parameters/spotbugs-exclude.xml b/powertools-parameters/spotbugs-exclude.xml deleted file mode 100644 index d48e9bee1..000000000 --- a/powertools-parameters/spotbugs-exclude.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml index 2d61cc68d..747752130 100644 --- a/spotbugs-exclude.xml +++ b/spotbugs-exclude.xml @@ -39,7 +39,34 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -58,6 +85,18 @@ + + + + + + + + + + + + @@ -103,6 +142,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -171,5 +230,5 @@ - - \ No newline at end of file + +