在将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。