blob: 86e3802fdc2525920a169171884a48f585ec130c [file] [log] [blame]
<?xml version="1.0"?>
<!--
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>binary-release</id>
<formats>
<format>tar.gz</format>
<format>dir</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<moduleSets>
</moduleSets>
<dependencySets>
<dependencySet>
<includes>
<include>org.apache.drill.exec:drill-jdbc-all:jar</include>
</includes>
<outputDirectory>jars/jdbc-driver</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
<dependencySet>
<outputDirectory>jars/classb</outputDirectory>
<unpack>false</unpack>
<useProjectArtifact>false</useProjectArtifact>
<includes>
<include>org.glassfish.jersey.containers</include>
<include>org.glassfish.jersey.core</include>
<include>org.reflections</include>
<include>org.glassfish.hk2.external</include>
<include>org.mortbay.jetty</include>
<include>org.jboss.spec.javax.transaction</include>
<include>javax.activation</include>
<include>javax.annotation</include>
<include>org.glassfish.jersey.containers</include>
<include>org.glassfish.jersey.core</include>
<include>org.glassfish.jersey.ext</include>
<include>org.glassfish.jersey.media</include>
<include>org.glassfish.jersey.bundles.repackaged</include>
<include>org.glassfish.hk2</include>
<include>javax.servlet</include>
<include>javax.ws.rs </include>
<include>com.sun.xml.bind </include>
<include>com.sun.jersey </include>
<include>org.jvnet.mimepull </include>
<include>com.sun.codemodel </include>
<include>javax.xml.bind</include>
<include>org.jruby</include>
<include>ch.qos.logback </include>
<include>ch.qos.logback</include>
<include>org.eclipse.jdt</include>
<include>com.github.stephenc.high-scale-lib</include>
<include>org.jamon</include>
</includes>
<scope>test</scope>
</dependencySet>
<dependencySet>
<!-- Now, select which projects to include in this module-set. -->
<includes>
<include>org.apache.drill.exec:drill-jdbc:jar</include>
<include>org.apache.drill:drill-protocol:jar:rebuffed</include>
<include>org.apache.drill:drill-common:jar:rebuffed</include>
<include>org.apache.drill.exec:drill-java-exec:jar:rebuffed</include>
<include>org.apache.drill.contrib.storage-hive:drill-storage-hive-core</include>
<include>org.apache.drill.contrib.storage-hive:drill-hive-exec-shaded</include>
<include>org.apache.drill.contrib.data:tpch-sample-data:jar</include>
<include>org.apache.drill.contrib:drill-storage-hbase</include>
</includes>
<excludes>
<exclude>org.apache.drill.contrib.storage-hive:drill-storage-hive-core:jar:tests</exclude>
</excludes>
<outputDirectory>jars</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
<dependencySet>
<outputDirectory>jars/3rdparty/</outputDirectory>
<unpack>false</unpack>
<useProjectArtifact>false</useProjectArtifact>
<excludes>
<exclude>org.apache.zookeeper</exclude>
<exclude>org.apache.drill</exclude>
<exclude>org.apache.drill.exec</exclude>
<exclude>org.apache.drill.contrib</exclude>
<exclude>org.apache.drill.contrib.storage-hive</exclude>
<exclude>org.hsqldb:hsqldb</exclude>
<exclude>junit:junit:jar</exclude>
<exclude>com.googlecode.jmockit:jmockit:jar</exclude>
<!-- exclude or sqlline has problems -->
<exclude>hsqldb:hsqldb</exclude>
<!-- exclude or sqlline has problems -->
<exclude>org.glassfish.jersey.containers</exclude>
<exclude>org.glassfish.jersey.core</exclude>
<exclude>org.reflections</exclude>
<exclude>org.glassfish.hk2.external</exclude>
<exclude>org.mortbay.jetty</exclude>
<exclude>org.jboss.spec.javax.transaction</exclude>
<exclude>javax.activation</exclude>
<exclude>javax.annotation</exclude>
<exclude>org.glassfish.jersey.containers</exclude>
<exclude>org.glassfish.jersey.core</exclude>
<exclude>org.glassfish.jersey.ext</exclude>
<exclude>org.glassfish.jersey.media</exclude>
<exclude>org.glassfish.jersey.bundles.repackaged</exclude>
<exclude>org.glassfish.hk2</exclude>
<exclude>javax.servlet</exclude>
<exclude>javax.ws.rs </exclude>
<exclude>com.sun.xml.bind </exclude>
<exclude>com.sun.jersey </exclude>
<exclude>org.jvnet.mimepull </exclude>
<exclude>com.sun.codemodel </exclude>
<exclude>javax.xml.bind</exclude>
<exclude>org.jruby</exclude>
<exclude>ch.qos.logback </exclude>
<exclude>ch.qos.logback</exclude>
<exclude>org.eclipse.jdt</exclude>
<exclude>com.github.stephenc.high-scale-lib</exclude>
<exclude>org.jamon</exclude>
</excludes>
<scope>test</scope>
</dependencySet>
<dependencySet>
<outputDirectory>jars/ext</outputDirectory>
<unpack>false</unpack>
<useProjectArtifact>false</useProjectArtifact>
<includes>
<include>org.apache.zookeeper:zookeeper</include>
</includes>
<scope>runtime</scope>
</dependencySet>
<dependencySet>
<outputDirectory>jars/3rdparty</outputDirectory>
<unpack>false</unpack>
<useProjectArtifact>false</useProjectArtifact>
<includes>
<include>com.google.protobuf:protobuf-java:jar:2.5</include>
</includes>
<scope>test</scope>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<directory>../sample-data</directory>
<outputDirectory>sample-data</outputDirectory>
</fileSet>
</fileSets>
<files>
<file>
<source>../KEYS</source>
<outputDirectory />
</file>
<file>
<source>src/resources/LICENSE</source>
<outputDirectory />
</file>
<file>
<source>src/resources/README.md</source>
<outputDirectory />
</file>
<file>
<source>../NOTICE</source>
<outputDirectory />
</file>
<file>
<source>../DISCLAIMER</source>
<outputDirectory />
</file>
<file>
<source>../git.properties</source>
<outputDirectory />
</file>
<file>
<source>src/resources/runbit</source>
<fileMode>0755</fileMode>
<outputDirectory>bin</outputDirectory>
</file>
<file>
<source>src/resources/hadoop-excludes.txt</source>
<outputDirectory>bin</outputDirectory>
</file>
<file>
<source>src/resources/drillbit.sh</source>
<fileMode>0755</fileMode>
<outputDirectory>bin</outputDirectory>
</file>
<file>
<source>src/resources/drill-config.sh</source>
<fileMode>0755</fileMode>
<outputDirectory>bin</outputDirectory>
</file>
<file>
<source>src/resources/sqlline</source>
<fileMode>0755</fileMode>
<outputDirectory>bin</outputDirectory>
</file>
<file>
<source>src/resources/sqlline.bat</source>
<outputDirectory>bin</outputDirectory>
</file>
<file>
<source>src/resources/submit_plan</source>
<fileMode>0755</fileMode>
<outputDirectory>bin</outputDirectory>
</file>
<file>
<source>src/resources/drill_dumpcat</source>
<fileMode>0755</fileMode>
<outputDirectory>bin</outputDirectory>
</file>
<file>
<source>src/resources/drill-override.conf</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<source>src/resources/logback.xml</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<source>src/resources/drill-env.sh</source>
<fileMode>0755</fileMode>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<source>src/resources/drill-override-example.conf</source>
<outputDirectory>conf</outputDirectory>
</file>
</files>
</assembly>