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

客户端与 Hippo4j revision 冲突 #1024

Closed
HuangDayu opened this issue Dec 6, 2022 · 9 comments · Fixed by #1031
Closed

客户端与 Hippo4j revision 冲突 #1024

HuangDayu opened this issue Dec 6, 2022 · 9 comments · Fixed by #1031
Milestone

Comments

@HuangDayu
Copy link

问题支持

如果我的项目也定义revision,而hippo4j-spring-boot-starter也定义了revision,并且把revision提交到中央仓库,这将导致不能拉取依赖,因为revision定义使用了我的项目的revision值,而不是1.4.3-upgrade

https://repo1.maven.org/maven2/cn/hippo4j/hippo4j-spring-boot-starter/1.4.3-upgrade/hippo4j-spring-boot-starter-1.4.3-upgrade.pom

@pirme
Copy link
Member

pirme commented Dec 6, 2022

没明白你的问题,你的项目 revision 和 hippo4j 没关系吧

@HuangDayu
Copy link
Author

微信图片_20221206144523

会导致找不到依赖。@pirme

@pirme
Copy link
Member

pirme commented Dec 6, 2022

有时候 Pom 报红不代表运行有问题,实际运行中会出现问题么

@HuangDayu
Copy link
Author

HuangDayu commented Dec 6, 2022

编译都不通过,因为找不到依赖。例如我的revision 是1.0,但是hippo4j-spring-boot-starter并没有1.0,所以找不到依赖。 @pirme

@pirme
Copy link
Member

pirme commented Dec 6, 2022

ok,有时间我试下。现在的解决方案就是,你把标记了 revision 的依赖,在你 pom 里重新依赖下我认为就可以了。如果确实有问题,下个版本修复该问题。

@HuangDayu
Copy link
Author

好的。

@baymax55
Copy link
Contributor

baymax55 commented Dec 8, 2022

微信图片_20221206144523

会导致找不到依赖。@pirme

这里使用 ${project.version}会更合适点吧

@pirme
Copy link
Member

pirme commented Dec 8, 2022

@baymax55 是的,你有兴趣提个 PR 修复下么

@baymax55
Copy link
Contributor

baymax55 commented Dec 8, 2022

@baymax55 是的,你有兴趣提个 PR 修复下么

好的,我来处理下

@magestacks magestacks added this to the 1.5.0 milestone Dec 11, 2022
@magestacks magestacks changed the title 将revision版本符号发布到Maven中央仓库,导致不能拉取依赖。 客户端与 Hippo4j revision 冲突 Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants