mvn install无法在本地存储库中找到我的本地artifcat

时间:2017-12-20 20:01:36

标签: java maven-3

当我试图构建我的项目if (response.history): # we have to add to the cookie jar, the cookies sent by the server in intermediate responses for historicResponse in response.history: jar.update(historicResponse.cookies) 时,我的一个artifcat mvn clean install

出现问题
com.opengroup.pop:jpop-services-tools:jar:1.3.0

这是堆栈跟踪

<dependency>
            <groupId>com.opengroup.pop</groupId>
            <artifactId>jpop-front-tools</artifactId>
            <version>${jpop.version}</version>
        </dependency>

问题是这个artifcat存在于我的本地存储库中,我无法理解是什么问题 enter image description here enter image description here

我的本​​地存储库配置得很好

ERROR] Failed to execute goal on project justice-spark-scelles-rdd-app: Could not resolve dependencies for project fr.gouv.justice.spark:justice-spark-scelles-rdd-app:jar:1.0.0: The
 following artifacts could not be resolved: com.opengroup.pop:jpop-front-tools:jar:1.3.0, com.opengroup.pop:jpop-services-tools:jar:1.3.0, com.opengroup.pop:jpop-zdao-tools:jar:1.3.0
: Failure to find com.opengroup.pop:jpop-front-tools:jar:1.3.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until th
e update interval of central has elapsed or updates are forced -> [Help 1]

1 个答案:

答案 0 :(得分:1)

检查包本身的内容。我的猜测是它将是空的/无效的。

从本地存储库中删除整个包并重建。很多时候,软件包似乎已损坏。下载时再次检查。