[ 
http://jira.codehaus.org/browse/ARCHETYPE-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138380#action_138380
 ] 

Raphaël Piéroni commented on ARCHETYPE-169:
-------------------------------------------

This is related to the class org.apache.maven.artifact.resolver.ArtifactResolver
When offline, even by passing it the local repository, it seems to be unable to
locate the archetype even if it is already in the local repository.

> Archetype:generate Offline mode does not work.
> ----------------------------------------------
>
>                 Key: ARCHETYPE-169
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-169
>             Project: Maven Archetype
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-3
>         Environment: Windows Vista
>            Reporter: Carlus Henry
>            Priority: Minor
>
> When trying to run the archetype:generate offline by:
> mvn -o archetype:generate
> It fails with the following exception:
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] : org.apache.maven.archetype.exception.UnknownArchetype: The desired 
> arch
> etype does not exist 
> (org.apache.maven.archetypes:maven-archetype-quickstart:REL
> EASE)
> The desired archetype does not exist 
> (org.apache.maven.archetypes:maven-archetyp
> e-quickstart:RELEASE)
> The desired archetype does not exist 
> (org.apache.maven.archetypes:maven-archetyp
> e-quickstart:RELEASE)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Thu May 15 22:34:14 EDT 2008
> [INFO] Final Memory: 8M/15M
> [INFO] 
> ------------------------------------------------------------------------
> However running it online works just fine.

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