Many thanks Julian, You did save me a lot of time.
Yunhua On Feb 19, 2008 7:33 PM, Julian Wood <[EMAIL PROTECTED]> wrote: > Hi all, > > Just starting a new project, and have decided to do it in Tap5 (I have > done many in Tap4). > > So, seeing the tutorial, and the quickstart archetype. I thought that > would be a good way to start, but it was not working. > > mvn archetype:create -DarchetypeGroupId=org.apache.tapestry - > DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.10 - > DgroupId=org.apache.tapestry -DartifactId=tapestry-tutorial1 - > DpackageName=org.apache.tapestry.tutorial > > gives me a list of 36 archetypes to choose from, after it fails to > find the archetype specified (mvn 2.0.7 or 2.0.8, btw). > > So after a couple of hours of following dead-end trails (looking > through repos, tracking down missing dependencies, installing the > archetype manually), I finally figured out what needed to be done - > use version 1 of the archetype plugin, rather than v2: > > mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create > -DarchetypeGroupId=org.apache.tapestry - > DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.10 - > DgroupId=org.apache.tapestry -DartifactId=tapestry-tutorial1 - > DpackageName=org.apache.tapestry.tutorial > > Hope this saves someone else some time. > > J > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >