HBASE-20615 emphasize shaded artifacts in client tarball.
[hbase.git] / hbase-assembly / src / main / assembly / components.xml
blob2eb16e76497cb3d85adaf97a6837067de09041ed
1 <?xml version="1.0"?>
2 <!--
3 /**
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
11  *
12  *     http://www.apache.org/licenses/LICENSE-2.0
13  *
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.
19  */
20 -->
22 <!-- Filesets shared by different binary tars. -->
23 <component>
24   <fileSets>
25     <!--Copy over the site if built as docs dir -->
26     <fileSet>
27       <directory>${project.basedir}/../target/site</directory>
28       <outputDirectory>docs</outputDirectory>
29       <!--Don't include dev apidocs. They bloat the tgz by almost 50%.
30            See HBASE-20149-->
31       <excludes>
32         <exclude>**/*devapidocs/**</exclude>
33       </excludes>
34     </fileSet>
35     <!-- Include top level text files-->
36     <fileSet>
37       <directory>${project.basedir}/..</directory>
38       <outputDirectory>.</outputDirectory>
39       <includes>
40         <include>CHANGES.md</include>
41         <include>RELEASENOTES.md</include>
42         <include>README.txt</include>
43       </includes>
44       <fileMode>0644</fileMode>
45     </fileSet>
46     <!-- Include the top level conf directory -->
47     <fileSet>
48       <directory>${project.basedir}/../conf</directory>
49       <outputDirectory>conf</outputDirectory>
50       <fileMode>0644</fileMode>
51       <directoryMode>0755</directoryMode>
52     </fileSet>
53     <!-- Include top level bin directory -->
54     <!-- First copy all but the *.cmd files-->
55     <fileSet>
56       <directory>${project.basedir}/../bin</directory>
57       <outputDirectory>bin</outputDirectory>
58       <excludes>
59         <exclude>**/*.cmd</exclude>
60       </excludes>
61       <fileMode>0755</fileMode>
62       <directoryMode>0755</directoryMode>
63     </fileSet>
64     <!--Now do the cmd files; we do not want these executable.-->
65     <fileSet>
66       <directory>${project.basedir}/../bin</directory>
67       <outputDirectory>bin</outputDirectory>
68       <includes>
69         <include>**/*.cmd</include>
70       </includes>
71     </fileSet>
72     <!-- Move the ruby code over -->
73     <fileSet>
74       <directory>${project.basedir}/../hbase-shell/src/main/ruby</directory>
75       <outputDirectory>lib/ruby</outputDirectory>
76       <fileMode>0644</fileMode>
77       <directoryMode>0755</directoryMode>
78     </fileSet>
79     <!-- Move the webapps to the webapp dir -->
80     <fileSet>
81       <directory>${project.basedir}/../hbase-server/target/hbase-webapps</directory>
82       <outputDirectory>hbase-webapps</outputDirectory>
83       <fileMode>0644</fileMode>
84       <directoryMode>0755</directoryMode>
85     </fileSet>
86     <fileSet>
87       <directory>${project.basedir}/../hbase-thrift/target/hbase-webapps</directory>
88       <outputDirectory>hbase-webapps/</outputDirectory>
89       <fileMode>0644</fileMode>
90       <directoryMode>0755</directoryMode>
91     </fileSet>
92     <fileSet>
93       <directory>${project.basedir}/../hbase-rest/target/hbase-webapps</directory>
94       <outputDirectory>hbase-webapps/</outputDirectory>
95       <fileMode>0644</fileMode>
96       <directoryMode>0755</directoryMode>
97     </fileSet>
98     <!-- Include native libraries -->
99     <fileSet>
100       <directory>${project.basedir}/../hbase-server/target/native</directory>
101       <outputDirectory>lib/native</outputDirectory>
102       <fileMode>0755</fileMode>
103       <directoryMode>0755</directoryMode>
104       <includes>
105         <include>*.so</include>
106         <include>*.dylib</include>
107       </includes>
108     </fileSet>
109     <!-- This is only necessary until maven fixes the intra-project dependency bug
110       in maven 3.0. Until then, we have to include the test jars for sub-projects. When
111       fixed, the below dependencySet stuff is sufficient for pulling in the test jars as
112       well, as long as they are added as dependencies in this project. Right now, we only
113       have 1 submodule to accumulate, but we can copy/paste as necessary until maven is
114       fixed. -->
115     <fileSet>
116       <directory>${project.basedir}/../hbase-server/target/</directory>
117       <outputDirectory>lib</outputDirectory>
118       <includes>
119         <include>${server.test.jar}</include>
120       </includes>
121       <fileMode>0644</fileMode>
122     </fileSet>
123     <fileSet>
124       <directory>${project.basedir}/../hbase-it/target/</directory>
125       <outputDirectory>lib</outputDirectory>
126       <includes>
127         <include>${it.test.jar}</include>
128       </includes>
129       <fileMode>0644</fileMode>
130     </fileSet>
131     <fileSet>
132       <directory>${project.basedir}/../hbase-annotations/target/</directory>
133       <outputDirectory>lib</outputDirectory>
134       <includes>
135         <include>${annotations.test.jar}</include>
136       </includes>
137       <fileMode>0644</fileMode>
138     </fileSet>
139     <fileSet>
140       <directory>${project.basedir}/../hbase-common/target/</directory>
141       <outputDirectory>lib</outputDirectory>
142       <includes>
143         <include>${common.test.jar}</include>
144       </includes>
145       <fileMode>0644</fileMode>
146     </fileSet>
147     <fileSet>
148       <directory>${project.basedir}/../hbase-rsgroup/target/</directory>
149       <outputDirectory>lib</outputDirectory>
150       <includes>
151         <include>${rsgroup.test.jar}</include>
152       </includes>
153       <fileMode>0644</fileMode>
154     </fileSet>
155     <fileSet>
156       <directory>${project.basedir}/../hbase-mapreduce/target/</directory>
157       <outputDirectory>lib</outputDirectory>
158       <includes>
159         <include>${mapreduce.test.jar}</include>
160       </includes>
161       <fileMode>0644</fileMode>
162     </fileSet>
163   </fileSets>
164 </component>