Recently I downloaded the findsecbugs-plugin-1.11.0.jar in order to use it in spotbugs. I copied this jar file to the folder plugin of the project spotbugs(4.1.4).
I execute spotbugs making use of ant. When I run the ant target I get the following message:
[spotbugs] Executing SpotBugs FindBugsTask from ant task
[spotbugs] Running SpotBugs...
[spotbugs] The following classes needed for analysis were missing:
[spotbugs] apply
[spotbugs] applyAsInt
[spotbugs] test
[spotbugs] accept
[spotbugs] Java Result: 3
[spotbugs] Classes needed for analysis were missing
Do you know what extra jar files do I need?
Although not documented in https://spotbugs.readthedocs.io/en/latest/ant.html#parameters, the Ant integration does support plugins using the pluginList parameter (see https://github.com/spotbugs/spotbugs/blob/master/spotbugs-ant/src/main/java/edu/umd/cs/findbugs/anttask/FindBugsTask.java). So,
works. Try running with parameter
debug="true"
to see details.