[ http://jira.codehaus.org/browse/MNG-2408?page=all ]

John Casey closed MNG-2408.
---------------------------

      Assignee: John Casey
    Resolution: Fixed

Resolved in trunk (2.1-snapshot), and 2.0.5-snapshot merge should be complete 
shortly.

I added code to the update method in AbstractRepositoryMetadata to avoid 
writing the metadata to the local repo if the main version was either RELEASE 
or LATEST, since these are only meta-versions, and should never exist in the 
repo as main versions. Also added a unit test to maven-artifact-manager to 
check for this.

> Improve handling of "no plugin version found" error after intermittent errors
> -----------------------------------------------------------------------------
>
>                 Key: MNG-2408
>                 URL: http://jira.codehaus.org/browse/MNG-2408
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Documentation: Guides, 
> Artifacts
>    Affects Versions: 2.0.4
>            Reporter: Graham Leggett
>         Assigned To: John Casey
>            Priority: Blocker
>             Fix For: 2.0.5
>
>
> If you follow the instructions at 
> http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20make%20my%20first%20Maven%20project?
>  to use the archetype plugin to create a new project skeleton, the suggested 
> command line fails as below.
> It seems there is a typo of some kind in the suggested command line, I am not 
> familiar enough with maven 2 to know for sure.
> Graham-Leggetts-Computer:~/src/standard/alchemy/maven minfrin$ mvn 
> archetype:create -DgroupId=za.co.standardbank.alchemy 
> -DartifactId=alchemy-trader   
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not 
> exist or no valid version could be found
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Tue Jun 27 09:43:14 SAST 2006
> [INFO] Final Memory: 1M/2M
> [INFO] 
> ------------------------------------------------------------------------

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