Hi Brian,
Can you download the files from the libs-release-local repository?
If yes, then make sure libs-release is being indexed as well. Virtual
repositories aggregate resolution from several repositories so it wouldn't
know from which one to bring you the
nexus-maven-repository-index.gz<http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.gz>file.
By indexing the virtual repository, it will aggregate all indexes into
one file and return it to the client.
If you still having trouble please state your Artifactory & m2eclipse plugin
versions so we could further investigate.
HTH,
Eli
The Artifactory team
On Wed, Mar 9, 2011 at 6:20 PM, BrianS <[email protected]> wrote:
> Hi folks
>
> Sorry for dragging up an old thread but I'm getting a very similar problem,
> and I think it's related to the use of http 302 for virtual repositories
> and
> it's intersection with the serving of nexus indexes.
>
> Here's some wget output for four different URLs.
>
> $ wget http://artifactory.domain.co.uk:8080/artifactory/libs-release
> --2011-03-09 13:13:08--
> http://artifactory.domain.co.uk:8080/artifactory/libs-release
> Resolving artifactory.domain.co.uk (artifactory.domain.co.uk)...
> 10.xxx.xxx.xx
> Connecting to artifactory.domain.co.uk
> (artifactory.domain.co.uk)|10.xxx.xxx.xx|:8080... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location:
> http://artifactory.domain.co.uk:8080/artifactory/libs-release-local/
> [following]
> --2011-03-09 13:13:08--
> http://artifactory.domain.co.uk:8080/artifactory/libs-release-local/
> Reusing existing connection to artifactory.domain.co.uk:8080.
> HTTP request sent, awaiting response... 200 OK
>
> $ wget
> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index
> --2011-03-09 13:15:29--
> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index
> Resolving artifactory.domain.co.uk (artifactory.domain.co.uk)...
> 10.xxx.xxx.xx
> Connecting to artifactory.domain.co.uk
> (artifactory.domain.co.uk)|10.xxx.xxx.xx|:8080... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location:
> http://artifactory.domain.co.uk:8080/artifactory/libs-release-local/.index/
> [following]
> --2011-03-09 13:15:29--
> http://artifactory.domain.co.uk:8080/artifactory/libs-release-local/.index/
> Reusing existing connection to artifactory.domain.co.uk:8080.
> HTTP request sent, awaiting response... 200 OK
>
> $ wget
>
> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.properties
> --2011-03-09 13:16:21--
>
> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.properties
> Resolving artifactory.domain.co.uk (artifactory.domain.co.uk)...
> 10.xxx.xxx.xx
> Connecting to artifactory.domain.co.uk
> (artifactory.domain.co.uk)|10.xxx.xxx.xx|:8080... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2011-03-09 13:16:21 ERROR 404: Not Found.
>
> $ wget
>
> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.gz
> --2011-03-09 13:16:25--
>
> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.gz
> Resolving artifactory.domain.co.uk (artifactory.domain.co.uk)...
> 10.xxx.xxx.xx
> Connecting to artifactory.domain.co.uk
> (artifactory.domain.co.uk)|10.xxx.xxx.xx|:8080... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2011-03-09 13:16:25 ERROR 404: Not Found.
>
> As you can see, the index urls don't get 302 responses. Artifactory's
> request log correlates with this.
>
> This causes m2eclipse to get upset when trying to rebuild or update an
> index:
>
> 09/03/11 10:49:41 GMT: Updating index
> central|http://artifactory.domain.co.uk:8080/artifactory/libs-release
> 09/03/11 10:49:41 GMT: Unable to update index for
> central|http://artifactory.domain.co.uk:8080/artifactory/libs-release
>
> Can anybody offer any pointers? Have I missed something in configuring
> artifactory or m2eclipse? Is m2eclipse doing something wrong or is this a
> bug in artifactory?
>
> Thanks
>
> Brian
>
> --
> View this message in context:
> http://forums.jfrog.org/Cannot-retrieve-nexus-maven-repository-index-properties-tp5457644p6154272.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users