hadoop-hdfs-nfs-dist.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <assembly>
  14. <id>hadoop-hdfs-nfs-dist</id>
  15. <formats>
  16. <format>dir</format>
  17. </formats>
  18. <includeBaseDirectory>false</includeBaseDirectory>
  19. <fileSets>
  20. <fileSet>
  21. <directory>target</directory>
  22. <outputDirectory>/share/hadoop/hdfs</outputDirectory>
  23. <includes>
  24. <include>${project.artifactId}-${project.version}.jar</include>
  25. </includes>
  26. </fileSet>
  27. </fileSets>
  28. <dependencySets>
  29. <dependencySet>
  30. <useProjectArtifact>false</useProjectArtifact>
  31. <outputDirectory>/share/hadoop/hdfs/lib</outputDirectory>
  32. <!-- Exclude hadoop artifacts. They will be found via HADOOP* env -->
  33. <excludes>
  34. <exclude>org.apache.hadoop:hadoop-common</exclude>
  35. <exclude>org.apache.hadoop:hadoop-hdfs</exclude>
  36. <!-- use slf4j from common to avoid multiple binding warnings -->
  37. <exclude>org.slf4j:slf4j-api</exclude>
  38. <exclude>org.slf4j:slf4j-log4j12</exclude>
  39. <exclude>org.hsqldb:hsqldb</exclude>
  40. </excludes>
  41. </dependencySet>
  42. </dependencySets>
  43. </assembly>