You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/02/07 03:16:34 UTC
[jira] [Created] (HIVE-9607) Remove unnecessary attach-jdbc-driver
execution from package/pom.xml
Alexander Pivovarov created HIVE-9607:
-----------------------------------------
Summary: Remove unnecessary attach-jdbc-driver execution from package/pom.xml
Key: HIVE-9607
URL: https://issues.apache.org/jira/browse/HIVE-9607
Project: Hive
Issue Type: Improvement
Components: Build Infrastructure
Reporter: Alexander Pivovarov
Assignee: Alexander Pivovarov
Priority: Minor
Looks like build-helper-maven-plugin block which has execution attach-jdbc-driver is not needed in package/pom.xml
package/pom.xml has maven-dependency-plugin which copies hive-jdbc-standalone to project.build.directory
I removed build-helper-maven-plugin block and rebuilt hive
hive-jdbc-standalone.jar is still placed to project.build.directory
{code}
$ mvn clean install -Phadoop-2 -Pdist -DskipTests
$ find . -name "apache-hive*jdbc.jar" -exec ls -la {} \;
16844023 Feb 6 17:45 ./packaging/target/apache-hive-1.2.0-SNAPSHOT-jdbc.jar
$ find . -name "hive-jdbc*standalone.jar" -exec ls -la {} \;
16844023 Feb 6 17:45 ./packaging/target/apache-hive-1.2.0-SNAPSHOT-bin/apache-hive-1.2.0-SNAPSHOT-bin/lib/hive-jdbc-1.2.0-SNAPSHOT-standalone.jar
16844023 Feb 6 17:45 ./jdbc/target/hive-jdbc-1.2.0-SNAPSHOT-standalone.jar
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)