Hi

For the people who don't know, a maven archetype is like a template to
create a project file.

The project to be voted here are a set of very simple maven archetypes
that shows simple helloworld examples.

myfaces-archetype-helloworld : Hello World using myfaces 1.2.2
myfaces-archetype-helloworld-facelets : Hello World using myfaces
1.2.2 and facelets
myfaces-archetype-jsfcomponents : Custom component that say hello
myfaces-archetype-trinidad: Hello World using myfaces 1.2.2 and trinidad 1.2.5

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

or

mvn archetype:create -DarchetypeGroupId=org.apache.myfaces.buildtools
-DarchetypeArtifactId=myfaces-archetype-helloworld-facelets
-DarchetypeVersion=1.0-SNAPSHOT -DgroupId=org.apache.myfaces.test
-DartifactId=myfaces-helloworld-facelets

or

mvn archetype:create -DarchetypeGroupId=org.apache.myfaces.buildtools
-DarchetypeArtifactId=myfaces-archetype-trinidad
-DarchetypeVersion=1.0-SNAPSHOT -DgroupId=org.apache.myfaces.test
-DartifactId=myfaces-trinidad-helloworld

or

mvn archetype:create -DarchetypeGroupId=org.apache.myfaces.buildtools
-DarchetypeArtifactId=myfaces-archetype-jsfcomponents
-DarchetypeVersion=1.0-SNAPSHOT -DgroupId=org.apache.myfaces.test
-DartifactId=myfaces-jsfcomp

The first command creates a project called myfaces-helloworld.

As simple as you can see. With archetypes you can create projects
preconfigured and start to work immediately.

myfaces 1.2.2 are now on

http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/myfaces/core/myfaces-api/

and

http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/myfaces/core/myfaces-impl/

So it's just matter of time to be copied on all other mirrors (I hope
to do the ANNOUNCE).

If you have some time please VOTE

regards

Leonardo Uribe

Reply via email to