« Return to Thread: Maven load wrong plugin version
Mit freundlichen Grüßen,
Andreas Vogler
------
Kontakt -------
Andreas Vogler
Technischer Leiter
Geneon media
solutions gmbh
Gutenstetter Str. 8a
90449 Nürnberg
HRB Nürnberg:
17193
Geschäftsführer: Yong-Harry Steiert
Tel.: 0911/36 78 88 -
21
Mobil: 0179/52 09 17 1
Fax: 0911/36 78 88 -
20
www.geneon.de
www.layoutGeNERAtor.de
Weitere Mitglieder aus
der Willmy MediaGroup:
IRS
GmbH
- www.irs-nbg.de
Willmy PrintMedia
GmbH -
www.willmy.de
Willmy Consult & Content GmbH -
www.willmycc.de
Andreas,
Von: Freddy Mallet [mailto:freddy.mallet@...]
Gesendet: Mittwoch, 1. Juli 2009 13:54
An: user@...
Betreff: Re: [sonar-user] Maven load wrong plugin version
Perhaps, your pom.xml file or your parent pom.xml file specify the maven sonar plugin version to be used. Could you confirm that there is nothing which relates to sonar in your pom.xml files ?
Thanks
Freddy
On Wed, Jul 1, 2009 at 1:14 PM, Andreas Vogler <av@...> wrote:
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 |