Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cole2295 opened this issue Sep 6, 2022 · 9 comments
Open

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

cole2295 opened this issue Sep 6, 2022 · 9 comments

Comments

@cole2295
Copy link

cole2295 commented Sep 6, 2022

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

@partonstart
Copy link
Contributor

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

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

@cole2295
Copy link
Author

cole2295 commented Sep 6, 2022

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

image
image

@partonstart
Copy link
Contributor

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

@cole2295
Copy link
Author

cole2295 commented Sep 6, 2022

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

image

@partonstart
Copy link
Contributor

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

@cole2295
Copy link
Author

cole2295 commented Sep 7, 2022

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

@partonstart
Copy link
Contributor

我们也找了些人内、外网都试了,都没问题。
你看能不能打开这个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打包

@WangJM001
Copy link

+1 同样拉不到包

@WangJM001
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants