102 lines
3.3 KiB
XML
102 lines
3.3 KiB
XML
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
|
|
<id>all</id>
|
|
<formats>
|
|
<format>tar.gz</format>
|
|
</formats>
|
|
<includeBaseDirectory>true</includeBaseDirectory>
|
|
<!-- TODO: this layout is wrong. We need module specific bin files in module specific dirs -->
|
|
<fileSets>
|
|
<fileSet>
|
|
<directory>hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/classes/bin</directory>
|
|
<outputDirectory>bin</outputDirectory>
|
|
<includes>
|
|
<include>container-executor</include>
|
|
</includes>
|
|
<fileMode>0755</fileMode>
|
|
</fileSet>
|
|
<fileSet>
|
|
<directory>hadoop-yarn/bin</directory>
|
|
<outputDirectory>bin</outputDirectory>
|
|
<includes>
|
|
<include>*</include>
|
|
</includes>
|
|
<fileMode>0755</fileMode>
|
|
</fileSet>
|
|
<fileSet>
|
|
<directory>bin</directory>
|
|
<outputDirectory>bin</outputDirectory>
|
|
<includes>
|
|
<include>*</include>
|
|
</includes>
|
|
<fileMode>0755</fileMode>
|
|
</fileSet>
|
|
<fileSet>
|
|
<directory>hadoop-yarn/conf</directory>
|
|
<outputDirectory>conf</outputDirectory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
</fileSet>
|
|
<fileSet>
|
|
<outputDirectory>sources</outputDirectory>
|
|
<excludes>
|
|
<exclude>**/*.jar</exclude>
|
|
<exclude>**/target/**</exclude>
|
|
<!-- scripts to include later for setting fileMode -->
|
|
<exclude>**/bin/*</exclude>
|
|
<exclude>**/scripts/*</exclude>
|
|
<!-- images that we don't need (and cause problems for our tools) -->
|
|
<exclude>**/dt-*/images/**</exclude>
|
|
<!-- until the code that does this is fixed -->
|
|
<exclude>**/file:/**</exclude>
|
|
<exclude>**/SecurityAuth.audit*</exclude>
|
|
</excludes>
|
|
<includes>
|
|
<include>assembly/**</include>
|
|
<include>pom.xml</include>
|
|
<include>build*.xml</include>
|
|
<include>ivy.xml</include>
|
|
<include>ivy/**</include>
|
|
<include>INSTALL</include>
|
|
<include>LICENSE.txt</include>
|
|
<include>mr-client/**</include>
|
|
<include>hadoop-yarn/**</include>
|
|
<include>src/**</include>
|
|
</includes>
|
|
</fileSet>
|
|
<fileSet>
|
|
<outputDirectory>sources</outputDirectory>
|
|
<includes>
|
|
<include>**/bin/*</include>
|
|
<include>**/scripts/*</include>
|
|
</includes>
|
|
<fileMode>0755</fileMode>
|
|
</fileSet>
|
|
</fileSets>
|
|
<moduleSets>
|
|
<moduleSet>
|
|
<excludes>
|
|
<exclude>org.apache.hadoop:hadoop-yarn-server-tests</exclude>
|
|
</excludes>
|
|
<binaries>
|
|
<outputDirectory>modules</outputDirectory>
|
|
<includeDependencies>false</includeDependencies>
|
|
<unpack>false</unpack>
|
|
</binaries>
|
|
</moduleSet>
|
|
</moduleSets>
|
|
<dependencySets>
|
|
<dependencySet>
|
|
<useProjectArtifact>false</useProjectArtifact>
|
|
<outputDirectory>/lib</outputDirectory>
|
|
<!-- Exclude hadoop artifacts. They will be found via HADOOP* env -->
|
|
<excludes>
|
|
<exclude>org.apache.hadoop:hadoop-common</exclude>
|
|
<exclude>org.apache.hadoop:hadoop-hdfs</exclude>
|
|
</excludes>
|
|
</dependencySet>
|
|
</dependencySets>
|
|
</assembly>
|