Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

disable Find bugs in maven

Tags:

maven

findbugs

The team are using find bugs. I would like to skip using find bugs.

I can see it has an option maven.findbugs.enable,but I don't know how to use that as an argument to maven.

I have tried - Dmaven.findbugs.enable=false but I can see find bugs is still running.

What is the argument to stop findbugs?

like image 986
bharal Avatar asked Nov 02 '17 14:11

bharal


1 Answers

If you are using FindBugs 3.x:

mvn [goal] -Dfindbugs.skip=true

According to the FindBugs documentation. This should work for the check and findbugs goals.

like image 59
Pierre B. Avatar answered Sep 17 '22 14:09

Pierre B.