How to generate a maven project from archetype
Instead of manually creating the directory structure needed for an archetype, simply use:
mvn archetype:generate -DarchetypeGroupId=it.cosenonjaviste -DarchetypeArtifactId=jsf2-spring4-jpa2-archetype -DarchetypeVersion=2.0.0