Hi,
I have a project that needs to work with both Maven and in eclipse. java sources are in /src/main/java and resources in /src/main/resources. These two folders are listed as source folders in eclipse, and they compile to /target/classes.
The web root folder is /src/main/webapp. The eclipse project is maven enabled.
When I deploy to the sandbox, only the /arc/main/webapp resources are put into tomcat. The lib folder is built with the Maven dependencies in th exploded deployment. But the classes folder in WEB-INF does not exist. I have to copy the classes folder to the webapp/WEB-INF folder by hand to get the classes deployed. Howver, if I do this there is no automatic code replacement and the debugger does not stop on breakpoints.
Another really strange thing is I have another project in the workspace, and if that project is open its compiled targets in its /target/classes are copied to the WEB-INF/classes folder in the deployment !
The other project is not a web project and is not a dependent project.
What exactly is required to get this to work. Can you explain the rules about how the builders are supposed to work ?