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>


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM