2017-10-05 135 views
0

弹簧引导依赖项的最新版本 缺少pom,pom.md5和pom.shal。缺少pom弹簧引导依赖项

http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-dependencies/2.0.0.BUILD-SNAPSHOT/

不太清楚,如果这是正确的方式 - 但也有人把它们存在或改变的maven-metadata.xml中位于前构建点?

编辑

在构建过程中

错误

Failed to collect dependencies at org.springframework.statemachine:spring-statemachine-core:jar:2.0.0.BUILD-SNAPSHOT: Failed to read artifact descriptor for org.springframework.statemachine:spring-statemachine-core:jar:2.0.0.BUILD-SNAPSHOT: Could not find artifact org.springframework.boot:spring-boot-dependencies:pom:2.0.0.BUILD-20171005.042611-1 in spring.io.snapshot (http://repo.spring.io/snapshot) -> [Help 1] 

感谢

EDIT2:

暂且 - 直到问题被固定 - 我做了以下(不漂亮但作品):

排除spring-boot-dependenc所有依赖关系都与远程启动有关。

 <exclusions> 
      <exclusion> 
       <groupId>org.springframework.boot</groupId> 
       <artifactId>spring-boot-dependencies</artifactId> 
      </exclusion> 
     </exclusions> 

从maven central添加了spring-boot-dependencies依赖项。

<dependency> 
     <groupId>org.springframework.boot</groupId> 
     <artifactId>spring-boot-dependencies</artifactId> 
     <version>2.0.0.M3</version> 
     <type>pom</type> 
     <scope>import</scope> 
    </dependency> 
+0

你知道如何使用这些文件的pom?你有没有试过http://start.spring.io/? – khmarbaise

+0

问题是,maven-metadata.xml指向一个新的构建,并为此构建我所描述的文件丢失。 - 在我的项目构建过程中出现此错误:无法收集org.springframework.statemachine的依赖项:spring-statemachine-core:jar:2.0.0.BUILD-SNAPSHOT:无法读取org.springframework的工件描述符。 statemachine:spring-statemachine-core:jar:2.0.0.BUILD-SNAPSHOT:在spring.io中找不到工件org.springframework.boot:spring-boot-dependencies:pom:2.0.0.BUILD-20171005.042611-1。快照(http://repo.spring.io/snapshot) - > [Help 1] – Eric

+0

为什么使用SNAPSHOT构建而不是Spring的里程碑构建? – khmarbaise

回答

0

同样的问题在这里,但似乎今天已固定:-)