spring-boot 1.4.0 SNAPSHOT 的 maven 存储库是什么,或者是否有其他方法可以在我们的 maven 项目中使用 1.4.0 SNAPSHOT?

What is the maven repository of spring-boot 1.4.0 SNAPSHOT OR is there any alternative way to use 1.4.0 SNAPSHOT in our maven project?

http://projects.spring.io/spring-boot/ 显示 beta 版本 spring-boot 1.4.0 快照。我想在我的 maven 项目中使用这个版本。 Maven 没有解决它的依赖关系我已经试过了

<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>1.4.0.BUILD-SNAPSHOT</version>

请告诉我如何在我的 Maven 项目中使用 spring-boot 1.4.0.BUILD-SNAPSHOT 版本。谢谢

要使用此版本的 spring 引导,我们需要将 POM.xml 文件中的父标记替换为以下内容:

<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>1.4.0.BUILD-SNAPSHOT</version>
        <relativePath/> <!-- lookup parent from repository -->
</parent>

并在父标签下方添加以下存储库标签。在重新导入依赖项时,依赖项将自动解析。

<repositories>
        <repository>
            <id>spring-libs-snapshot</id>
            <name>Spring Snapshot Repository</name>
            <url>http://repo.spring.io/libs-snapshot</url>
        </repository>
</repositories>