I am utilizing the standard maven directory layout in my eclipse maven project:
src/main/java
src/main/assembly
src/main/config
src/main/scripts
src/main/resources
src/test/java
src/test/resources
as per the: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
Whenever I then use ‘Maven -> Update Project Configuration’ in the m2e plugin the ‘assembly’, ‘config’ and ‘scripts’ directories are being removed by m2e from source folders. I would appreciate if anyone could suggest how to configure m2e to respect the standard maven layout. I used the basic java archetype offered by m2e to create the project.
With the maven-build-helper plugin you can add additional source folders to your build. To make eclipse extract that information from the plugin you need the m2e connectors
buildhelperandm2e-apt. They can be found on the marketplace.