maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Sonnek (JIRA)" <>
Subject [jira] Commented: (MNG-2490) invalid remote repository metadata file installed in local repo
Date Thu, 17 Aug 2006 02:16:48 GMT
    [ ] 
Ryan Sonnek commented on MNG-2490:

This "invalid repository metadata file" is only written out when the remote repository is
not configured to display directory listings.

My remote repository was not configured to display directories,
and returned a 403 error when attempting to access it in a web browser.  As soon as I configured
my repository to display directories, the generated repository metadata file looked fine.

I can easily switch my server configuration back if anyone would like to try and reproduce
this issue.

> invalid remote repository metadata file installed in local repo
> ---------------------------------------------------------------
>                 Key: MNG-2490
>                 URL:
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: Ryan Sonnek
> When I install my project, a metadata file is placed in my local repository for each
of the remote repositories my project uses.  For some reason, maven is creating an invalid
remote repository file.  This breaks my m2eclipse integration and eclipse complains that it
can't read the metadata file.
> here are the contents of maven-metadata-codecrate-maven-repo.xml that's in my local repository:
> <HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0.1; URL=/com/codecrate/shard/shard-dice/0.5.0-SNAPSHOT/maven-metadata.xml">
> <META HTTP-EQUIV="Pragma" CONTENT="no cache">
> <META HTTP-EQUIV="Expires" CONTENT="-1">
> </HEAD></HTML>
> This is blatently wrong, and should be more like this maven-metadata-spring-rich-client-maven-repo.xml
> <?xml version="1.0" encoding="UTF-8"?><metadata>
>   <groupId>com.codecrate.shard</groupId>
>   <artifactId>shard-dice</artifactId>
>   <version>0.5.0-SNAPSHOT</version>
> </metadata>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message