|
| 1 | +<!-- |
| 2 | + Licensed to the Apache Software Foundation (ASF) under one or more |
| 3 | + contributor license agreements. See the NOTICE file distributed with |
| 4 | + this work for additional information regarding copyright ownership. |
| 5 | + The ASF licenses this file to You under the Apache License, Version 2.0 |
| 6 | + (the "License"); you may not use this file except in compliance with |
| 7 | + the License. You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + Unless required by applicable law or agreed to in writing, software |
| 12 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + See the License for the specific language governing permissions and |
| 15 | + limitations under the License. |
| 16 | +--> |
| 17 | +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" |
| 18 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> |
| 20 | + <id>hadoop-tools</id> |
| 21 | + <formats> |
| 22 | + <format>dir</format> |
| 23 | + </formats> |
| 24 | + <includeBaseDirectory>false</includeBaseDirectory> |
| 25 | + <fileSets> |
| 26 | + <fileSet> |
| 27 | + <directory>../hadoop-pipes/src/main/native/pipes/api/hadoop</directory> |
| 28 | + <includes> |
| 29 | + <include>*.hh</include> |
| 30 | + </includes> |
| 31 | + <outputDirectory>/include</outputDirectory> |
| 32 | + </fileSet> |
| 33 | + <fileSet> |
| 34 | + <directory>../hadoop-pipes/src/main/native/utils/api/hadoop</directory> |
| 35 | + <includes> |
| 36 | + <include>*.hh</include> |
| 37 | + </includes> |
| 38 | + <outputDirectory>/include</outputDirectory> |
| 39 | + </fileSet> |
| 40 | + <fileSet> |
| 41 | + <directory>../hadoop-pipes/target/native</directory> |
| 42 | + <includes> |
| 43 | + <include>*.a</include> |
| 44 | + </includes> |
| 45 | + <outputDirectory>lib/native</outputDirectory> |
| 46 | + </fileSet> |
| 47 | + </fileSets> |
| 48 | + <dependencySets> |
| 49 | + <dependencySet> |
| 50 | + <outputDirectory>/share/hadoop/${hadoop.component}/lib</outputDirectory> |
| 51 | + <unpack>false</unpack> |
| 52 | + <scope>runtime</scope> |
| 53 | + <useProjectArtifact>false</useProjectArtifact> |
| 54 | + <!-- Exclude hadoop artifacts. They will be found via HADOOP* env --> |
| 55 | + <excludes> |
| 56 | + <exclude>org.apache.hadoop:hadoop-common</exclude> |
| 57 | + <exclude>org.apache.hadoop:hadoop-hdfs</exclude> |
| 58 | + <exclude>org.apache.hadoop:hadoop-mapreduce</exclude> |
| 59 | + <!-- pipes is native stuff, this just keeps pom from being package--> |
| 60 | + <exclude>org.apache.hadoop:hadoop-pipes</exclude> |
| 61 | + <!-- use slf4j from common to avoid multiple binding warnings --> |
| 62 | + <exclude>org.slf4j:slf4j-api</exclude> |
| 63 | + <exclude>org.slf4j:slf4j-log4j12</exclude> |
| 64 | + </excludes> |
| 65 | + </dependencySet> |
| 66 | + </dependencySets> |
| 67 | +</assembly> |
0 commit comments