[ https://issues.apache.org/jira/browse/HIVE-9607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313392#comment-14313392 ]
Xuefu Zhang commented on HIVE-9607: ----------------------------------- +1 > 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 > Attachments: HIVE-9607.1.patch > > > 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)