Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Incomplete
-
Affects Version/s: None
-
Fix Version/s: 2.2
-
Component/s: Maven Plugin
-
Labels:None
-
Number of attachments :
Description
I tried to used maven 3 with the sonar plugin from http://svn.codehaus.org/mojo/branches/sonar-maven-plugin-mvn-3.x
My sonar build fails with :
[WARNING] No Clover database found, skipping report generation [INFO] No report being generated for this module. [INFO] No 'maven.clover.licenseLocation' configured. Using default evaluation license. .... [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0-SNAPSHOT:sonar (default-cli) on project cs: Can not execute Sonar: Can not analyze the project: Unable to execute maven plugin: An error has occurred in Clover report generation. Failed to locate Clover license: Failed to load resource as file [/clover.license]: Could not find resource '/clover.license'. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The clover license isn't given to the plugin
Using Maven 2 and the latest 1.x version of the plugin, it works fine
Issue Links
| This issue relates to: | ||||
| SONAR-1265 | Compatibility with Maven 3.0 |
|
|
|
In fact I'm not sure that Clover supports Maven 3.