2012-05-26 05:56:04 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
|
|
|
|
<!--
|
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--This 'all' id is not appended to the produced bundle because
|
|
|
|
we do this: http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#required-classifiers -->
|
|
|
|
<id>all</id>
|
|
|
|
<formats>
|
2012-06-03 21:59:50 +00:00
|
|
|
<format>tar.gz</format>
|
2012-05-26 05:56:04 +00:00
|
|
|
</formats>
|
|
|
|
<fileSets>
|
2012-06-03 21:59:50 +00:00
|
|
|
<!--Copy over the site if built as docs dir-->
|
|
|
|
<fileSet>
|
|
|
|
<directory>target/site</directory>
|
|
|
|
<outputDirectory>docs</outputDirectory>
|
|
|
|
</fileSet>
|
|
|
|
<!-- Include top level text files -->
|
2012-05-26 05:56:04 +00:00
|
|
|
<fileSet>
|
|
|
|
<outputDirectory>/</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>*.txt</include>
|
|
|
|
<include>pom.xml</include>
|
|
|
|
</includes>
|
|
|
|
</fileSet>
|
|
|
|
<!-- Include the top level conf directory -->
|
|
|
|
<fileSet>
|
2012-06-03 21:59:50 +00:00
|
|
|
<directory>conf</directory>
|
2012-05-26 05:56:04 +00:00
|
|
|
<outputDirectory>conf</outputDirectory>
|
|
|
|
<fileMode>0644</fileMode>
|
|
|
|
<directoryMode>0755</directoryMode>
|
|
|
|
</fileSet>
|
|
|
|
<!-- Include top level bin directory -->
|
|
|
|
<fileSet>
|
2012-06-03 21:59:50 +00:00
|
|
|
<directory>bin</directory>
|
2012-05-26 05:56:04 +00:00
|
|
|
<outputDirectory>bin</outputDirectory>
|
|
|
|
<fileMode>0755</fileMode>
|
|
|
|
<directoryMode>0755</directoryMode>
|
|
|
|
</fileSet>
|
2012-06-03 21:59:50 +00:00
|
|
|
<fileSet>
|
|
|
|
<directory>conf</directory>
|
|
|
|
<outputDirectory>conf</outputDirectory>
|
|
|
|
<fileMode>0644</fileMode>
|
|
|
|
<directoryMode>0755</directoryMode>
|
|
|
|
</fileSet>
|
|
|
|
<!--Include top-level src. Module src done down below-->
|
|
|
|
<fileSet>
|
|
|
|
<directory>src</directory>
|
|
|
|
<outputDirectory>src</outputDirectory>
|
|
|
|
<fileMode>0644</fileMode>
|
|
|
|
<directoryMode>0755</directoryMode>
|
|
|
|
</fileSet>
|
|
|
|
<!-- Include dev-support directory -->
|
|
|
|
<fileSet>
|
|
|
|
<directory>dev-support</directory>
|
|
|
|
<outputDirectory>dev-support</outputDirectory>
|
|
|
|
<fileMode>0755</fileMode>
|
|
|
|
<directoryMode>0755</directoryMode>
|
|
|
|
</fileSet>
|
2012-05-26 05:56:04 +00:00
|
|
|
<!-- Move the ruby code over -->
|
|
|
|
<fileSet>
|
2012-06-03 21:59:50 +00:00
|
|
|
<directory>hbase-server/src/main/ruby</directory>
|
2012-05-26 05:56:04 +00:00
|
|
|
<outputDirectory>lib/ruby</outputDirectory>
|
|
|
|
<fileMode>0644</fileMode>
|
|
|
|
<directoryMode>0755</directoryMode>
|
|
|
|
</fileSet>
|
|
|
|
<!-- Move the webapps to the webapp dir -->
|
|
|
|
<fileSet>
|
2012-06-03 21:59:50 +00:00
|
|
|
<directory>hbase-server/target/hbase-webapps</directory>
|
2012-05-26 05:56:04 +00:00
|
|
|
<outputDirectory>hbase-webapps</outputDirectory>
|
|
|
|
<fileMode>0644</fileMode>
|
|
|
|
<directoryMode>0755</directoryMode>
|
2012-06-24 16:20:28 +00:00
|
|
|
</fileSet>
|
|
|
|
<!-- Include native libraries -->
|
|
|
|
<fileSet>
|
|
|
|
<directory>hbase-server/target/native</directory>
|
|
|
|
<outputDirectory>native</outputDirectory>
|
|
|
|
<fileMode>0755</fileMode>
|
|
|
|
<directoryMode>0755</directoryMode>
|
|
|
|
<includes>
|
|
|
|
<include>*.so</include>
|
|
|
|
</includes>
|
2012-05-26 05:56:04 +00:00
|
|
|
</fileSet>
|
|
|
|
<!-- This is only necessary until maven fixes the intra-project dependency bug
|
|
|
|
in maven 3.0. Until then, we have to include the test jars for sub-projects. When
|
|
|
|
fixed, the below dependencySet stuff is sufficient for pulling in the test jars as
|
|
|
|
well, as long as they are added as dependencies in this project. Right now, we only
|
|
|
|
have 1 submodule to accumulate, but we can copy/paste as necessary until maven is
|
|
|
|
fixed. -->
|
|
|
|
<fileSet>
|
|
|
|
<directory>${parent.basedir}/hbase-server/target/</directory>
|
2012-06-03 21:59:50 +00:00
|
|
|
<outputDirectory>lib</outputDirectory>
|
2012-05-26 05:56:04 +00:00
|
|
|
<includes>
|
|
|
|
<include>${server.test.jar}</include>
|
|
|
|
</includes>
|
|
|
|
<fileMode>0644</fileMode>
|
|
|
|
</fileSet>
|
|
|
|
</fileSets>
|
|
|
|
<moduleSets>
|
|
|
|
<moduleSet>
|
|
|
|
<!-- Enable access to all projects in the current multimodule build. Eclipse
|
|
|
|
says this is an error, but builds from the command line just fine. -->
|
|
|
|
<useAllReactorProjects>true</useAllReactorProjects>
|
|
|
|
<!-- This should work with more than 1 source module -->
|
|
|
|
<!-- Now, select which projects to include in this module-set. -->
|
|
|
|
<!-- Just add future modules here assuming the wildcare doesn't match -->
|
|
|
|
<includes>
|
2012-07-17 22:02:06 +00:00
|
|
|
<include>org.apache.hbase:hbase-common</include>
|
|
|
|
<include>org.apache.hbase:hbase-hadoop-compat</include>
|
|
|
|
<include>org.apache.hbase:hbase-hadoop2-compat</include>
|
|
|
|
<include>org.apache.hbase:hbase-server</include>
|
2012-05-26 05:56:04 +00:00
|
|
|
</includes>
|
|
|
|
<!-- Include all the sources in the top directory -->
|
|
|
|
<sources>
|
|
|
|
<fileSets>
|
|
|
|
<fileSet>
|
|
|
|
<excludes>
|
|
|
|
<exclude>target/</exclude>
|
|
|
|
<exclude>test/</exclude>
|
|
|
|
<exclude>.classpath</exclude>
|
|
|
|
<exclude>.project</exclude>
|
|
|
|
<exclude>.settings/</exclude>
|
|
|
|
</excludes>
|
|
|
|
</fileSet>
|
|
|
|
</fileSets>
|
|
|
|
</sources>
|
|
|
|
<!-- Binaries for the dependencies also go in the hbase-jars directory -->
|
|
|
|
<binaries>
|
2012-06-03 21:59:50 +00:00
|
|
|
<outputDirectory>lib</outputDirectory>
|
2012-05-26 05:56:04 +00:00
|
|
|
<unpack>false</unpack>
|
2012-06-03 21:59:50 +00:00
|
|
|
<dependencySets>
|
|
|
|
<dependencySet/>
|
|
|
|
</dependencySets>
|
2012-05-26 05:56:04 +00:00
|
|
|
</binaries>
|
|
|
|
</moduleSet>
|
|
|
|
</moduleSets>
|
|
|
|
</assembly>
|