Hi,
I have the feeling that I am not using the m2 plugin correctly to build my projects. The problem is, that the resources folders are not copied over when Eclipse rebuilds.
To give an example: I have a
maven project with a META-INF folder in the resources folder that holds the spring application contexts. When I rebuild (e.g. eclipse project clean)
from scratch, the classes get compiled properly, but the META-INF folder is not copied. The project setup shows indeed that there is a '**' exclusion filter for the resources.
That brought me to that explanation:
http://wiki.eclipse.org/M2E_FAQ#Why_resource_folders_in_Java_project_have_excluded.3D.22.2A.22
The effect is that e.g. my Integration tests do not run, because they don't find the application contexts in the target folder. If I build the project from the command line, the maven
builder kicks properly in and copies those resources over.
So what is the intended way to let Eclipse automatically build and copy the project into the target folder so that everything is available? Or is the only way to manually do a maven
build?
Thanks!