pom.xml 7.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ 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.
  ~
  -->

wu-sheng's avatar
wu-sheng 已提交
20 21
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 23 24
    <parent>
        <artifactId>oap-server</artifactId>
        <groupId>org.apache.skywalking</groupId>
25
        <version>6.0.0-beta-SNAPSHOT</version>
26 27 28 29 30 31 32
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>server-starter</artifactId>
    <packaging>jar</packaging>

    <dependencies>
33 34 35 36 37
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>server-core</artifactId>
            <version>${project.version}</version>
        </dependency>
wu-sheng's avatar
wu-sheng 已提交
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52

        <!-- generated analysis core -->
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>generated-analysis</artifactId>
            <version>${project.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.skywalking</groupId>
                    <artifactId>generate-tool</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- generated analysis core -->

53
        <!-- cluster module -->
54 55 56 57 58 59 60 61 62 63
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>cluster-standalone-plugin</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>cluster-zookeeper-plugin</artifactId>
            <version>${project.version}</version>
        </dependency>
64 65 66 67 68
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>cluster-kubernetes-plugin</artifactId>
            <version>${project.version}</version>
        </dependency>
69 70 71 72 73
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>cluster_consul_plugin</artifactId>
            <version>${project.version}</version>
        </dependency>
74 75 76 77 78
        <!-- cluster module -->

        <!-- receiver module -->
        <dependency>
            <groupId>org.apache.skywalking</groupId>
79
            <artifactId>skywalking-mesh-receiver-plugin</artifactId>
80 81
            <version>${project.version}</version>
        </dependency>
wu-sheng's avatar
wu-sheng 已提交
82 83
        <dependency>
            <groupId>org.apache.skywalking</groupId>
84
            <artifactId>skywalking-istio-telemetry-receiver-plugin</artifactId>
wu-sheng's avatar
wu-sheng 已提交
85 86
            <version>${project.version}</version>
        </dependency>
87 88 89 90 91
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>skywalking-register-receiver-plugin</artifactId>
            <version>${project.version}</version>
        </dependency>
92 93 94 95
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>skywalking-jvm-receiver-plugin</artifactId>
            <version>${project.version}</version>
96 97 98 99 100
        </dependency>
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>skywalking-trace-receiver-plugin</artifactId>
            <version>${project.version}</version>
101
        </dependency>
102 103 104 105 106
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>zipkin-receiver-plugin</artifactId>
            <version>${project.version}</version>
        </dependency>
107 108 109 110 111
        <!-- receiver module -->

        <!-- storage module -->
        <dependency>
            <groupId>org.apache.skywalking</groupId>
wu-sheng's avatar
wu-sheng 已提交
112
            <artifactId>storage-jdbc-hikaricp-plugin</artifactId>
113 114
            <version>${project.version}</version>
        </dependency>
115 116
        <dependency>
            <groupId>org.apache.skywalking</groupId>
117
            <artifactId>storage-elasticsearch-plugin</artifactId>
118 119
            <version>${project.version}</version>
        </dependency>
120
        <!-- storage module -->
121

122
        <!-- queryBuild module -->
123 124 125 126 127
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>query-graphql-plugin</artifactId>
            <version>${project.version}</version>
        </dependency>
128
        <!-- queryBuild module -->
wu-sheng's avatar
wu-sheng 已提交
129 130 131 132 133 134 135

        <!-- alarm module -->
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>server-alarm-plugin</artifactId>
            <version>${project.version}</version>
        </dependency>
136
    </dependencies>
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
    <build>
        <finalName>skywalking-oap</finalName>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>${compiler.version}</source>
                    <target>${compiler.version}</target>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <configuration>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <excludes>
                        <exclude>application.yml</exclude>
                        <exclude>log4j2.xml</exclude>
163 164
                        <exclude>alarm-settings.yml</exclude>
                        <exclude>component-libraries.yml</exclude>
wu-sheng's avatar
wu-sheng 已提交
165
                        <exclude>datasource-settings.properties</exclude>
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
                    </excludes>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <id>assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>src/main/assembly/assembly.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
189
</project>