我正在尝试在Spring Tools Suite 3.7和Maven版本3.3.3中编译Maven项目。
失败了
Could not resolve dependencies for project
com.ccs:ccs-nbook-service:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved:
com.ccs:ccs-common-service:jar:R.1.0.BUILD-SNAPSHOT,
com.ccs:ccs-common-ui:jar:R.1.0.BUILD-SNAPSHOT,
com.ccs:ccs-common-core:jar:R.1.0.BUILD-SNAPSHOT: Could not find artifact
com.ccs:ccs-common-service:jar:R.1.0.BUILD-SNAPSHOT in central
我已经在线查找,无法找到这些maven存储库。
有谁知道我可以在哪里获得这些存储库或我如何解决这个问题?
答案 0 :(得分:1)
我在以下链接中找不到上面列出的这些jar文件
http://mvnrepository.com/
我猜这些罐子可能是由某人开发的,但它们仍然不是很稳定,因此罐子的版本名称最终为snapshot
如果您可以获取或找到这些jar文件,您可以将这些罐子安装到您当地的maven仓库或将它们上传到您的中央仓库
下面列出了将jar文件安装到本地存储库的命令
mvn install:install-file -Dfile=D:/jar/xxx.jar -DgroupId=xxx.xxx -DartifactId=xxx -Dversion=x.x -Dpackaging=jar