gpt4 book ai didi

java - 选择正确的 Maven 存储库

转载 作者:行者123 更新时间:2023-12-01 21:23:50 25 4
gpt4 key购买 nike

我想在我的 IntelliJ IDEA java 项目中使用来自 Apache Commons LangToStringBuilder。我将 ID org.apache.commons 放在 Download Library from Maven 菜单中,发现了很多链接:

enter image description here

我想这意味着许多 Maven 存储库都有这个库。如何知道哪一个是正确的?找到合适的库源的逻辑是什么?

最佳答案

只是为了添加到你的句子

I suppose this means that many maven repositories has this library

我知道以下流行的 Maven 存储库。

https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 https://search.maven.org/search?q=commons-lang3

就 common-lang3 库而言,所有存储库都有正确的库。在 intellij 中搜索时,它还会显示使用 commons-lang3 的其他库。您必须选择组 ID、 Artifact ID 和版本来设置依赖项。

关于java - 选择正确的 Maven 存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58841231/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com