用 nexus 建好了私有库, 上传了 artifact
Index of /repositories/snapshots/****/cms-interfaces/0.0.1-SNAPSHOT
Name Last Modified Size Description
Parent Directory
cms-interfaces-0.0.1-20160825.080248-1.jar Thu Aug 25 16:02:47 CST 2016 42113
cms-interfaces-0.0.1-20160825.080248-1.jar.md5 Thu Aug 25 16:02:47 CST 2016 32
cms-interfaces-0.0.1-20160825.080248-1.jar.sha1 Thu Aug 25 16:02:47 CST 2016 40
cms-interfaces-0.0.1-20160825.080248-1.pom Thu Aug 25 16:02:47 CST 2016 814
cms-interfaces-0.0.1-20160825.080248-1.pom.md5 Thu Aug 25 16:02:47 CST 2016 32
cms-interfaces-0.0.1-20160825.080248-1.pom.sha1 Thu Aug 25 16:02:47 CST 2016 40
maven-metadata.xml Thu Aug 25 16:02:47 CST 2016 775
maven-metadata.xml.md5 Thu Aug 25 16:02:47 CST 2016 32
maven-metadata.xml.sha1 Thu Aug 25 16:02:47 CST 2016 40
但是在本地mvn缓存里并没有下到 jar,所以项目中引用也出错了。
$ ls -lht /Users/s*****n/.m2/repository/****/cms-interfaces/0.0.1-SNAPSHOT/
total 72
-rw-r--r-- 1 s*****n staff 185B 8 25 17:47 _remote.repositories
-rw-r--r-- 1 s*****n staff 814B 8 25 17:47 cms-interfaces-0.0.1-20160825.080248-1.pom
-rw-r--r-- 1 s*****n staff 32B 8 25 17:47 cms-interfaces-0.0.1-20160825.080248-1.pom.md5
-rw-r--r-- 1 s*****n staff 40B 8 25 17:47 cms-interfaces-0.0.1-20160825.080248-1.pom.sha1
-rw-r--r-- 1 s*****n staff 814B 8 25 17:47 cms-interfaces-0.0.1-SNAPSHOT.pom
-rw-r--r-- 1 s*****n staff 775B 8 25 17:47 maven-metadata-private.xml
-rw-r--r-- 1 s*****n staff 32B 8 25 17:47 maven-metadata-private.xml.md5
-rw-r--r-- 1 s*****n staff 40B 8 25 17:47 maven-metadata-private.xml.sha1
-rw-r--r-- 1 s*****n staff 186B 8 25 17:47 resolver-status.properties
请教一下哪里出了问题。