4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
22 <!-- Filesets shared by different binary tars. -->
25 <!--Copy over the site if built as docs dir -->
27 <directory>${project.basedir}/../target/site</directory>
28 <outputDirectory>docs</outputDirectory>
29 <!--Don't include dev apidocs. They bloat the tgz by almost 50%.
32 <exclude>**/*devapidocs/**</exclude>
35 <!-- Include top level text files-->
37 <directory>${project.basedir}/..</directory>
38 <outputDirectory>.</outputDirectory>
40 <include>CHANGES.md</include>
41 <include>RELEASENOTES.md</include>
42 <include>README.txt</include>
44 <fileMode>0644</fileMode>
46 <!-- Include the top level conf directory -->
48 <directory>${project.basedir}/../conf</directory>
49 <outputDirectory>conf</outputDirectory>
50 <fileMode>0644</fileMode>
51 <directoryMode>0755</directoryMode>
53 <!-- Include top level bin directory -->
54 <!-- First copy all but the *.cmd files-->
56 <directory>${project.basedir}/../bin</directory>
57 <outputDirectory>bin</outputDirectory>
59 <exclude>**/*.cmd</exclude>
61 <fileMode>0755</fileMode>
62 <directoryMode>0755</directoryMode>
64 <!--Now do the cmd files; we do not want these executable.-->
66 <directory>${project.basedir}/../bin</directory>
67 <outputDirectory>bin</outputDirectory>
69 <include>**/*.cmd</include>
72 <!-- Move the webapps to the webapp dir -->
74 <directory>${project.basedir}/../hbase-server/target/hbase-webapps</directory>
75 <outputDirectory>hbase-webapps</outputDirectory>
76 <fileMode>0644</fileMode>
77 <directoryMode>0755</directoryMode>
80 <directory>${project.basedir}/../hbase-thrift/target/hbase-webapps</directory>
81 <outputDirectory>hbase-webapps/</outputDirectory>
82 <fileMode>0644</fileMode>
83 <directoryMode>0755</directoryMode>
86 <directory>${project.basedir}/../hbase-rest/target/hbase-webapps</directory>
87 <outputDirectory>hbase-webapps/</outputDirectory>
88 <fileMode>0644</fileMode>
89 <directoryMode>0755</directoryMode>
91 <!-- Include native libraries -->
93 <directory>${project.basedir}/../hbase-server/target/native</directory>
94 <outputDirectory>lib/native</outputDirectory>
95 <fileMode>0755</fileMode>
96 <directoryMode>0755</directoryMode>
98 <include>*.so</include>
99 <include>*.dylib</include>
102 <!-- includes for native client -->
104 <directory>${project.basedir}/../hbase-common/target/generated-sources/native</directory>
105 <outputDirectory>include</outputDirectory>
106 <fileMode>0644</fileMode>
107 <directoryMode>0755</directoryMode>
109 <include>**/*.h</include>
112 <!-- This is only necessary until maven fixes the intra-project dependency bug
113 in maven 3.0. Until then, we have to include the test jars for sub-projects. When
114 fixed, the below dependencySet stuff is sufficient for pulling in the test jars as
115 well, as long as they are added as dependencies in this project. Right now, we only
116 have 1 submodule to accumulate, but we can copy/paste as necessary until maven is
119 <directory>${project.basedir}/../hbase-server/target/</directory>
120 <outputDirectory>lib</outputDirectory>
122 <include>${server.test.jar}</include>
124 <fileMode>0644</fileMode>
127 <directory>${project.basedir}/../hbase-it/target/</directory>
128 <outputDirectory>lib</outputDirectory>
130 <include>${it.test.jar}</include>
132 <fileMode>0644</fileMode>
135 <directory>${project.basedir}/../hbase-annotations/target/</directory>
136 <outputDirectory>lib</outputDirectory>
138 <include>${annotations.test.jar}</include>
140 <fileMode>0644</fileMode>
143 <directory>${project.basedir}/../hbase-common/target/</directory>
144 <outputDirectory>lib</outputDirectory>
146 <include>${common.test.jar}</include>
148 <fileMode>0644</fileMode>
151 <directory>${project.basedir}/../hbase-mapreduce/target/</directory>
152 <outputDirectory>lib</outputDirectory>
154 <include>${mapreduce.test.jar}</include>
156 <fileMode>0644</fileMode>
159 <directory>${project.basedir}/../hbase-asyncfs/target/</directory>
160 <outputDirectory>lib</outputDirectory>
162 <include>${asyncfs.test.jar}</include>
164 <fileMode>0644</fileMode>
167 <directory>${project.basedir}/../hbase-zookeeper/target/</directory>
168 <outputDirectory>lib</outputDirectory>
170 <include>${zookeeper.test.jar}</include>
172 <fileMode>0644</fileMode>
175 <directory>${project.basedir}/../hbase-procedure/target/</directory>
176 <outputDirectory>lib</outputDirectory>
178 <include>${procedure.test.jar}</include>
180 <fileMode>0644</fileMode>