Author: hashutosh
Date: Wed Sep 17 15:29:07 2014
New Revision: 1625631
URL: http://svn.apache.org/r1625631
Log:
HIVE-8126 : Standalone hive-jdbc jar is not packaged in the Hive distribution
(Deepesh Khandelwal via Ashutosh Chauhan)
Modified:
hive/trunk/packaging/pom.xml
Modified: hive/trunk/packaging/pom.xml
URL:
http://svn.apache.org/viewvc/hive/trunk/packaging/pom.xml?rev=1625631&r1=1625630&r2=1625631&view=diff
==============================================================================
--- hive/trunk/packaging/pom.xml (original)
+++ hive/trunk/packaging/pom.xml Wed Sep 17 15:29:07 2014
@@ -60,33 +60,6 @@
</executions>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy</id>
- <phase>package</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>${project.groupId}</groupId>
- <artifactId>hive-jdbc</artifactId>
- <version>${project.version}</version>
- <type>jar</type>
- <classifier>${hive.jdbc.driver.classifier}</classifier>
- <overWrite>true</overWrite>
-
<outputDirectory>${project.build.directory}</outputDirectory>
- <destFileName>${hive.jdbc.driver.jar}</destFileName>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
@@ -158,6 +131,12 @@
</dependency>
<dependency>
<groupId>org.apache.hive</groupId>
+ <artifactId>hive-jdbc</artifactId>
+ <version>${project.version}</version>
+ <classifier>${hive.jdbc.driver.classifier}</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hive</groupId>
<artifactId>hive-beeline</artifactId>
<version>${project.version}</version>
</dependency>