Online documentation seems to say we can use archetype:generate to
select archetypes from a list of known archetypes.
My problem is that maven complains it cant find the generate goal for
the archetype plugin.
This is an example of the error I got. I cleared out my archetype
plugins under ~/.m2 to be sure it was using the newest version.

Any ideas what might be causing this?

:$ mvn archetype:generate
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype/1.0-alpha-7/maven-archetype-1.0-alpha-7.pom
3K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-parent/2/maven-archetype-parent-2.pom
2K downloaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Required goal not found: archetype:generate in
org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu May 01 14:28:32 BST 2008
[INFO] Final Memory: 2M/53M
[INFO] ------------------------------------------------------------------------


Thanks,

Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to