spring-attic / top-spring-boot-docker

Spring Boot Docker:: Topical guide to using Docker and how to create container images for Spring Boot applications :: spring-boot
https://spring.io/guides/topicals/spring-boot-docker
180 stars 127 forks source link

dockerfile-maven-plugin Docker image plugin error #19

Closed mmm8955405 closed 2 years ago

mmm8955405 commented 2 years ago

1、 Package plug-in (com. spotify: dockerfile Maven plugin), and no version 1.4.8 was found in Maven center. The highest version is 1.4.13, which was mature many years ago. 2、 I can normally package it into a docker image in version 1.4.13! Cannot pack normally in 1.4.8 11

mmm8955405 commented 2 years ago

Whether to use snapshot image has nothing to do with whether the jar package can be downloaded. There are no relevant 1.4.8 release notes on GitHub

`

spring-snapshots https://repo.spring.io/snapshot true
    <repository>
        <id>spring-milestones</id>
        <url>https://repo.spring.io/milestone</url>
    </repository>
</repositories>
<pluginRepositories>
    <pluginRepository>
        <id>spring-snapshots</id>
        <url>https://repo.spring.io/snapshot</url>
    </pluginRepository>
    <pluginRepository>
        <id>spring-milestones</id>
        <url>https://repo.spring.io/milestone</url>
    </pluginRepository>
</pluginRepositories>`