blob: f79b2e754caf2dcb913a0b4e4607548c9a1e7883 [file]
<?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.
*/
-->
<!-- Filesets shared by different binary tars. -->
<component>
<fileSets>
<!--Copy over the site if built as docs dir -->
<fileSet>
<directory>${project.basedir}/../target/site</directory>
<outputDirectory>docs</outputDirectory>
<!--Don't include dev apidocs. They bloat the tgz by almost 50%.
See HBASE-20149-->
<excludes>
<exclude>**/*devapidocs/**</exclude>
</excludes>
</fileSet>
<!-- Include top level text files-->
<fileSet>
<directory>${project.basedir}/..</directory>
<outputDirectory>.</outputDirectory>
<includes>
<include>CHANGES.md</include>
<include>RELEASENOTES.md</include>
<include>README.txt</include>
</includes>
<fileMode>0644</fileMode>
</fileSet>
<!-- Include the top level conf directory -->
<fileSet>
<directory>${project.basedir}/../conf</directory>
<outputDirectory>conf</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<!-- Include top level bin directory -->
<!-- First copy all but the *.cmd files-->
<fileSet>
<directory>${project.basedir}/../bin</directory>
<outputDirectory>bin</outputDirectory>
<excludes>
<exclude>**/*.cmd</exclude>
</excludes>
<fileMode>0755</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<!--Now do the cmd files; we do not want these executable.-->
<fileSet>
<directory>${project.basedir}/../bin</directory>
<outputDirectory>bin</outputDirectory>
<includes>
<include>**/*.cmd</include>
</includes>
</fileSet>
<!-- Move the webapps to the webapp dir -->
<fileSet>
<directory>${project.basedir}/../hbase-server/target/hbase-webapps</directory>
<outputDirectory>hbase-webapps</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>${project.basedir}/../hbase-thrift/target/hbase-webapps</directory>
<outputDirectory>hbase-webapps/</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>${project.basedir}/../hbase-rest/target/hbase-webapps</directory>
<outputDirectory>hbase-webapps/</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<!-- Include native libraries -->
<fileSet>
<directory>${project.basedir}/../hbase-server/target/native</directory>
<outputDirectory>lib/native</outputDirectory>
<fileMode>0755</fileMode>
<directoryMode>0755</directoryMode>
<includes>
<include>*.so</include>
<include>*.dylib</include>
</includes>
</fileSet>
<!-- includes for native client -->
<fileSet>
<directory>${project.basedir}/../hbase-common/target/generated-sources/native</directory>
<outputDirectory>include</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
<includes>
<include>**/*.h</include>
</includes>
</fileSet>
</fileSets>
</component>