在为该项目执行mvn清洁程序包时,我遇到以下错误,并且不了解错误原因:
[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>
我将Intellij用于我的Java项目。
pom
:<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.5.6</version>
<type>pom</type>
</dependency>