mebigfatguy / fb-contrib

a FindBugs/SpotBugs plugin for doing static code analysis for java code bases
http://fb-contrib.sf.net
GNU Lesser General Public License v2.1
153 stars 45 forks source link

Question: Integration of sb-contrib in spotbugs and ant #414

Open cosmoJFH opened 3 years ago

cosmoJFH commented 3 years ago

I am trying to make use of sb-contrib extension in spotbugs for the first time. I am running spotbugs with ant.

I downloaded the jar file from https://mvnrepository.com/artifact/com.mebigfatguy.sb-contrib/sb-contrib/7.4.7 and copied it to the directory plugin of the the project spotbugs.

The following message is displayed:

 [spotbugs] Executing SpotBugs FindBugsTask from ant task
 [spotbugs] Running SpotBugs...
 [spotbugs] The following classes needed for analysis were missing:
 [spotbugs]   org.custommonkey.xmlunit.DetailedDiff
 [spotbugs]   com.lowagie.text.pdf.FontMapper
 [spotbugs] Java Result: 3

What other dependencies should I use?

mebigfatguy commented 9 months ago

the plugin doesn't need those classes.