Maven 找不到 JIB 插件?

问题描述

我发现了一个用于 dockerizing java 应用程序的神奇插件,它是 jib。 正如我在教程中看到的,我试图将它添加到我的主 POM.xml 到我的多模块项目中,但不幸的是它找不到 com.google.cloud.tools

知道我哪里出错了吗???

这是我的 pom 插件部分:

<plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>

            <plugin>
                <groupId>com.google.cloud.tools</groupId>
                <artifactId>jib-maven-plugin</artifactId>
                <version>2.8.0</version>
                <configuration>
                    <to>
                        <image>registry.hub.docker.com/maxxxdj/app</image>
                    </to>
                </configuration>
            </plugin>

        </plugins>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)