Maven Checkstyle Plug-in Goals dIon Gillard
GoalDescription
checkstyle This is the default goal of the plugin and simply has a pre-requisite of the checkstyle:check-license-file goal.
checkstyle:generate-report Generates an xml report from the source code showing how well the code conforms to the Checkstyle definitions defined by the project.
checkstyle:check-license-file Checks the existence of the LICENSE.txt file that checkstyle uses for ensuring the top of a source file has a valid license block.

If the license file exists, the checkstyle:generate-report goal is attained.