[BUILD-57] Exclude clover-generated sources from checkstyle checks Created: 24/Nov/10  Updated: 13/Apr/17  Resolved: 24/Nov/10

Status: Closed
Project: Build
Component/s: Build Tools
Affects Version/s: None
Fix Version/s: Build Tools 1.5.7, POMs 19

Type: Bug Priority: Major
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty

 Description   

Clover forks a build (in the validate phase) which seems to go at least as far as the verify phase, which causes the checkstyle plugin to be executed. This in turn causes errors when generating a site, because the clover-generated code doesn't necessarily comply with our checkstyle rules (or our src/test suppression isn't applied, because the clover-instrument test sources are generated under target/clover/src-test)

At the time of writing, it is unclear "how far" that forked build goes, nor whether we could (and should) control that (i.e make it stop after test execution?). So all we can do is add target/clover in our checkstyle suppressions.


Generated at Sun Feb 11 23:38:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.