Creating Tapestry 5 Project Skeleton

7 Nov
2009

Following the instructions given in the Tapestry 5 – Building Web Applications books gave me an error while running the Maven command to create a Tapestry 5 project skeleton. The project creation failed with the following message displayed on the console:

[INFO] Error creating from archetype
Embedded error: The META-INF/maven/archetype.xml descriptor cannot be found.

This might be caused by some changes made in the repository between the book was published and the time I am reading the book.

So here is the Maven command that will successfully give you a quick start project for creating a web application using the Tapestry 5 framework.

mvn archetype:create -DarchetypeCatalog=http://tapestry.formos.com/maven-repository -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DgroupId=org.kodejava -DartifactId=t5first -DpackageName=org.kodejava.t5first -Dversion=1.0.0-SNAPSHOT

To run the quick start go to the t5first folder and execute mvn jetty:run and access the application in http://localhost:8080/t5first.

Comment Form

top