Hello Ben,
Can you try to add a new Sonar to Hudson and let me know if it works on your project ?
By the way, which version of Hudson are you on ?
Olivier
On Fri, Jul 3, 2009 at 10:44 PM, Ben Tatham
<bentatham@...> wrote:
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