I have created a simple Maven web application (the only addition to the generated code is a trivial servlet). If I run a Maven ‘clean’ and ‘install’ from within MyEclipse as separate operations then everything is fine. However if I run ‘clean install’ as a single operation then I can no longer deploy the app to the embedded Tomcat server. It shows in the servers tab with a ‘Redeploy’ warning and I see the following errors in the log:
Could not read pom.xml
Cannot find the file C:\Users\tjinks\Workspaces\proto\watest\target\m2e-jee\web-resources\META-INF\MANIFEST.MF in the file system. Make sure the file exists and try deployment again
Cannot find the file C:\Users\tjinks\Workspaces\proto\watest\target\m2e-jee\web-resources\META-INF\maven\watest\watest\pom.xml in the file system. Make sure the file exists and try deployment again
Maven operations run outside of MyEclipse can also cause the above problem to occur.
This wasn’t an issue in MyEclipse 10. Is there a change I can make to my configuration to get round it?
Thanks,
Tony Jinks