Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best startup JSF 2.2 archetype

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.

like image 885
Martijn Burger Avatar asked Jun 20 '14 15:06

Martijn Burger


2 Answers

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 :)

like image 195
wemu Avatar answered Sep 28 '22 22:09

wemu


You could try this one: https://github.com/ignl/happyfacescrud It contains quite a few features out of box.

like image 29
Koks Skirtumas Avatar answered Sep 28 '22 21:09

Koks Skirtumas