Hello Andreas,
Looks like you are launching the "mvn org.codehaus.sonar:sonar-maven-plugin:1.7:sonar" command instead of "mvn sonar:sonar" to analyze your project ?
Try with "mvn sonar:sonar", it should fix your issue.
Hope it helps,
Freddy
On Wed, Jul 1, 2009 at 12:12 PM, Andreas Vogler
<av@...> wrote:
Hello all,
I'm trying to set up Sonar 1.9.2 for one of our projects but the maven build fails with the following message:
[INFO] Sonar plugin (1.7) and server (1.9.2) version do not matchExclusionPattern.
Either update your server to the 1.7 plugin version or launch
the mvn org.codehaus.sonar:sonar-maven-plugin:1.9.2:sonar plugin command.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
My first thought was that Nexus might interfere but after removing the nexus mirror from maven's settings.xml there was no change.
I deleted the org/codehaus/sonar directory from my local maven repository to make sure there is no old version, but I can see that maven loads the plugin from http://repo1.maven.org/maven2/org/codehaus/sonar/sonar-maven-plugin/1.7/sonar-maven-plugin-1.7.pom. Isn't it supposed to load it from localhost? I can see the sonar server running on http://localhost:9000/deploy/maven/README.txt.
Any idea what could be wrong. Thanks for any hint.
Mit freundlichen Grüßen,
Andreas Vogler
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email