Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.0-alpha-4
-
Fix Version/s: None
-
Component/s: Generator
-
Labels:None
-
Environment:RHEL 4, Maven 2.2.1
-
Number of attachments :
Description
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.
seems to work nowadays, both with maven-archetype-plugin 2.0-alpha-4 and alpha-5
please reopen if you can reproduce the issue