maven repo中有guava-libraries吗? [英] is guava-libraries available in maven repo?

查看:129
本文介绍了maven repo中有guava-libraries吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在maven资源库中找到guava-libraries。看起来guava正在为google-collections库添加更多功能。

I am looking to find guava-libraries in maven repository. It looks like guava is adding more features to google-collections library.

推荐答案

从r03开始,可以在中央Maven存储库。

Starting from r03, Guava releases may be found in the central Maven repository.

您可以通过向POM添加以下依赖项来包含Guava:

You may include Guava by adding the following dependency to your POM:

<dependency>
    <groupId>com.google.guava</groupId>
    <artifactId>guava</artifactId>
    <version>23.0</version>
</dependency>

注意:阅读本文时,上述版本号可能已过时。要了解最新版本,您可以查看此处

版本于2017年10月19日更新。

Version updated on 19th Oct 2017.

这篇关于maven repo中有guava-libraries吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆