You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2014/09/18 19:33:15 UTC

svn commit: r1626031 - /hive/trunk/packaging/pom.xml

Author: hashutosh
Date: Thu Sep 18 17:33:14 2014
New Revision: 1626031

URL: http://svn.apache.org/r1626031
Log:
HIVE-8167 : mvn install command broken by HIVE8126 commit (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=1626031&r1=1626030&r2=1626031&view=diff
==============================================================================
--- hive/trunk/packaging/pom.xml (original)
+++ hive/trunk/packaging/pom.xml Thu Sep 18 17:33:14 2014
@@ -60,6 +60,33 @@
             </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>