Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 3.0-beta-1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Complexity:Intermediate
Description
The clover build is returning the error:
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-clover2-plugin:3.0.2:clover (default-cli) on project co
m.ccadllc.mediacipher: An error has occurred in Clover report generation. Could not resolve default-clover-report.xml. P
lease try specifying this via the maven.clover.reportDescriptor property. Failed to load resource as file [/default-clov
er-report.xml]: Could not find resource '/default-clover-report.xml'. -> [Help 1]
However, this file is located inside the maven-clover2-plugin-3.0.2.jar.
This problem does not occur on maven 2.
The problem can be worked around by extracting the file to a local directory and setting -Dmaven.clover.reportDescriptor.
This is an issue in plexus-resources:1.0-alpha-4 and its classpath resource locator which relied on a bug in the class loaders in Maven 2. Please contact Atlassian and ask them to update their plugin to use the latest plexus-resources version.
Independently of an update to the Clover Plugin, you can make the build work right now by overriding the plugin dependency in the POM yourself.