如何确定哪些第三方依赖项与 Quarkus 在本机模式下兼容?

huangapple go评论101阅读模式
英文:

How do I know which third party dependencies are compatible with Quarkus in native mode?

问题

在开发过程中,我可能需要向我的项目中添加第三方依赖。在JVM模式下,它肯定可以工作,但是如何确定哪些依赖与Quarkus本机模式不兼容呢?

英文:

In the course of development I may need to add third party dependencies to my project. In JVM mode it sure works, but how can I identify which dependencies are incompatible with Quarkus native mode?

答案1

得分: 5

只要您的依赖通过扩展引入,那么通过扩展的使用在本地模式下是可以正常工作的。如果您直接拉取扩展依赖之外的依赖,那么 Quarkus 无法保证这一点。这并不意味着它不能工作,只是不能保证。

最好的做法是与 Quarkus 社区讨论您想要添加的依赖。有可能其他人正在为它开发一个扩展。

英文:

As long as your dependency is brought via an extension, then it's usage via the extension is known to work in native mode. If you directly pull a dependency outside an extension dependency, then Quarkus can't guarantee this. This does not mean it won't work, just that this cannot be guaranteed.
The best course of action is to discuss the dependency you want to add with the Quarkus community. It's possible, someone else it working on an extension for it.

huangapple
  • 本文由 发表于 2020年4月6日 22:36:16
  • 转载请务必保留本文链接:https://go.coder-hub.com/61062253.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定