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

使用maven插件 docker-maven-plugin 执行 docker:build 报错的问题

No plugin found for prefix 'docker' in the current project and in the plugin groups
[org.apache.maven.plugins, org.codehaus.mojo]
available from the repositories [local (/root/.m2/repository),
central (https://repo.maven.apache.org/maven2)] -> [Help 1]

处理方式:settings里面增加配置项

    <pluginGroups>
        <pluginGroup>com.spotify</pluginGroup>
    </pluginGroups>

posted @ 2022-01-15 16:57  白泽-Baizer  阅读(1698)  评论(0)    收藏  举报