Skip to content

Latest commit

 

History

924 Commits

Folders and files

Repository files navigation

Apache Maven Checkstyle Plugin

Apache License, Version 2.0, January 2004 Maven Central Reproducible Builds Verify

Runs Checkstyle on a Maven project. The check goal logs violations and fails the build; the checkstyle and checkstyle-aggregate goals write an HTML report, on their own or as part of the project site.

mvn checkstyle:check
mvn checkstyle:checkstyle

The plugin requires Maven 3.9.0 and Java 8, and runs Checkstyle 9.3 by default. Projects can use a newer Checkstyle by adding it as a plugin dependency.

Build

mvn verify

Run the integration tests in src/it with the run-its profile:

mvn -Prun-its verify

Build the plugin site, including the goal pages, with:

mvn install -DskipTests
mvn site -Preporting

Contributing

Open a pull request against master. Discuss larger changes on the developer mailing list first. See the guide to helping with Maven for the general process.

Releases

Packages

Used by

Contributors

Languages