我从 Github 克隆了一个开源库项目,我想将其用于我自己的 Java 项目。该库依赖于其他一些在任何公共存储库中都找不到的 jar。这会导致mvn package
失败:
[ERROR] Failed to execute goal on project commons-gdx-core:
Could not resolve dependencies for project
com.gemserk.commons.gdx:commons-gdx-core:jar:0.0.11-SNAPSHOT:
The following artifacts could not be resolved:
com.badlogic.gdx:gdx:jar:0.9.8-SNAPSHOT,
com.gemserk.animation4j:animation4j-core:jar:0.2.2-SNAPSHOT,
com.gemserk.vecmath:vecmath:jar:1.5.3-GEMSERK:
Could not find artifact com.badlogic.gdx:gdx:jar:0.9.8-SNAPSHOT -> [Help 1]
我想我可以从其他来源获得这些罐子,但我不知道如何告诉 maven 在哪里寻找它们。