diff --git a/build.xml b/build.xml index 01dd0cf..b61f91f 100644 --- a/build.xml +++ b/build.xml @@ -70,6 +70,29 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -464,4 +487,65 @@ + + + + + + + + + + + +SpotBugs requires Java 11 or later to run. +Current Java version: ${ant.java.version} +To fix this, run ant with Java 11+: + export JAVA_HOME=/path/to/jdk11 + ant spotbugs + + +SpotBugs not found. Please set SPOTBUGS_HOME. +To install SpotBugs: + 1. Download from https://spotbugs.github.io/ + 2. Extract (e.g., /opt/spotbugs-4.8.6) + 3. Set SPOTBUGS_HOME=/opt/spotbugs-4.8.6 + 4. Run 'ant spotbugs' + + + + + + + + + + + + + + + + + + diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml new file mode 100644 index 0000000..91a45db --- /dev/null +++ b/spotbugs-exclude.xml @@ -0,0 +1,12 @@ + + + +