[英]Creating a JSF project with Maven and IntelliJ
I want to create a JSF
project with Maven
and IntelliJ
. 我想用Maven
和IntelliJ
创建一个JSF
项目。 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! 事实上,因为我的项目应该在Maven
下,我想我必须启动一个Maven
项目,然后添加JSF
配置,但我不知道如何!
is there a predefined way or after creating Maven
project, i have to create JSF
project structure by hand? 是否有预定义的方式或创建Maven
项目后,我必须手动创建JSF
项目结构? For example i have to edit pom.xml
by hand and then Maven adds JSF
libraries to my project? 例如,我必须手动编辑pom.xml
然后Maven将JSF
库添加到我的项目中? 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. 有一些教程,但所有这些教程都是旧的,并且Eclipse
与新的IntelliJ有所不同。
How i can do this? 我怎么能这样做?
If you have to use Tomcat here there is a good tutorial with recent versions. 如果你必须在这里使用Tomcat ,那么有一个很好的教程与最新版本。 As starting point choose the maven-archetype-webapp
Maven archetype. 作为起点,选择maven-archetype-webapp
Maven原型。
If you can use WildFly you have the wildfly-javaee7-webapp-blank-archetype
Maven archetype. 如果你可以使用WildFly,你就拥有了wildfly-javaee7-webapp-blank-archetype
Maven原型。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.