Issue Type: Bug Bug
Assignee: Simon Brandhof
Created: 13/Oct/13 1:59 PM
Description:
I am trying to use sonar-mojo-plugin with Sonar 3.7.1, but it is not 
able to detect that I am running my plans with Maven 3 correctly and 
keeps printing

this plugin is incompatible with maven2, run again with maven3

The problem is in the function:

public static boolean checkIfIsMaven3(final MavenPluginExecutor mavenPluginExecutor) {
     try {
       return mavenPluginExecutor instanceof Maven3PluginExecutor;
     } catch (NoClassDefFoundError e) {
       // this happens when maven 2 is used
       return false;
     }
}
Project: Mojo's Sonar Maven Plugin
Priority: Major Major
Reporter: Lars K. W. Gohlke
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to