[ 
http://jira.codehaus.org/browse/MNG-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wendy Smoak updated MNG-2963:
-----------------------------

      Description: We can also have a secondary check to see that if a metadata 
file contains no valid versions to nuke it and try to download a valid one. 
This will correct anything left over from previous versions of Maven.  (was: We 
can also have a secondard check to see that if a metadata file contains no 
valid versions to nuke it and try to download a valid one. This will correct 
anything left over from previous versions of Maven.)
    Fix Version/s: 2.0.8

To reproduce (with 2.0.7):

mvn archetype:create -DgroupId=com.example -DartifactId=test
cd test
# build offline with clean local repo, which fails
mvn install -Dmaven.repo.local=/path/to/tempdir -o
# repeat build while online-- still fails
mvn install -Dmaven.repo.local/path/to/tempdir

Example plugin metadata file:
 <?xml version="1.0" encoding="UTF-8" ?> 
- <metadata>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-resources-plugin</artifactId> 
  </metadata>

> Do not update metadata unless the artifact actually made it down
> ----------------------------------------------------------------
>
>                 Key: MNG-2963
>                 URL: http://jira.codehaus.org/browse/MNG-2963
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.x
>            Reporter: Jason van Zyl
>             Fix For: 2.0.8
>
>
> We can also have a secondary check to see that if a metadata file contains no 
> valid versions to nuke it and try to download a valid one. This will correct 
> anything left over from previous versions of Maven.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to