Sonar built in maven repository not working

View: New views
14 Messages — Rating Filter:   Alert me  

Sonar built in maven repository not working

by mikievv :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I 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 working

by Olivier Gaudin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

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:

I 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!
--
View this message in context: http://www.nabble.com/Sonar-built-in-maven-repository-not-working-tp26006561p26006561.html
Sent from the Sonar user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Re: Sonar built in maven repository not working

by mikievv :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The 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...


Olivier Gaudin-2 wrote:
Hello,

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@xs4all.nl> wrote:

>
> I 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!
> --
> View this message in context:
> http://www.nabble.com/Sonar-built-in-maven-repository-not-working-tp26006561p26006561.html
> Sent from the Sonar user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Re: Sonar built in maven repository not working

by Olivier Gaudin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Your 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:

The 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...



Olivier Gaudin-2 wrote:
>
> Hello,
>
> 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:
>
>>
>> I 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!
>> --
>> View this message in context:
>> http://www.nabble.com/Sonar-built-in-maven-repository-not-working-tp26006561p26006561.html
>> Sent from the Sonar user mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>

--
View this message in context: http://www.nabble.com/Sonar-built-in-maven-repository-not-working-tp26006561p26011147.html
Sent from the Sonar user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Re: Sonar built in maven repository not working

by mikievv :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, 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

Olivier Gaudin-2 wrote:
Your 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@xs4all.nl> wrote:

>
> The 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...
>
>
>
> Olivier Gaudin-2 wrote:
> >
> > Hello,
> >
> > 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@xs4all.nl> wrote:
> >
> >>
> >> I 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!
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Sonar-built-in-maven-repository-not-working-tp26006561p26006561.html
> >> Sent from the Sonar user mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe from this list, please visit:
> >>
> >>    http://xircles.codehaus.org/manage_email
> >>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Sonar-built-in-maven-repository-not-working-tp26006561p26011147.html
> Sent from the Sonar user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Re: Sonar built in maven repository not working

by Rob ten Hove :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'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!

mikievv wrote:
Yes, 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 working

by Rob ten Hove :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'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

mikievv wrote:
Yes, 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 working

by Olivier Gaudin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Rob,

What is the error message you are getting ?

Olivier


On Wed, Nov 11, 2009 at 11:42 AM, Rob ten Hove <rob@...> wrote:

I'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!


mikievv wrote:
>
> Yes, 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
>

--
View this message in context: http://old.nabble.com/Sonar-built-in-maven-repository-not-working-tp26006561p26299245.html
Sent from the Sonar user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Re: Sonar built in maven repository not working

by Rob ten Hove :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The 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

Olivier Gaudin-2 wrote:
Hello Rob,

What is the error message you are getting ?

Olivier

Re: Sonar built in maven repository not working

by Olivier Gaudin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello 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:

The 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


Olivier Gaudin-2 wrote:
>
> Hello Rob,
>
> What is the error message you are getting ?
>
> Olivier
>

--
View this message in context: http://old.nabble.com/Sonar-built-in-maven-repository-not-working-tp26006561p26308282.html
Sent from the Sonar user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Re: Sonar built in maven repository not working

by Rob ten Hove :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello 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 working

by Olivier Gaudin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did you activate the -U option as well ?

Olivier


On Thu, Nov 12, 2009 at 1:30 PM, Rob ten Hove <rob@...> wrote:

Hello 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


Olivier Gaudin-2 wrote:
>
> Hello 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
>

--
View this message in context: http://old.nabble.com/Sonar-built-in-maven-repository-not-working-tp26006561p26317787.html
Sent from the Sonar user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Re: Sonar built in maven repository not working

by Rob ten Hove :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, but it didn't help.

Re: Sonar built in maven repository not working

by zoechi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Rob ten Hove wrote:
Yes, but it didn't help.
I 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