M2Eclipse, META-INF/MANIFEST.MF

杀马特。学长 韩版系。学妹 提交于 2019-12-05 08:01:55

This was fixed in m2e-wtp 0.13.0. Latest m2e-wtp version can be found at http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/

The root cause of the problem is WTP's Dynamic Web Facet, which automatically creates a MANIFEST.MF when it's installed. m2e-wtp now removes the file if it was created by WTP, but leaves any existing MANIFEST.MF.

I believe this is caused by the WTP addon for m2eclipse. If you aren't using it, try uninstalling the WTP Extras.

It's non-maven behaviour which I think is down to WTP being 'naughty'. It really shouldn't add anything to your source folders, and also this behaviour should not just happen to pick one of a number of source folders. I've seen it add this to src/test/java too.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!