移动到 Spring Boot 2.0.0.M4 和 spring-boot-maven-plugin
Moving to Spring Boot 2.0.0.M4 and spring-boot-maven-plugin
我正在尝试将我的应用程序移动到 Spring Boot 2.0.0.M4
现在一切正常,除了 spring-boot-maven-plugin 的一个问题:
Failure to find org.springframework.boot:spring-boot-maven-plugin:jar:2.0.0.M4 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
这是插件声明:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.M4</version>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
有什么问题以及如何解决?
看起来还没有 M4
发布到 Maven Central,
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-maven-plugin
添加插件回购,
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
到 POM
其中有M4里程碑。
http://repo.spring.io/milestone/org/springframework/boot/spring-boot-maven-plugin/2.0.0.M4/
有关 SNAPSHOT/Milestone 存储库的更多详细信息,请参阅 https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/html/getting-started-installing-spring-boot.html。
我正在尝试将我的应用程序移动到 Spring Boot 2.0.0.M4
现在一切正常,除了 spring-boot-maven-plugin 的一个问题:
Failure to find org.springframework.boot:spring-boot-maven-plugin:jar:2.0.0.M4 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
这是插件声明:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.M4</version>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
有什么问题以及如何解决?
看起来还没有 M4
发布到 Maven Central,
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-maven-plugin
添加插件回购,
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
到 POM
其中有M4里程碑。
http://repo.spring.io/milestone/org/springframework/boot/spring-boot-maven-plugin/2.0.0.M4/
有关 SNAPSHOT/Milestone 存储库的更多详细信息,请参阅 https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/html/getting-started-installing-spring-boot.html。