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