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).
Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...
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