Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
after a successful build my result page shows the message "During parsing an error has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.
It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.
I'm using a M2 job type and there is one module without results.
Layout:
/pom.xml <- aggregator pom, parent = released company pom
/parent
/parent/pom.xml <- parent pom, parent = released company pom
/module-1
/module-1/pom.xml <- module pom, parent = parent/pom.xml
/module-2
/module-2/pom.xml <- module pom, parent = parent/pom.xml
The parent module doesn't contain any sources, so this doesn't contain any result files.
Simple solution: skip parsing step for packaging 'pom'.