Guava: Google Core Libraries for Java.
Guava is a suite of core and expanded libraries that include utility classes, google's collections, io classes, and much much more. Guava has two code dependencies - javax.annotation per the JSR-305 spec and javax.inject per the JSR-330 spec..
Here is the list of declaration for guava. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>14.0</version> </dependency>
If you think this Maven repository POM file listing for guava is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The guava-14.0 has 2 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Testing Coding Style | jsr305 1.3.9 JSR305 Annotations for Findbugs | 150 |
Inversion of Control | javax.inject 1 The javax.inject API | 539 |
The following table lists the most popular artifacts which are depending on guava-14.0. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Log | logback-gelf 0.10p2 GELF Appender for logback. Use this appender to log messages to a graylog2 server via GELF messages. | 6 |
Network | operadriver 1.5 OperaDriver is a vendor-supported WebDriver implementation developed by Opera Software and volunteers that implements WebDriver's wire protocol. | 12 |
Network | pytheas-core 1.11 pytheas-core developed by Netflix | 12 |
Log | logback-gelf 0.10p1 GELF Appender for logback. Use this appender to log messages to a graylog2 server via GELF messages. | 11 |
Parser | closure-compiler v20130227 Closure Compiler is a JavaScript optimizing compiler. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls. It is used in many of Google's J... | 7 |
The following plugins are used in the guava-14.0.jar
The following packages are defined in the guava-14.0.jar
com.google.common.annotations com.google.common.base com.google.common.base.internal com.google.common.cache com.google.common.collect com.google.common.eventbus com.google.common.hash com.google.common.io com.google.common.math com.google.common.net com.google.common.primitives com.google.common.reflect com.google.common.util.concurrent
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.google.guava</groupId> <artifactId>guava-parent</artifactId> <version>14.0</version> </parent> <artifactId>guava</artifactId> <name>Guava: Google Core Libraries for Java</name> <packaging>bundle</packaging> <description> Guava is a suite of core and expanded libraries that include utility classes, google's collections, io classes, and much much more. Guava has two code dependencies - javax.annotation per the JSR-305 spec and javax.inject per the JSR-330 spec. </description> <dependencies> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>1.3.9</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.7</version> <extensions>true</extensions> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> <configuration> <instructions> <Export-Package>!com.google.common.base.internal,com.google.common.*</Export-Package> <Import-Package> javax.annotation;resolution:=optional, javax.inject;resolution:=optional, sun.misc.*;resolution:=optional </Import-Package> </instructions> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <phase>post-integration-test</phase> <goals><goal>jar</goal></goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> <executions> <execution> <id>attach-docs</id> <phase>post-integration-test</phase> <goals><goal>jar</goal></goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <version>1.7</version> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java16-sun</artifactId> <version>1.0</version> </signature> </configuration> <executions> <execution> <id>check-java16-sun</id> <phase>test</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> <configuration> <encoding>UTF-8</encoding> <docencoding>UTF-8</docencoding> <charset>UTF-8</charset> <additionalparam>-XDignore.symbol.file</additionalparam> <excludePackageNames>com.google.common.base.internal</excludePackageNames> <linksource>true</linksource> <links> <link>http://jsr-305.googlecode.com/svn/trunk/javadoc</link> </links> </configuration> <executions> <execution> <id>generate-javadoc-site-report</id> <phase>site</phase> <goals><goal>javadoc</goal></goals> </execution> <execution> <id>generate-jdiff-site-report</id> <phase>site</phase> <goals><goal>javadoc</goal></goals> <configuration> <doclet>jdiff.JDiff</doclet> <docletPath>${project.basedir}/lib/jdiff.jar</docletPath> <additionalparam> -XDignore.symbol.file -apiname 'Guava ${project.version}' </additionalparam> <useStandardDocletOptions>false</useStandardDocletOptions> <reportOutputDirectory>${project.reporting.outputDirectory}</reportOutputDirectory> <destDir>jdiff</destDir> </configuration> </execution> </executions> </plugin> </plugins> <finalName>${project.artifactId}-${project.version}</finalName> <sourceDirectory>src</sourceDirectory> <testSourceDirectory>disabled</testSourceDirectory> </build> </project>