sink.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one
  4. ~ or more contributor license agreements. See the NOTICE file
  5. ~ distributed with this work for additional information
  6. ~ regarding copyright ownership. The ASF licenses this file
  7. ~ to you under the Apache License, Version 2.0 (the
  8. ~ "License"); you may not use this file except in compliance
  9. ~ with the License. You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing, software
  14. ~ distributed under the License is distributed on an "AS IS" BASIS,
  15. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. ~ See the License for the specific language governing permissions and
  17. ~ limitations under the License.
  18. -->
  19. <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
  20. <id>hadoop-sink</id>
  21. <formats>
  22. <format>dir</format>
  23. <format>tar.gz</format>
  24. </formats>
  25. <fileSets>
  26. <fileSet>
  27. <directory>${hadoop-sink.dir}/src/main/conf</directory>
  28. <outputDirectory>hadoop-sink/conf</outputDirectory>
  29. </fileSet>
  30. <fileSet>
  31. <directory>${flume-sink.dir}/src/main/conf</directory>
  32. <outputDirectory>hadoop-sink/conf</outputDirectory>
  33. </fileSet>
  34. <fileSet>
  35. <directory>${storm-sink.dir}/src/main/conf</directory>
  36. <outputDirectory>hadoop-sink/conf</outputDirectory>
  37. </fileSet>
  38. </fileSets>
  39. <files>
  40. <file>
  41. <source>${hadoop-sink.dir}/target/ambari-metrics-hadoop-sink-with-common-${project.version}.jar</source>
  42. <outputDirectory>hadoop-sink</outputDirectory>
  43. </file>
  44. <file>
  45. <source>${flume-sink.dir}/target/ambari-metrics-flume-sink-with-common-${project.version}.jar</source>
  46. <outputDirectory>hadoop-sink</outputDirectory>
  47. </file>
  48. <file>
  49. <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
  50. <outputDirectory>hadoop-sink</outputDirectory>
  51. </file>
  52. </files>
  53. </assembly>