Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.1
-
None
-
documentation / example on the tapestry 4.1 webpage: http://tapestry.apache.org/tapestry4.1/tapestry-archetype/index.html
Description
I experienced an issue with getting the tapestry archetype to run using the specified command on the tapestry 4.1 page:
http://tapestry.apache.org/tapestry4.1/tapestry-archetype/index.html
I needed to add the remote repository get to the snapshot version to work along with using the -U option.
Since the example assumes that users may have just downloaded and installed Maven, it would be significantly helpful if these arguments were mentioned because if they're not (given my experience) maven will prompt them to choose an archetype. This will lead them way off course.
It should be a quick change. Maybe just:
If you experience that they archetype is not found, try the following:
mvn -U archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=tapestry-archetype -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository/ -DarchetypeVersion=4.1.6-SNAPSHOT -DgroupId=com.example -DartifactId=myapp
(not sure if they line-continuation slashes are needed)
thanks