Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a JSF project with Maven and IntelliJ

I want to create a JSF project with Maven and IntelliJ. right now i don't know how to start. in fact, because of my project should be under Maven, i think i have to start a Maven project and then add JSF configuration to it but i don't know how!

is there a predefined way or after creating Maven project, i have to create JSF project structure by hand? For example i have to edit pom.xml by hand and then Maven adds JSF libraries to my project? is this the way?

i cant find out any resource on the web. there is some tutorials but all of them old and by Eclipse that has differences with new IntelliJ.

How i can do this?

like image 902
Fcoder Avatar asked Oct 17 '15 20:10

Fcoder


1 Answers

If you have to use Tomcat here there is a good tutorial with recent versions. As starting point choose the maven-archetype-webapp Maven archetype.

If you can use WildFly you have the wildfly-javaee7-webapp-blank-archetype Maven archetype.

like image 72
Javier Haro Avatar answered Nov 15 '22 03:11

Javier Haro