Google HTTP Client Library for Java.
Google HTTP Client Library for Java. Functionality that works on all supported Java platforms, including Java 5 (or higher) desktop (SE) and web (EE), Android, and Google App Engine..
Here is the list of declaration for google-http-client. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.google.http-client</groupId> <artifactId>google-http-client</artifactId> <version>1.19.0</version> </dependency>
If you think this Maven repository POM file listing for google-http-client is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The google-http-client-1.19.0 has 1 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 |
---|---|---|
Android | android 1.5_r4 A library jar that provides APIs for Applications written for the Google Android Platform. | 12 |
The following plugins are used in the google-http-client-1.19.0.jar
The following packages are defined in the google-http-client-1.19.0.jar
com.google.api.client.http com.google.api.client.http.apache com.google.api.client.http.javanet com.google.api.client.http.json com.google.api.client.json com.google.api.client.json.rpc2 com.google.api.client.json.webtoken com.google.api.client.repackaged.com.google.common.annotations com.google.api.client.repackaged.com.google.common.base com.google.api.client.repackaged.org.apache.commons.codec com.google.api.client.repackaged.org.apache.commons.codec.binary com.google.api.client.testing.http com.google.api.client.testing.http.apache com.google.api.client.testing.http.javanet com.google.api.client.testing.json com.google.api.client.testing.util com.google.api.client.util com.google.api.client.util.escape com.google.api.client.util.store
Here is the content of the POM file.
<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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.google.http-client</groupId> <artifactId>google-http-client-parent</artifactId> <version>1.19.0</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>google-http-client</artifactId> <name>Google HTTP Client Library for Java</name> <description> Google HTTP Client Library for Java. Functionality that works on all supported Java platforms, including Java 5 (or higher) desktop (SE) and web (EE), Android, and Google App Engine. </description> <build> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <links> <link>http://download.oracle.com/javase/1.5.0/docs/api/</link> <link>http://docs.guava-libraries.googlecode.com/git-history/v13.0.1/javadoc</link> <link>http://commons.apache.org/proper/commons-codec/javadocs/api-release</link> </links> <doctitle>${project.name} ${project.version}</doctitle> <windowtitle>${project.artifactId} ${project.version}</windowtitle> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>source-jar</id> <phase>compile</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Use jarjar to include a private copy of Apache Commons Codec library to avoid a runtime dependency conflict with Android which includes an older version of that library, as well as Guava JDK5. --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>jarjar-maven-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>jarjar</goal> </goals> <configuration> <includes> <include>commons-codec:commons-codec</include> <include>com.google.guava:guava-jdk5</include> </includes> <rules> <rule> <pattern>org.apache.commons.codec.**</pattern> <result>com.google.api.client.repackaged.org.apache.commons.codec.@1</result> </rule> <rule> <pattern>com.google.common.**</pattern> <result>com.google.api.client.repackaged.com.google.common.@1</result> </rule> <keep> <pattern>com.google.api.client.**</pattern> </keep> </rules> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <!-- Remove extraneous files from the jarjar'ed Apache Commons Codec Library. --> <execution> <id>scrub</id> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <jar destfile="target/scrubbed.jar" filesetmanifest="merge"> <zipfileset src="target/google-http-client-${project.version}.jar"> <exclude name="**/org/apache/commons/codec/language/bm/*.txt"/> <exclude name="META-INF/*.txt"/> <exclude name="META-INF/maven/**"/> </zipfileset> </jar> <move file="target/scrubbed.jar" tofile="target/google-http-client-${project.version}.jar"/> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.google.android</groupId> <artifactId>android</artifactId> <version>1.5_r4</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-jdk5</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <scope>provided</scope> </dependency> </dependencies> </project>