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 Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot