Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is guava-libraries available in maven repo?

Tags:

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.

like image 696
mjlee Avatar asked Mar 31 '10 04:03

mjlee


People also ask

What is Google guava maven?

Guava is a suite of core and expanded libraries that include utility classes, Google's collections, I/O classes, and much more. This project includes GWT-friendly sources. Last Release on Mar 1, 2022.

What are maven libraries?

Maven local repository is a folder location on your machine. It gets created when you run any maven command for the first time. Maven local repository keeps your project's all dependencies (library jars, plugin jars etc.).

What is the use of guava library?

Guava is an open-source “Collection Library” library for Java, developed by Google. It provides utilities for working with Java collections. As you dive deep into Guava you'll notice how it reduces coding errors, facilitates standard coding practices and boost productivity by making code concise and easy to read.

What is guava JRE?

guava and its artifact ID is guava . Guava provides two different “flavors”: one for use on a (Java 8+) JRE and one for use on Android or Java 7 or by any library that wants to be compatible with either of those. These flavors are specified in the Maven version field as either 31.1-jre or 31.1-android .


1 Answers

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>23.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 19th Oct 2017.

like image 88
21 revs, 11 users 72% Avatar answered Sep 22 '22 21:09

21 revs, 11 users 72%