POM 无效,传递依赖项如果有将不可用,启用调试日志以获取更多详细信息

问题描述

我重新安装了 Windows(之前运行良好),安装了最新的 maven,并通过使用 Git,尝试构建项目,但我收到此错误,并且我已尝试通过谷歌搜索来修复所有方法,还是那个错误。请,我需要帮助。我试过删除 .m2 文件夹,重新安装 Maven,将 POM 更改为旧的。使用 maven 插件仍然存在该错误

[WARNING] The POM for org.apache.maven.plugins:maven-jar-plugin:jar:2.5 is invalid,transitive dependencies (if any) will not be available,enable debug logging for more details
    [ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:2.5 or one of its dependencies Could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.5: 1 problem was encountered while building the effective model

[ERROR] [FATAL] Non-parseable POM C:\Users\Ilja\.m2\repository\org\apache\maven\plugins\maven-jar-plugin\2.5\maven-jar-plugin-2.5.pom: end tag name </head> must be the same as start tag <link> from line 7 (position: TEXT seen ...</style>\n  </head>... @31:10)  @ line 31,column 10
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors,re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)