| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <assembly |
| xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> |
| |
| <id>beeline</id> |
| |
| <formats> |
| <format>tar.gz</format> |
| </formats> |
| |
| <baseDirectory>apache-hive-beeline-${project.version}</baseDirectory> |
| |
| <dependencySets> |
| <dependencySet> |
| <outputDirectory>lib</outputDirectory> |
| <unpack>false</unpack> |
| <useProjectArtifact>false</useProjectArtifact> |
| <useStrictFiltering>true</useStrictFiltering> |
| <useTransitiveDependencies>true</useTransitiveDependencies> |
| <includes> |
| <include>org.apache.hadoop:hadoop-common:jar</include> |
| <include>org.apache.hive:hive-beeline:jar</include> |
| <include>org.apache.hive:hive-common:jar</include> |
| <include>org.apache.hive:hive-exec:jar</include> |
| <include>org.apache.hive:hive-jdbc</include> |
| <include>org.apache.hive:hive-serde:jar</include> |
| <include>org.apache.hive:hive-service:jar</include> |
| <include>org.apache.hive:hive-service-rpc:jar</include> |
| <include>commons-cli:commons-cli:jar</include> |
| <include>commons-io:commons-io:jar</include> |
| <include>org.jline:jline:jar</include> |
| <include>org.apache.thrift:libthrift:jar</include> |
| <include>org.slf4j:slf4j-api:jar</include> |
| <include>net.sf.supercsv:super-csv:jar</include> |
| <include>dnsjava:dnsjava:jar</include> |
| </includes> |
| <excludes> |
| <exclude>org.apache.hive:hive-jdbc:*:standalone</exclude> |
| </excludes> |
| </dependencySet> |
| </dependencySets> |
| |
| <fileSets> |
| <fileSet> |
| <fileMode>755</fileMode> |
| <directory>${project.parent.basedir}</directory> |
| <includes> |
| <include>bin/beeline</include> |
| <include>bin/ext/beeline.sh</include> |
| <include>bin/ext/util/**/*</include> |
| <include>bin/hive</include> |
| <include>bin/hive-config.sh</include> |
| </includes> |
| <outputDirectory>/</outputDirectory> |
| </fileSet> |
| |
| <fileSet> |
| <fileMode>755</fileMode> |
| <directory>${project.parent.basedir}/beeline/target</directory> |
| <outputDirectory>lib</outputDirectory> |
| <includes> |
| <include>jar-with-dependencies.jar</include> |
| </includes> |
| </fileSet> |
| </fileSets> |
| |
| </assembly> |