binary.xml 4.4 KB
Newer Older
H
hanahmily 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<!--
  ~ 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
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ 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.2"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
    <id>dist</id>
    <formats>
        <format>tar.gz</format>
    </formats>
    <fileSets>
        <fileSet>
29
            <directory>${project.basedir}/../dist-material/bin</directory>
H
hanahmily 已提交
30 31 32 33 34 35 36
            <outputDirectory>/bin</outputDirectory>
            <includes>
                <include>*.sh</include>
                <include>*.bat</include>
            </includes>
            <fileMode>0755</fileMode>
        </fileSet>
37
        <fileSet>
38
            <directory>${project.basedir}/../dist-material</directory>
39 40 41 42 43 44 45 46 47 48
            <outputDirectory>/config</outputDirectory>
            <includes>
                <include>log4j2.xml</include>
                <include>alarm-settings.yml</include>
                <include>alarm-settings-sample.yml</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>${project.basedir}/../oap-server/server-bootstrap/src/main/resources</directory>
            <includes>
49
                <include>application.yml</include>
50 51
                <include>component-libraries.yml</include>
                <include>gateways.yml</include>
52
                <include>service-apdex-threshold.yml</include>
53
                <include>endpoint-name-grouping.yml</include>
54 55
                <include>oal/*.oal</include>
                <include>fetcher-prom-rules/*.yaml</include>
56
                <include>meter-analyzer-config/*.yaml</include>
57 58
                <include>oc-rules/*</include>
                <include>ui-initialized-templates/*</include>
59 60 61
            </includes>
            <outputDirectory>/config</outputDirectory>
        </fileSet>
H
hanahmily 已提交
62
        <fileSet>
63 64
            <directory>${project.basedir}/../oap-server/server-starter/target/skywalking-oap-assembly/skywalking-oap/libs</directory>
            <outputDirectory>/oap-libs</outputDirectory>
H
hanahmily 已提交
65
        </fileSet>
wu-sheng's avatar
wu-sheng 已提交
66 67 68

        <!-- Agent repackage into the dist -->
        <fileSet>
wu-sheng's avatar
wu-sheng 已提交
69
            <directory>${project.basedir}/../skywalking-agent</directory>
wu-sheng's avatar
wu-sheng 已提交
70 71
            <outputDirectory>/agent</outputDirectory>
        </fileSet>
72 73 74 75 76 77

        <!-- Profile exporter tools -->
        <fileSet>
            <directory>${project.basedir}/../tools/profile-exporter</directory>
            <outputDirectory>/tools/profile-exporter</outputDirectory>
        </fileSet>
78

79
        <!-- Release docs and licenses -->
80 81 82 83
        <fileSet>
            <directory>${project.basedir}/../</directory>
            <outputDirectory>/</outputDirectory>
            <includes>
wu-sheng's avatar
wu-sheng 已提交
84
                <include>DISCLAIMER</include>
85
                <include>CHANGES</include>
86 87
            </includes>
        </fileSet>
88

89
        <fileSet>
90
            <directory>${project.basedir}/../dist-material/release-docs</directory>
91 92
            <outputDirectory>/</outputDirectory>
        </fileSet>
H
hanahmily 已提交
93 94 95 96 97 98 99
    </fileSets>
    <files>
        <file>
            <source>${project.basedir}/../apm-webapp/target/skywalking-webapp.jar</source>
            <outputDirectory>/webapp</outputDirectory>
            <fileMode>0644</fileMode>
        </file>
G
Gao Hongtao 已提交
100 101 102 103 104
        <file>
            <source>${project.basedir}/../apm-webapp/src/main/assembly/webapp.yml</source>
            <outputDirectory>/webapp</outputDirectory>
            <fileMode>0644</fileMode>
        </file>
H
hanahmily 已提交
105 106
    </files>
</assembly>