当为项目做mvn clean包时,我得到了下面的错误,并且不理解错误的原因:
[ERROR] Failed to execute goal on project dbimport: Could not resolve dependencies for project
baag.betl:dbimport:jar:1.13-SNAPSHOT: Failure to find org.codehaus.groovy:groovy-all:jar:2.5.6 was cached in the local repository,
resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]下面是我的pom.xml的一部分
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.5.6</version>
</dependency>我正在为我的java项目使用Intellij。
发布于 2020-04-27 01:22:02
在here.中,您是否尝试过将类型添加为pom
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.5.6</version>
<type>pom</type>
</dependency>https://stackoverflow.com/questions/61444749
复制相似问题