错误内容:

[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>
Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐