« Return to Thread: Maven load wrong plugin version
Hello Freddy,no, that doesn't seem to be the problem. My command line looks likemvn clean install sonar:sonar
Andreas Vogler
Von: Freddy Mallet [mailto:freddy.mallet@...]
Gesendet: Mittwoch, 1. Juli 2009 12:55
An: user@...
Betreff: Re: [sonar-user] Maven load wrong plugin versionHello 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
« Return to Thread: Maven load wrong plugin version
| Free embeddable forum powered by Nabble | Forum Help |