I am having problems building several projects, which are failing the maven checkstyle plugin on the project's /target/clover instrumented code.
Is there a compatibility issue between Clover and Maven checkstyle plugin?
Example error from Jenkins is:
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.9.1:check (default) on project datatools-domain: You have 9366 Checkstyle violations. -> [Help 1]
I believe that there's no incompatibility between Checkstyle and Clover. You should just not run Checkstyle on sources instrumented by Clover (/target/clover/*), as this folder contains machine-generated code and any style check on such code is rather useless. I suggest running Checkstyle on original sources (/src/main, /src/test).
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough cough, all companies). If content calendars, marketing plans, and bu...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs