Hello. Executing the command you gave, without the repository flag:
-DremoteRepositories=... Works for me. The Tapestry archetype is in the main repository. When building the app, you will need the snapshot repositories -- you'll need whichever repositories are added to the POM by the archetype. This is because Tapestry itself is in the snapshot repositories. Hope that helps. On Sun June 24 2007 9:13:55 am #Cyrille37# wrote: > #Cyrille37# a écrit : > > Hello > > > > I would like to start with Tapestry5 and looking to the maven's > > archetype. > > In the page > > http://tapestry.apache.org/tapestry5/tapestry-simple/ > > it is talking about tapestry-simple:5.0.2. > > > > Is this number version is relative to Tapestry5 version ? Should I > > prefer tapestry-simple:5.0.5 ? > > > > Please, could you give me some explanation ? > > thanks > > cyrille > When following instructions of page > http://tapestry.apache.org/tapestry5/tapestry-simple/ > > mvn archetype:create > -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository > -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart > -DarchetypeVersion=5.0.2 -DgroupId=org.example -DartifactId=myapp > -DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT > > Maven could not find the archetype : > > [INFO] We are using command line specified remote repositories: > http://people.apache.org/repo/m2-snapshot-repository > Downloading: > http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/quickstart/5.0.2/quickstart-5.0.2.jar > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error creating from archetype > > Embedded error: Archetype does not exist: Unable to download the > artifact from any repository > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.tapestry > -DartifactId=quickstart \ > -Dversion=5.0.2 -Dpackaging=jar -Dfile=/path/to/file > > org.apache.tapestry:quickstart:jar:5.0.2 > > from the specified remote repositories: > id0 (http://people.apache.org/repo/m2-snapshot-repository) > > Any help ? > Cyrille. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]