Sonar and Eclipse IAM Plugin

When I am using the newest IAM Eclipse Plugin for Maven with the current Sonar version on a JDK 6 and I get an error while executing the sonar:sonar goal in

clean install sonar:sonar

The error in eclipse is

23:02:55 MESZ Starting Starting mojoExecution sonar-core:internal
23:03:44 MESZ fatal org.sonar.maven2.BatchMojo#execute() caused a linkage error (java.lang.NoSuchMethodError). Check the realms:
...
 java.lang.NoSuchMethodError:
org.apache.maven.execution.ReactorManager.<init>(Ljava/util/List;)V

Any idea how to fix it?

PS: If I do a mvn clean install sonar:sonar manually this it not an issue.

Answers


It seems hard to say anything with the current level of detail (it's often preferable to mention the versions of the software you're using: Maven, the sonar plugin, the JDK). Anyway, my suggestion would be to try on the command line first (i.e. outside of Eclipse). If it doesn't work, update your question with your pom (the sonar plugin part), your maven version, the error trace (with more lines).


Need Your Help

jQuery Ajax -> How to avoid including every class for one query

php ajax performance

I have several classes in PHP. All separated in files. (class1.php, class2.php)

What's the difference between Phing and PHPUnderControl?

php continuous-integration phpunit cruisecontrol phing

We currently use a hand-rolled setup and configuration script and a hand-rolled continuous integration script to build and deploy our application. I am looking at formalizing this somewhat with a t...