It would be convenient to be able to run checkstyle as
a JUnit test suite.
Here are some advantages:
- enables you to run checkstyle in any environment that
allows you to run JUnit tests (which is a lot!)
single location for quality reports
less build scripts syntax to learn
- the unit test needs to be setup to gets its configuration