blob: 86758ec248188014a7d5fc32f7c38d58e5e8c001 [file] [log] [blame]
<!--
~ /*
~ * 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
~ * <p/>
~ * http://www.apache.org/licenses/LICENSE-2.0
~ * <p/>
~ * 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 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>bin</id>
<formats>
<format>dir</format>
<format>tar.gz</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.basedir}/src/main/bin</directory>
<outputDirectory>bin/</outputDirectory>
<includes>
<include>*.sh</include>
</includes>
<fileMode>0755</fileMode>
<directoryMode>0755</directoryMode>
<lineEnding>unix</lineEnding>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/bin</directory>
<outputDirectory>bin/</outputDirectory>
<includes>
<include>*</include>
</includes>
<lineEnding>unix</lineEnding>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/conf</directory>
<outputDirectory>conf/</outputDirectory>
<includes>
<include>*</include>
</includes>
<lineEnding>unix</lineEnding>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/doc</directory>
<outputDirectory>doc/</outputDirectory>
<includes>
<include>*</include>
</includes>
<lineEnding>unix</lineEnding>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main</directory>
<outputDirectory>.</outputDirectory>
<includes>
<include>README.md</include>
</includes>
<lineEnding>unix</lineEnding>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/lib</directory>
<outputDirectory>lib</outputDirectory>
<includes>
<include>*.sh</include>
</includes>
<fileMode>0755</fileMode>
<lineEnding>unix</lineEnding>
</fileSet>
<fileSet>
<directory>${project.basedir}/../eagle-topology-assembly/target</directory>
<outputDirectory>lib/</outputDirectory>
<includes>
<include>eagle-topology-*-assembly.jar</include>
</includes>
</fileSet>
<!-- copy dependent jars into /lib -->
<fileSet>
<directory>${project.build.directory}/dependencies</directory>
<outputDirectory>lib</outputDirectory>
<includes>
<include>dropwizard-*.jar</include>
<include>storm-core-*.jar</include>
<include>slf4j-api-*.jar</include>
<include>jersey-*.jar</include>
<include>eagle-storage-hbase-*.jar</include>
<include>eagle-storage-jdbc-*.jar</include>
</includes>
</fileSet>
<!-- copy collector scripts into /lib/scripts -->
<fileSet>
<directory>${project.basedir}/../eagle-external/hadoop_jmx_collector</directory>
<outputDirectory>lib/scripts/hadoop_jmx_collector</outputDirectory>
</fileSet>
</fileSets>
</assembly>