You probably have an old version of the maven-archetype-plugin in your local repo.
Try adding -cpu to the command. If that does not help, remove $HOME/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin and try again. HTH, Olle 2009/5/13 Angelo Chen <angelochen...@yahoo.com.hk> > > Hi, > > Thanks for pointing out the link, I tried this: > > mvn archetype:generate > -DarchetypeCatalog=http://tapestry.formos.com/maven-repository > > but found this: > > [INFO] Searching repository for plugin with prefix: 'archetype'. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Required goal not found: archetype:generate > [INFO] ---------------------------------------------------- > > any idea? > > > > > Ulrich Stärk wrote: > > > > http://tapestry.apache.org/tapestry5.1/quickstart/ > > > > Am 13.05.2009 10:31 schrieb Angelo Chen: > >> Hi, > >> This creates a project for 5.0.18: > >> mvn archetype:create -DarchetypeGroupId=org.apache.tapestry > >> -DarchetypeArtifactId=quickstart -DgroupId=org.example > -DartifactId=myapp > >> -DpackageName=org.example.myapp -DarchetypeVersion=5.0.18 > >> > >> and this does not create a project for 5.1.0.5: > >> > >> mvn archetype:create -DarchetypeGroupId=org.apache.tapestry > >> -DarchetypeArtifactId=quickstart -DgroupId=org.example > -DartifactId=myapp > >> -DpackageName=org.example.myapp -DarchetypeVersion=5.1.0.5 > >> > >> instead, it gives error: > >> [ERROR] BUILD ERROR > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Error creating from archetype > >> > >> Embedded error: The META-INF/maven/archetype.xml descriptor cannot be > >> found. > >> why? > >> > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > > -- > View this message in context: > http://www.nabble.com/t5%3A-archetype-create-for-5.1.0.5-tp23517591p23519676.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se