收录日期:2021/01/26 17:06:49 时间:2010-07-27 16:53:32 标签:java,maven,guava

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

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

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

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

Note: the above version number may be outdated when you read this. To know the latest available version, you may look here

Version updated on 2 May 2016.

Bintray's JCenter is a superset of Maven Central as includes libraries from various repositories. Here's Google Guava.

You can click on "Set me up!" to get the instructions on how to configure your build tool to resolve from JCenter and on the "i" on a jar file to get the dependency declaration for your build tool.

You can also become a watcher to get notifications on new versions.

mvnrepository is your friend. It has an index of maven repository space with maven, ivy and other details about artifacts.

You can find all guava maven repositories here: http://mvnrepository.com/artifact/com.google.guava

Find latest guava(version 17.0) maven repositories http://mvnrepository.com/artifact/com.google.guava/guava/17.0