[ERROR] No plugin found for prefix 'docker' in the current project and in the plugin groups

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/catoop/article/details/89648557

错误内容:

[ERROR] No plugin found for prefix 'docker' in the current project and in the plugin groups [org.sonarsource.scanner.maven, org.apache.maven
.plugins, org.codehaus.mojo] available from the repositories [local (D:\apache-maven\repository), nexus (http://192.168.20.206:8081/reposito
ry/public)] -> [Help 1]

错误原因:
插件不在maven配置文件settings.xml中pluginGroups的白名单里面

解决方法:
修改maven的settings.xml配置文件,在<pluginGroups>节点中添加

<pluginGroup>com.spotify</pluginGroup>

猜你喜欢

转载自blog.csdn.net/catoop/article/details/89648557