Lads,
I am not sure if the issue I am facing is related to m2eclipse or to Eclipse itself. So apologize if I am sending it to wrong place.
After a migration to eclipse-luna we realized that when we do a Maven => Update Project (and set Force update of snapshots/Releases) for a specific project we then end up with the project's org.eclipse.wst.common.component changed in a way that the following tags are removed from it:
<wb-resource deploy-path="/" source-path="/src/test/java"/>
<wb-resource deploy-path="/" source-path="/src/test/resources"/>
The original org.eclipse.wst.common.component contains :
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="Project_NAME">
<wb-resource deploy-path="/" source-path="/src/main/java"/>
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
<wb-resource deploy-path="/" source-path="/src/test/java"/>
<wb-resource deploy-path="/" source-path="/src/test/resources"/>
</wb-module>
</project-modules>
Am I missing any extra configuration or could this be a bug?
PS: It may look strange having src/test/* sdtuff in deploy but that is something that we haven“t change in the pass and it used to work so we leave it as it is.
Also after the Force update I then re-edit the org.eclipse.wst.common.component file putting back the removed tags and all worked fine. I mean we need the src/test/* in the deploy so the server starts fine in eclipse.
I thank you help/comments in advance!
Cheers!
Flavio