|
View:
New views
14 Messages
—
Rating Filter:
Alert me
|
|
|
Sonar built in maven repository not workingI am running Sonar 1.11 for about two weeks now and suddenly my maven repository is not working anymore.
When I access my sonar machine at /sonar/deploy/maven I always get the error the page does not exist or is moved (a sonar response). I get the link to go back to /sonar/projects, but that page does not exist as well... Anyone else had this problem? I cannot find anything wrong in the configuration or the installation, so I do not get what the problem is. When I use the sonar command I keep getting that the maven-sonar-plugin version 1.0-SNAPSHOT cannot be found. Please advice... Thanks! |
|
|
Re: Sonar built in maven repository not workingHello,
What happens when you hit the home page ? Could you check if the are errors in sonar.log ? Olivier On Thu, Oct 22, 2009 at 11:08 AM, mikievv <mike_list@...> wrote:
|
|
|
Re: Sonar built in maven repository not workingThe sonar dashboard works fine. There are no errors in the sonar.log file.
It just does not understand the location of /deploy/maven I think. But I cannot find where that is defined. The files are there in sonar-web/deploy, so that is not the problem...
|
|
|
Re: Sonar built in maven repository not workingYour issue is that you can not run analysis anymore, right ?
Are you using a mirror such as Nexus ? Olivier On Thu, Oct 22, 2009 at 4:40 PM, mikievv <mike_list@...> wrote:
|
|
|
Re: Sonar built in maven repository not workingYes, I am using nexus as well, but I cannot even access the URL where the maven repository should be, so that does not really matter does it?
I should be able to request the sonar.url/deploy/maven url shouldn't I? Mike
|
|
|
Re: Sonar built in maven repository not workingI'm having the same problem. Sonar plugin cannot be found. I'm using Nexus 1.3.6, Sonar 1.11 and Maven 2.2.1. I added the Sonar repo to Nexus' public group. If I check the /deploy/maven URL in Firefox I get a 404.
Can someone help me with this? Thanks!
|
|
|
Re: Sonar built in maven repository not workingI'm having the same problem. I'm using Sonar 1.11 with Nexus 1.3.6 and Maven 2.2.1.
I added the Sonar repo to the Nexus' public group. Can anyone help me with this? Thanks! Rob
|
|
|
Re: Sonar built in maven repository not workingHello Rob,
What is the error message you are getting ? Olivier On Wed, Nov 11, 2009 at 11:42 AM, Rob ten Hove <rob@...> wrote:
|
|
|
Re: Sonar built in maven repository not workingThe same as mikievv: When I access my sonar machine at /sonar/deploy/maven I always get the error the page does not exist or is moved (a sonar response). I get the link to go back to /sonar/projects, but that page does not exist as well...
When I run mvn sonar:sonar, it says that the maven-sonar-plugin cannot be found. I'm at home right now, so I cannot paste exact error messages since the tooling is running at work. I think the problem is that I get a 404 when I access the /deploy/maven repository URL in the browser. I guess that's why Maven cannot find the plugin either. I hope you can give me some tips based only on the above information. Thanks, Rob
|
|
|
Re: Sonar built in maven repository not workingHello Rob,
You should try to hit http://yoursonar:sonarport/deploy/maven/README.txt instead as http://yoursonar:sonarport/deploy/maven/ is not browsable. Did you check the FAQ ? http://docs.codehaus.org/display/SONAR/Frequently+Asked+Questions#FrequentlyAskedQuestions-Theplugin%27org.apache.maven.plugins%3Amavensonarplugin%27doesnotexistornovalidversioncouldbefound If you still have the issue, please send the trace. Olivier On Wed, Nov 11, 2009 at 9:46 PM, Rob ten Hove <rob@...> wrote:
|
|
|
Re: Sonar built in maven repository not workingHello Olivier,
Finally, I got it working. By the way, I could retrieve the README.txt file; directly via Sonar but also via Nexus. But sonar:sonar still doesn't work. I got it working by using org.codehaus.mojo:sonar-maven-plugin:sonar instead. Of course I removed the org/codehaus/mojo dir from the local and the Nexus repository. When I rerun Maven I see that the directory re-appears, but the maven-metadata.xml file does not contain a 'sonar' reference, while Maven Central does. I guess this is related to MNG-4001 which is reopened. Regards, Rob
|
|
|
Re: Sonar built in maven repository not workingDid you activate the -U option as well ?
Olivier On Thu, Nov 12, 2009 at 1:30 PM, Rob ten Hove <rob@...> wrote:
|
|
|
Re: Sonar built in maven repository not workingYes, but it didn't help.
|
|
|
Re: Sonar built in maven repository not workingI finally solved it by setting the "Remote Storage Location" to "http://repository.codehaus.org" according to Arnaud DOSTES's comment on Frequently Asked Questions - Codehaus hope this helps Günter BeWellUp |
| Free embeddable forum powered by Nabble | Forum Help |