I use m2e 1.2.0 and m2e-wtp 0.16.0, and occasionally my Eclipse build fails with the error:
<path>/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF (No such file or directory)
The problem can be temporarily solved by doing a Maven->Update project...
, but the error will come back after a while. Not sure what exactly the trigger is....
Any suggestions on how to fix the issue permanently?
[Edit] I found that the issue is triggered when I build the project externally using the Maven command line directly. This will remove the default MANIFEST.MF that m2e-wtp generates, and it apparently doesn't get regenerated until you do a rebuild in Eclipse.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…