My need is to cretae a project whose structure is :
Java_resources/src/main/java
Java_resources/src/test/java
and all the web content is under:
/WebContent
I tried to first create an Eclipse Dynamic Web Project, but it only create:
/src and
/WebContent
And when I create a Maven project, it only create
Java_resources/src/main/java
Java_resources/src/test/java
and no WebContent
Is there any way to have a structure respecting the Maven structure and the “Dynamic Web project” ?
You can create a maven project and convert it to a eclipse project using command line:
In case you want a web tools project you can add an extra argument:
Source: http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html