1. Introduction
maven
# ./mvnw clean verify site
./mvnw
# output:
# [java] Warnings generated: 15
open ./target/site/findbugs.html
gradle
# ./gradlew check
./gradlew
# output:
# > Task :findbugsMain
# FindBugs rule violations were found. See the report at: file://path/to/findbugs-example/build/findbugs/main.html
# ...
open ./build/findbugs/main.html
findbugs gradle/maven plugins usage:
# gradle: ./gradlew findbugs$sourceSetName
./gradlew findbugsMain
./gradlew findbugsTest
# maven:
./mvnw findbugs:gui
./mvnw findbugs:check
./mvnw findbugs:findbugs
./mvnw findbugs:help -Ddetail=true -Dgoal=check
./mvnw findbugs:help -Ddetail=true -Dgoal=findbugs
links:
other links:
generated by generator-jvm yeoman generator (java-spring-boot_1.x)