Customize Checkstyle Checks

 

Problem

You are using the JavaTddPlugin, but you want to customize or completely turn off the Checkstyle static analysis checks used by the plug-in.

Solution

If you just want to turn off (disable) the Checkstyle checks, the JavaTddPlugin provides an option in its reusable option set to disable Checkstyle, so just check the box for that option.

However, if you want to change/customize the Checkstyle checks, walk though the SIGCSE 2009 Workshop exercise 4: Configuring coding style checks.

Discussion

The discussion discusses tradeoffs inherent in the solution and other possible solutions

See Also

Customize PMD Checks
Configure Plugin Settings
Configure Plugin Walkthrough (30Mb, 4min)

Comments

This page is editable on github. To make corrections or improve these pages, login to github and use the edit icon/link at the end of the page title for this page.