What is the best maven archetype to start a JSF 2.2 project in Eclipse EE with?
I am currently learning JSF and am looking for a clean maven archetype to start my JSF project with. I tried a few archetypes with jsf in the title, but they don't seem to create a "clean" (no problems found) in eclipse. I am looking for an answer from experience.
I think there is no best one as every archetype comes with stuff one does not want. Since every one is different some modifications will always be required.
I would give the appfuse archetypes a try: http://appfuse.org/display/APF/AppFuse+QuickStart
mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-light-jsf-archetype -DarchetypeVersion=2.2.1 -DgroupId=com.mycompany -DartifactId=myproject -DarchetypeRepository=http://oss.sonatype.org/content/repositories/appfuse
I think they use MyFaces 2.1.9 but that should be easy to change :)
You could try this one: https://github.com/ignl/happyfacescrud It contains quite a few features out of box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With