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).
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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