Reputation: 100042
Sitting in intellij community edition 11, I'd like to run checkstyle with exactly the options that maven will run it with. In fact, I'd be happy to just run a maven build of the module and get any checkstyle (or PMD (or whatever)) errors. I'm not seeing how to do this.
Upvotes: 1
Views: 1581
Reputation: 52645
You can follow the steps in this documentation, create a new configuration for a maven goal and specify checkstyle:checkstyle
. This can then be run from Run menu.
There could be other (better) ways, but this is based on my limited (first-time) experience with IDEA.
Upvotes: 1