M2Eclipse,META-INF / MANIFEST.MF [英] M2Eclipse, META-INF/MANIFEST.MF
问题描述
我不知道为什么每次在Eclipse中导入Maven项目时,它总是生成一个空的
- src / main / META -INF / MANIFEST.MF文件(jar包装项目)
- src / main / webapp / META-INF / MANIFEST.MF文件(war-packages projects)
我觉得这有点恼人;-)有人知道如何禁用此行为?
感谢
这是 fixed in m2e-wtp 0.13.0。最新的m2e-wtp版本可以在 http://download.jboss.org/jbosstools找到/ updates / m2eclipse-wtp /
问题的根本原因是WTP的动态Web Facet,它在安装时自动创建一个MANIFEST.MF。 m2e-wtp现在删除文件,如果它是由WTP创建的,但留下任何现有的MANIFEST.MF。
I use the M2Eclipse plugin in Eclipse.
And I don't know for what reason, each time I import a Maven project in Eclipse, it always generates an empty - src/main/META-INF/MANIFEST.MF file (jar-packaged projects) - src/main/webapp/META-INF/MANIFEST.MF file (war-packaged projects)
I find this a bit annoying ;-) Does someone know how to disable this behavior ?
Thanks
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.
这篇关于M2Eclipse,META-INF / MANIFEST.MF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!