[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project bo-magasin: Can not execute SonarQube analysis: org.sonar.api.profiles.RulesProfile.getAlerts()Ljava/util/List; -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar (default-cli) on project bo-magasin: Can not execute SonarQube analysis
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)...
Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute SonarQube analysis
at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:109)
... 19 more
Caused by: org.apache.maven.plugin.MojoExecutionException: org.sonar.api.profiles.RulesProfile.getAlerts()Ljava/util/List;
at org.sonar.maven.ExceptionHandling.handle(ExceptionHandling.java:37)
... 23 more
Caused by: java.lang.NoSuchMethodError: org.sonar.api.profiles.RulesProfile.getAlerts()Ljava/util/List;
at com.hello2morrow.sonarplugin.foundation.Utilities.isSonargraphProject(Utilities.java:383)
at org.sonar.runner.api.Runner.execute(Runner.java:90)
at org.sonar.maven.SonarMojo.execute(SonarMojo.java:173)
... 24 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/d...utionException
Partager