Last active
December 11, 2015 04:18
-
-
Save wolfg1969/4544197 to your computer and use it in GitHub Desktop.
get hive-jdbc dependencies (with cloudera cdh4 repository)
$ mvn clean dependency:copy-dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>hive-deps</groupId> | |
| <artifactId>hive-deps</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.hadoop</groupId> | |
| <artifactId>hadoop-common</artifactId> | |
| <version>2.0.0-cdh4.1.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.hadoop</groupId> | |
| <artifactId>hadoop-core</artifactId> | |
| <version>2.0.0-mr1-cdh4.1.2</version> | |
| <dependency> | |
| <groupId>org.apache.hive</groupId> | |
| <artifactId>hive-jdbc</artifactId> | |
| <version>0.9.0-cdh4.1.2</version> | |
| </dependency> | |
| </dependencies> | |
| <repositories> | |
| <repository> | |
| <id>cloudera-cdh4</id> | |
| <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url> | |
| </repository> | |
| </repositories> | |
| <build> | |
| <plugins> | |
| <!-- mvn clean dependency:copy-dependencies --> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <configuration> | |
| <outputDirectory> | |
| ${project.build.directory} | |
| </outputDirectory> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment