Answers How to configure a custom maven project structure is enough for a pure Maven build, i.e. from the command line. When you import a project into Eclipse (via m2e), you need to specify m2e a bit so that it can correctly create and maintain the project structure in Eclipse.
In fact, from the point of view of Eclipse, it really doesnβt matter what the folder structure of the project looks like if the webapp folder is declared as the source folder or inside the source folder, however, changing .classpath, t makes a lot of sense, since it is automatically generated file and changed frequently.
It is highly recommended that you comply with the agreement if you can, if not, use the following configuration for your setup:
<build> <resources> <resource> <directory>${basedir}/webapp</directory> </resource> ... ... </resources> ... ... </build>
yorkw
source share