hzero icon indicating copy to clipboard operation
hzero copied to clipboard

hzero 1.5 拉不到maven私服仓库的包

Open cole2295 opened this issue 2 years ago • 9 comments

hzero 1.5 拉不到maven私服仓库的包

org.hzero:hzero-parent:pom:1.5.0.RELEASE was not found in http://nexus.saas.hand-china.com/content/repositories/public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of HandPublic has elapsed or updates are forced

cole2295 avatar Sep 06 '22 12:09 cole2295

我们这边用阿里云服务器试了下,是没问题的 image

你可以看看自己的网络能不能连通这个仓库nexus.saas.hand-china.com,或者换另外一台服务器试一下。

partonstart avatar Sep 06 '22 14:09 partonstart

我能打开 http://nexus.saas.hand-china.com/ 网址,但是里面没有jar包。 域名 ping 到的 ip: 116.228.77.182 是否正确?

image image

cole2295 avatar Sep 06 '22 14:09 cole2295

这样,你把你打包的命令发一下。

partonstart avatar Sep 06 '22 14:09 partonstart

基于 windows powershell 执行的 mvn clean package -DskipTests "-Dmaven.javadoc.skip=true"

image

cole2295 avatar Sep 06 '22 14:09 cole2295

应该是本地的问题。可以参考https://blog.51cto.com/qiangsh/1743074去尝试一下 image

partonstart avatar Sep 07 '22 01:09 partonstart

报错信息不一样,不是这个问题。 我找朋友试了一下,也不行。 http://nexus.saas.hand-china.com/ 上查不到 是正常的吗? 应该还是私服问题。

cole2295 avatar Sep 07 '22 02:09 cole2295

我们也找了些人内、外网都试了,都没问题。 你看能不能打开这个URL http://nexus.saas.hand-china.com/content/repositories/Hzero-Release/org/hzero/hzero-parent/1.5.0.RELEASE/hzero-parent-1.5.0.RELEASE.pom 另外看看本地mvn库 .m2/repository/org/hzero/hzero-parent/1.5.0.RELEASE 目录下有没有对应的pom,可以删掉里面的文件,再重新mvn打包

partonstart avatar Sep 07 '22 03:09 partonstart

+1 同样拉不到包

WangJM001 avatar Mar 30 '23 14:03 WangJM001

应该是maven 3.8 以上 http 安全验证问题

WangJM001 avatar Mar 30 '23 14:03 WangJM001