我做了mvn install
并收到此错误消息
Failed to execute goal on project core: Could not resolve dependencies for project test:core:jar:2.0.1-SNAPSHOT: Could not find artifact lib-net:lib-net:jar:1.0.8 in central (http://repo.maven.apache.org/maven2)
这个依赖是我的一个项目,在本地存储库 ~/.m2 中可用
所以我试图mvn install -o
强制 maven 使用我的本地存储库,我得到了这个
Failed to execute goal on project core: Could not resolve dependencies for project test:core:jar:2.0.1-SNAPSHOT: The repository system is offline but the artifact lib-net:lib-net:jar:1.0.8 is not available in the local repository.
我试图删除我的本地存储库并重新安装所有内容,但这并没有解决我的问题!
有什么建议吗?