binary.xml 4.3 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>
wu-sheng's avatar
wu-sheng 已提交
53
                <include>endpoint_name_grouping.yml</include>
54 55 56 57
                <include>oal/core.oal</include>
                <include>oal/java-agent.oal</include>
                <include>oal/dotnet-agent.oal</include>
                <include>oal/envoy.oal</include>
58 59 60
            </includes>
            <outputDirectory>/config</outputDirectory>
        </fileSet>
H
hanahmily 已提交
61
        <fileSet>
62 63
            <directory>${project.basedir}/../oap-server/server-starter/target/skywalking-oap-assembly/skywalking-oap/libs</directory>
            <outputDirectory>/oap-libs</outputDirectory>
H
hanahmily 已提交
64
        </fileSet>
wu-sheng's avatar
wu-sheng 已提交
65 66 67

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

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

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

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