3. Plugin not found in any plugin repository -> [Help 1]
-
官方解释
-
使用插件没有给出一个明确的版本
This error occurs when you employ a plugin without giving an explicit version for it and Maven fails to determine the latest release version of this plugin. In other words, a
<plugin>
or<extension>
declaration in the POM without a<version>
element or a command line likemvn some-plugin:some-goal
can trigger this error. Possible causes for this error are -
-
问题
[ERROR] Error resolving version for plugin 'org.apache.maven.plugins:maven‐resources‐plugin' from the repositories [local (D:\apache-maven-3.6.3\maven_repository), alimaven (maven.aliyun.com/nexus/conte…)]: Plugin not found in any plugin repository -> [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] cwiki.apache.org/confluence/…
Process finished with exit code 1
-
解决
-
给对应的报错插件,添加对应的使用的相关版本
-