On Jan 26, 2008 9:47 AM, Leonardo Uribe <[EMAIL PROTECTED]> wrote:

> One example of how to use this archetypes is this:
>
> mvn archetype:create -DarchetypeGroupId=org.apache.myfaces.buildtools
> -DarchetypeArtifactId=myfaces-archetype-helloworld
> -DarchetypeVersion=1.0.1 -DgroupId=org.apache.myfaces.test
> -DartifactId=myfaces-helloworld

I got this one to work with the following:

mvn archetype:create -DarchetypeGroupId=org.apache.myfaces.buildtools \
-DarchetypeArtifactId=myfaces-archetype-helloworld \
-DarchetypeVersion=1.0.0 -DgroupId=com.example \
-DartifactId=myfaces-helloworld \
-DremoteRepositories=http://people.apache.org/~lu4242/m2-archetypes-100

(It had the wrong version number (this is a vote for 1.0.0, correct?)
and needs -DremoteRepositories until the archetypes are in the central
repo.)

Looks good so far, the resulting war worked fine in Tomcat 6.0.14.
(I'd like to see 'mvn jetty:run' work in a future release, if that's
possible.)  I'll vote in a little while after I check the others.

-- 
Wendy

Reply via email to