Intellij Maven模块到模块的依赖性

时间:2018-08-04 04:51:41

标签: maven

在将intellij模块作为maven依赖项时遇到了一些麻烦。我收到以下错误。

[ERROR] Failed to execute goal on project AxiomAdmin: Could not resolve dependencies for project com.icyrelic:AxiomAdmin:jar:1.0-SNAPSHOT: Failure to find com.icyrelic:AxiomAPI:jar:1.0-SNAPSHOT in https://hub.spigotmc.org/nexus/content/repositories/snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of spigot-repo has elapsed or updates are forced -> [Help 1]

我使用以下代码在pom.xml中添加依赖项

    <dependency>
        <groupId>com.icyrelic</groupId>
        <artifactId>AxiomAPI</artifactId>
        <version>1.0-SNAPSHOT</version>
        <scope>provided</scope>
    </dependency>

这两个模块都具有相同的groupID,但具有不同的工件ID。

0 个答案:

没有答案