警告:
Version is duplicate of parent version
GroupId is duplicate of parent version
分析:
It´s just m2e trying to be clever because the version element (like group id) sometimes can be redundant and be can be inherited from the parent POM, so it would be safe to remove this element from your child POM.
But sometimes this is not a redundant information, like when the parent and the child project have different life cycles, and m2e should allow this warning to be disabled.
解决
(MyEclipse2015) Window > Preferences > MyEclipse > Maven4MyEclipse > Errors/Warnings > Ignore
本文探讨了Maven项目中出现的版本号和GroupId冗余警告问题,并提供了具体的分析及解决方案,帮助开发者理解该警告的原因及其在不同项目生命周期中的意义。
3585

被折叠的 条评论
为什么被折叠?



