2011-08-02 16:37:57 +00:00
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
2015-06-27 15:11:20 +00:00
|
|
|
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
|
2011-08-22 17:40:58 +00:00
|
|
|
<id>hadoop-distro</id>
|
2011-08-02 16:37:57 +00:00
|
|
|
<formats>
|
|
|
|
<format>dir</format>
|
|
|
|
</formats>
|
|
|
|
<includeBaseDirectory>false</includeBaseDirectory>
|
|
|
|
<fileSets>
|
|
|
|
<fileSet>
|
2011-08-22 17:19:46 +00:00
|
|
|
<directory>${basedir}/src/main/bin</directory>
|
|
|
|
<outputDirectory>/bin</outputDirectory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>*.sh</exclude>
|
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
|
|
|
<exclude>*-config.cmd</exclude>
|
|
|
|
<exclude>start-*.cmd</exclude>
|
|
|
|
<exclude>stop-*.cmd</exclude>
|
2014-08-19 12:11:17 +00:00
|
|
|
<exclude>hadoop-layout.sh.example</exclude>
|
2011-08-22 17:19:46 +00:00
|
|
|
</excludes>
|
|
|
|
<fileMode>0755</fileMode>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}/src/main/conf</directory>
|
|
|
|
<outputDirectory>/etc/hadoop</outputDirectory>
|
2011-08-02 16:37:57 +00:00
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}/src/main/bin</directory>
|
2011-08-22 17:19:46 +00:00
|
|
|
<outputDirectory>/libexec</outputDirectory>
|
2011-08-02 16:37:57 +00:00
|
|
|
<includes>
|
2011-08-22 17:19:46 +00:00
|
|
|
<include>*-config.sh</include>
|
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
|
|
|
<include>*-config.cmd</include>
|
2014-08-19 12:11:17 +00:00
|
|
|
<include>*-functions.sh</include>
|
|
|
|
<include>hadoop-layout.sh.example</include>
|
2011-08-02 16:37:57 +00:00
|
|
|
</includes>
|
|
|
|
<fileMode>0755</fileMode>
|
|
|
|
</fileSet>
|
2015-02-06 21:09:01 +00:00
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}/src/main/shellprofile.d</directory>
|
|
|
|
<outputDirectory>/libexec/shellprofile.d</outputDirectory>
|
|
|
|
<fileMode>0755</fileMode>
|
|
|
|
</fileSet>
|
2011-08-02 16:37:57 +00:00
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}/src/main/bin</directory>
|
2011-08-22 17:19:46 +00:00
|
|
|
<outputDirectory>/sbin</outputDirectory>
|
2011-08-02 16:37:57 +00:00
|
|
|
<includes>
|
2011-08-22 17:19:46 +00:00
|
|
|
<include>*.sh</include>
|
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
|
|
|
<include>*.cmd</include>
|
2011-08-02 16:37:57 +00:00
|
|
|
</includes>
|
2011-08-22 17:19:46 +00:00
|
|
|
<excludes>
|
|
|
|
<exclude>hadoop-config.sh</exclude>
|
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
|
|
|
<exclude>hadoop.cmd</exclude>
|
|
|
|
<exclude>hdfs.cmd</exclude>
|
|
|
|
<exclude>hadoop-config.cmd</exclude>
|
2014-08-19 12:11:17 +00:00
|
|
|
<exclude>hadoop-functions.sh</exclude>
|
|
|
|
<exclude>hadoop-layout.sh.example</exclude>
|
|
|
|
<exclude>hdfs-config.cmd</exclude>
|
|
|
|
<exclude>hdfs-config.sh</exclude>
|
2011-08-22 17:19:46 +00:00
|
|
|
</excludes>
|
2011-08-02 16:37:57 +00:00
|
|
|
<fileMode>0755</fileMode>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
2011-08-22 17:19:46 +00:00
|
|
|
<directory>${basedir}/src/main/packages</directory>
|
|
|
|
<outputDirectory>/sbin</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>*.sh</include>
|
|
|
|
</includes>
|
|
|
|
<fileMode>0755</fileMode>
|
2011-08-02 16:37:57 +00:00
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
2011-08-22 17:19:46 +00:00
|
|
|
<directory>${basedir}</directory>
|
|
|
|
<outputDirectory>/share/doc/hadoop/${hadoop.component}</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>*.txt</include>
|
|
|
|
</includes>
|
2011-08-19 17:36:23 +00:00
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}/webapps</directory>
|
2011-08-22 17:19:46 +00:00
|
|
|
<outputDirectory>/share/hadoop/${hadoop.component}/webapps</outputDirectory>
|
2011-08-02 16:37:57 +00:00
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
2011-08-22 17:19:46 +00:00
|
|
|
<directory>${basedir}/src/main/conf</directory>
|
|
|
|
<outputDirectory>/share/hadoop/${hadoop.component}/templates</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>*-site.xml</include>
|
|
|
|
</includes>
|
2011-08-02 16:37:57 +00:00
|
|
|
</fileSet>
|
2011-09-13 00:31:29 +00:00
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}/src/main/packages/templates/conf</directory>
|
|
|
|
<outputDirectory>/share/hadoop/${hadoop.component}/templates/conf</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>*</include>
|
|
|
|
</includes>
|
|
|
|
</fileSet>
|
2011-08-02 16:37:57 +00:00
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}</directory>
|
2011-08-22 17:19:46 +00:00
|
|
|
<outputDirectory>/share/hadoop/${hadoop.component}</outputDirectory>
|
2011-08-02 16:37:57 +00:00
|
|
|
<includes>
|
|
|
|
<include>${project.artifactId}-${project.version}.jar</include>
|
|
|
|
<include>${project.artifactId}-${project.version}-tests.jar</include>
|
|
|
|
</includes>
|
2012-01-06 00:02:04 +00:00
|
|
|
<excludes>
|
|
|
|
<exclude>hadoop-tools-dist-*.jar</exclude>
|
|
|
|
</excludes>
|
2011-08-02 16:37:57 +00:00
|
|
|
</fileSet>
|
2013-02-05 16:02:52 +00:00
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
<outputDirectory>/share/hadoop/${hadoop.component}/sources</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>${project.artifactId}-${project.version}-sources.jar</include>
|
|
|
|
<include>${project.artifactId}-${project.version}-test-sources.jar</include>
|
|
|
|
</includes>
|
|
|
|
</fileSet>
|
2011-08-22 17:19:46 +00:00
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}/dev-support/jdiff</directory>
|
|
|
|
<outputDirectory>/share/hadoop/${hadoop.component}/jdiff</outputDirectory>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}/site/jdiff/xml</directory>
|
|
|
|
<outputDirectory>/share/hadoop/${hadoop.component}/jdiff</outputDirectory>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}/site</directory>
|
|
|
|
<outputDirectory>/share/doc/hadoop/${hadoop.component}</outputDirectory>
|
|
|
|
</fileSet>
|
2011-12-01 01:19:35 +00:00
|
|
|
<fileSet>
|
2012-07-25 21:21:14 +00:00
|
|
|
<directory>${basedir}/src/main/native/libhdfs</directory>
|
2011-12-01 01:19:35 +00:00
|
|
|
<includes>
|
2012-07-25 21:21:14 +00:00
|
|
|
<include>hdfs.h</include>
|
2011-12-01 01:19:35 +00:00
|
|
|
</includes>
|
|
|
|
<outputDirectory>/include</outputDirectory>
|
|
|
|
</fileSet>
|
2011-08-02 16:37:57 +00:00
|
|
|
</fileSets>
|
|
|
|
<dependencySets>
|
|
|
|
<dependencySet>
|
2011-08-22 17:19:46 +00:00
|
|
|
<outputDirectory>/share/hadoop/${hadoop.component}/lib</outputDirectory>
|
2011-08-02 16:37:57 +00:00
|
|
|
<unpack>false</unpack>
|
2011-08-19 17:36:23 +00:00
|
|
|
<scope>runtime</scope>
|
2011-08-02 16:37:57 +00:00
|
|
|
<useProjectArtifact>false</useProjectArtifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org.apache.ant:*:jar</exclude>
|
|
|
|
<exclude>jdiff:jdiff:jar</exclude>
|
|
|
|
</excludes>
|
|
|
|
</dependencySet>
|
|
|
|
</dependencySets>
|
|
|
|
</assembly>
|