maven-assembly-plugin:3.4.2 requires Maven version 3.2.5
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.4.2:single (make-assembly) on project ZENGWENFENG:
The plugin org.apache.maven.plugins:maven-assembly-plugin:3.4.2 requires Maven version 3.2.5 -> [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/PluginIncompatibleException

maven 3.2.1


maven-assembly-plugin:3.4.0 requires Maven version 3.2.5

降低版本3.3.0可以了


博客主要讨论了maven-assembly-plugin与Maven版本的适配问题。maven-assembly-plugin:3.4.2和3.4.0都要求Maven版本为3.2.5,而当前使用的Maven版本是3.2.1,最终发现将版本降低到3.3.0可解决问题。

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



