2011-08-02 12:37:57 -04: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.
|
|
|
|
-->
|
|
|
|
<assembly>
|
|
|
|
<id>hadoop-tar</id>
|
|
|
|
<formats>
|
|
|
|
<format>dir</format>
|
|
|
|
</formats>
|
|
|
|
<includeBaseDirectory>false</includeBaseDirectory>
|
|
|
|
<fileSets>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}</directory>
|
|
|
|
<outputDirectory>/</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>*.txt</include>
|
|
|
|
</includes>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}/src/main/bin</directory>
|
|
|
|
<outputDirectory>/bin</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>*</include>
|
|
|
|
</includes>
|
|
|
|
<fileMode>0755</fileMode>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}/src/main/bin</directory>
|
|
|
|
<outputDirectory>/libexec</outputDirectory>
|
|
|
|
<includes>
|
2011-08-19 13:36:23 -04:00
|
|
|
<include>*-config.sh</include>
|
2011-08-02 12:37:57 -04:00
|
|
|
</includes>
|
|
|
|
<fileMode>0755</fileMode>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}/src/main/conf</directory>
|
|
|
|
<outputDirectory>/conf</outputDirectory>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${basedir}/src/main/webapps</directory>
|
|
|
|
<outputDirectory>/webapps</outputDirectory>
|
2011-08-19 13:36:23 -04:00
|
|
|
<excludes>
|
|
|
|
<exclude>proto-*-web.xml</exclude>
|
|
|
|
</excludes>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}/webapps</directory>
|
|
|
|
<outputDirectory>/webapps</outputDirectory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>proto-*-web.xml</exclude>
|
|
|
|
</excludes>
|
2011-08-02 12:37:57 -04:00
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}/site</directory>
|
|
|
|
<outputDirectory>/docs</outputDirectory>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
<outputDirectory>/</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>${project.artifactId}-${project.version}.jar</include>
|
|
|
|
<include>${project.artifactId}-${project.version}-tests.jar</include>
|
|
|
|
</includes>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}/src</directory>
|
|
|
|
<outputDirectory>/src</outputDirectory>
|
|
|
|
</fileSet>
|
|
|
|
</fileSets>
|
|
|
|
<dependencySets>
|
|
|
|
<dependencySet>
|
|
|
|
<outputDirectory>/lib</outputDirectory>
|
|
|
|
<unpack>false</unpack>
|
2011-08-19 13:36:23 -04:00
|
|
|
<scope>runtime</scope>
|
2011-08-02 12:37:57 -04:00
|
|
|
<useProjectArtifact>false</useProjectArtifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org.apache.ant:*:jar</exclude>
|
2011-08-19 13:36:23 -04:00
|
|
|
<exclude>org.apache.hadoop:hadoop-*:*:*:*</exclude>
|
2011-08-02 12:37:57 -04:00
|
|
|
<exclude>jdiff:jdiff:jar</exclude>
|
|
|
|
</excludes>
|
|
|
|
</dependencySet>
|
|
|
|
</dependencySets>
|
|
|
|
</assembly>
|