If you create a new Dynamic Web Project in Eclipse, add a POM with WAR
packaging, add a file to src/main/resources, do "Update Project
Configuration", add the project to a server, and publish it, that file
in src/main/resources doesn't get deployed to WEB-INF/classes on the
server. However, if I then run the Package goal on the project and
publish to the server again, the file shows up. 

 

Is this a bug in m2eclipse, or an unavoidable deficiency? This problem
has both eaten up some of my time and the time of other colleagues, so
it'd be really nice if it could be somehow resolved so we don't have to
worry about it when training new developers.

 

On a slight unrelated note, if I run Clean on the project Eclipse's
automatic builder apparently isn't notified, because then not even class
files get deployed to the server until I run Package.

 

Thanks,

 

-Matthew

Reply via email to