从其他存储库maven下载依赖项
我想在我的webapp(1.4.0 RC1)中使用新版本的Spring Boot,因此我在pom.xml文件中添加了额外的存储库:从其他存储库maven下载依赖项,maven,spring-boot,Maven,Spring Boot,我想在我的webapp(1.4.0 RC1)中使用新版本的Spring Boot,因此我在pom.xml文件中添加了额外的存储库: com.exampleRestApp 测试 0.0.1-快照 罐子 测试 SpringBoot的演示项目 org.springframework.boot spring启动程序父级 1.4.0.1 UTF-8 1.8 org.springframework.boot SpringBootStarterWeb org.postgresql postgresql 9.
com.exampleRestApp
测试
0.0.1-快照
罐子
测试
SpringBoot的演示项目
org.springframework.boot
spring启动程序父级
1.4.0.1
UTF-8
1.8
org.springframework.boot
SpringBootStarterWeb
org.postgresql
postgresql
9.3-1102-jdbc41
com.fasterxml.jackson.core
杰克逊数据绑定
2.6.3
org.hibernate
冬眠核心
5.2.1.最终版本
org.springframework.boot
弹簧起动试验
测试
org.springframework.boot
spring引导启动器数据jpa
春季里程碑
春季里程碑
https://repo.spring.io/libs-milestone
假的
org.springframework.boot
springbootmaven插件
它与Idea配合得很好,但当我尝试使用maven构建项目时,我会遇到以下错误:
Plugin org.springframework.boot:spring-boot-maven-plugin:1.4.0.RC1 or one of its dependencies could not be resolved: Could not find artifact org.springframework.boot:spring-boot-maven-plugin:jar:1.4.0.RC1 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
将存储库定义设置为:
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/libs-milestone</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
春季里程碑
春季里程碑
https://repo.spring.io/libs-milestone
真的
假的
使用此回购协议
<repository>
<id>spring-milestone</id>
<name>Spring Milestone Repository</name>
<url>https://repo.spring.io/milestone</url>
</repository>
春季里程碑
Spring里程碑存储库
https://repo.spring.io/milestone
Maven对插件和“正常”依赖项使用单独的存储库配置。这意味着您还需要添加
以访问Boot的Maven插件的1.4.0.RC1版本:
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/libs-milestone</url>
</pluginRepository>
</pluginRepositories>
春季里程碑
春季里程碑
https://repo.spring.io/libs-milestone
这台机器能用吗?我也有同样的问题。。。Spring里程碑存储库已定义,但未使用它。它一直在repo.maven.apache.org上尝试。