druid/distribution/src/assembly/assembly.xml

142 lines
5.0 KiB
XML

<?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/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>bin</id>
<formats>
<format>tar.gz</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.build.directory}/extensions</directory>
<includes>
<include>*/*</include>
</includes>
<outputDirectory>extensions</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.build.directory}/hadoop-dependencies</directory>
<includes>
<include>*/*/*</include>
</includes>
<outputDirectory>hadoop-dependencies</outputDirectory>
</fileSet>
<fileSet>
<directory>../examples/conf</directory>
<includes>
<include>*</include>
<include>*/*</include>
<include>*/*/*</include>
<include>*/*/*/*</include>
<include>*/*/*/*/*</include>
</includes>
<outputDirectory>conf</outputDirectory>
</fileSet>
<fileSet>
<directory>../examples/quickstart/</directory>
<includes>
<include>*</include>
</includes>
<outputDirectory>quickstart</outputDirectory>
</fileSet>
<fileSet>
<directory>../examples/quickstart/tutorial</directory>
<includes>
<include>*</include>
</includes>
<outputDirectory>quickstart/tutorial</outputDirectory>
</fileSet>
<fileSet>
<directory>../examples/quickstart/tutorial/hadoop</directory>
<includes>
<include>*</include>
</includes>
<outputDirectory>quickstart/tutorial/hadoop</outputDirectory>
</fileSet>
<fileSet>
<directory>../examples/quickstart/tutorial/hadoop/docker</directory>
<includes>
<include>*</include>
</includes>
<outputDirectory>quickstart/tutorial/hadoop/docker</outputDirectory>
</fileSet>
<fileSet>
<directory>../examples/quickstart/protobuf</directory>
<includes>
<include>*</include>
</includes>
<outputDirectory>quickstart/protobuf</outputDirectory>
</fileSet>
<fileSet>
<directory>../examples/bin</directory>
<includes>
<include>*</include>
</includes>
<fileMode>744</fileMode>
<outputDirectory>bin</outputDirectory>
</fileSet>
<fileSet>
<directory>../</directory>
<includes>
<include>licenses/**</include>
</includes>
</fileSet>
</fileSets>
<files>
<file>
<source>../LICENSE.BINARY</source>
<outputDirectory>.</outputDirectory>
<destName>LICENSE</destName>
<lineEnding>keep</lineEnding>
</file>
<file>
<source>../NOTICE.BINARY</source>
<outputDirectory>.</outputDirectory>
<destName>NOTICE</destName>
<lineEnding>keep</lineEnding>
</file>
<file>
<source>../README.BINARY</source>
<outputDirectory>.</outputDirectory>
<destName>README</destName>
<lineEnding>keep</lineEnding>
</file>
</files>
<dependencySets>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<useTransitiveDependencies>true</useTransitiveDependencies>
<outputDirectory>lib</outputDirectory>
<excludes>
<exclude>org.apache.druid:extensions-distribution</exclude>
</excludes>
</dependencySet>
<dependencySet>
<unpack>true</unpack>
<includes>
<include>org.apache.druid:extensions-distribution</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>