Maven 缺少pom spring启动依赖项
最新版本的缺少pom、pom.md5和pom.shal spring启动依赖项 不太确定这是不是正确的方法——但是有人可以把它们放在那里,或者将maven-metadata.xml更改为指向前一个构建吗 编辑: 生成过程中出错Maven 缺少pom spring启动依赖项,maven,spring-boot,Maven,Spring Boot,最新版本的缺少pom、pom.md5和pom.shal spring启动依赖项 不太确定这是不是正确的方法——但是有人可以把它们放在那里,或者将maven-metadata.xml更改为指向前一个构建吗 编辑: 生成过程中出错 Failed to collect dependencies at org.springframework.statemachine:spring-statemachine-core:jar:2.0.0.BUILD-SNAPSHOT: Failed to read ar
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]
谢谢
编辑2:
目前,在问题解决之前,我做了以下工作(不太好,但很有效):
排除了所有远程与spring boot相关的依赖项中的spring boot依赖项
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
</exclusion>
</exclusions>
org.springframework.boot
spring启动依赖项
从maven central添加了spring引导依赖项
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.0.0.M3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
org.springframework.boot
spring启动依赖项
2.0.0.M3
聚甲醛
进口
您知道如何使用这些pom文件吗?你试过了吗?问题是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:无法找到工件org.springframework.boot:spring-boot依赖项:pom:2.0.0.BUILD-20171005.042611-1 in-spring.io.snapshot()->[Help 1]为什么要使用快照构建而不是spring的里程碑构建?我们需要一个尚未发布的版本中的依赖项。您知道如何使用这些pom文件吗?你试过了吗?问题是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:无法找到工件org.springframework.boot:spring-boot依赖项:pom:2.0.0.BUILD-20171005.042611-1 in-spring.io.snapshot()->[Help 1]为什么要使用快照构建而不是spring的里程碑构建?我们需要一个尚未发布的版本中的依赖项。