[
http://jira.codehaus.org/browse/ARCHETYPE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed ARCHETYPE-285.
-----------------------------------
Resolution: Cannot Reproduce
seems to work nowadays, both with maven-archetype-plugin 2.0-alpha-4 and alpha-5
please reopen if you can reproduce the issue
> archetype:generate fails when used with maven-archetype-webapp (The desired
> archetype does not exist)
> -----------------------------------------------------------------------------------------------------
>
> Key: ARCHETYPE-285
> URL: http://jira.codehaus.org/browse/ARCHETYPE-285
> Project: Maven Archetype
> Issue Type: Bug
> Components: Generator
> Affects Versions: 2.0-alpha-4
> Environment: RHEL 4, Maven 2.2.1
> Reporter: Eric Haszlakiewicz
>
> mvn archetype:generate
> Select "18". (maven-archetype-webapp)
> Tail end of the output is:
> ...
> Choose a number:
> (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41)
> 15: : 18
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The desired archetype does not exist
> (org.apache.maven.archetypes:maven-archetype-webapp:RELEASE)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Tue Feb 09 09:51:22 CST 2010
> [INFO] Final Memory: 10M/80M
> [INFO]
> ------------------------------------------------------------------------
> Note the "RELEASE" in the archetype it is looking for. If I explicitly
> specify the archetype version with:
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes
> -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=1.0
> it works 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