You forgot to specify the archetype repository. The actual commandline is:

mvn archetype:generate -DarchetypeCatalog=
http://tapestry.formos.com/maven-repository

This is unfortunately still wrong in the stable docs, but fixed in the
nightly ones.

2009/3/8 Richard Clark <rdcl...@gmail.com>

> Actually, the command line as you wrote it:
> > mvn archetype:generate -DarchetypeGroupId=org.apache.tapestry \
> -DarchetypeArtifactId=quickstart
>
> causes Maven to generate the list of candidate archetypes and the
> tapestry quickstart archetype isn't among them. (It's the same command
> line I tried before writing the reply.)
>
> There's a real problem here: someone who wants to start a new Tapestry
> project on the current release version cannot do it using the
> archetype.
>
> ...Richard
>
> P.S. Here's the first part of the console output:
> Commutative-property:~ rdclark$ mvn archetype:generate
> -DarchetypeGroupId=org.apache.tapestry \
> > -DarchetypeArtifactId=quickstart
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:generate] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing archetype:generate
> [INFO] No goals needed for project - skipping
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [archetype:generate]
> [INFO] Generating project in Interactive mode
> [WARNING] Specified archetype not found.
> [INFO] No archetype defined. Using maven-archetype-quickstart
> (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
> Choose archetype:
> 1: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web
> application with Hibernate, Spring and JSF)
> 2: internal -> appfuse-basic-spring (AppFuse archetype for creating a
> web application with Hibernate, Spring and Spring MVC)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to