« Return to Thread: Maven load wrong plugin version

Re: Maven load wrong plugin version

by BenTatham :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
In response to http://www.nabble.com/Maven-load-wrong-plugin-version-td24287445.html

I have the same issue, but from Sonar 1.6 to 1.8.  Since the Hudson plugin (1.0.1) no longer lets you specify the sonar version, it keeps trying the 1.6 version of sonar-maven-plugin.  From command line, sonar:sonar tries 1.6 too.  
- mvn help:effective-pom confirms there is no explicit sonar-maven-plugin 1.6 definition.
- mvn org.codehaus.sonar:sonar-maven-plugin:1.8:sonar works fine from command line (with properties)

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Sonar plugin (1.6) and server (1.8) version do not match.
Either update your server to the 1.6 plugin version or launch
the mvn org.codehaus.sonar:sonar-maven-plugin:1.8:sonar plugin command.
[INFO] ------------------------------------------------------------------------

Please help.

Thanks,
Ben

 « Return to Thread: Maven load wrong plugin version