pom.xml 5.9 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.
  ~
  -->

20
<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">
21 22 23
    <parent>
        <artifactId>oap-server</artifactId>
        <groupId>org.apache.skywalking</groupId>
24
        <version>8.3.0</version>
25 26 27 28
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>server-core</artifactId>
29
    <packaging>jar</packaging>
30 31

    <dependencies>
wu-sheng's avatar
wu-sheng 已提交
32 33 34 35
        <dependency>
            <groupId>org.yaml</groupId>
            <artifactId>snakeyaml</artifactId>
        </dependency>
wu-sheng's avatar
wu-sheng 已提交
36

37
        <dependency>
wu-sheng's avatar
wu-sheng 已提交
38 39 40
            <groupId>org.apache.skywalking</groupId>
            <artifactId>library-module</artifactId>
            <version>${project.version}</version>
41
        </dependency>
42 43
        <dependency>
            <groupId>org.apache.skywalking</groupId>
wu-sheng's avatar
wu-sheng 已提交
44
            <artifactId>telemetry-api</artifactId>
45 46
            <version>${project.version}</version>
        </dependency>
47 48 49 50 51
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>configuration-api</artifactId>
            <version>${project.version}</version>
        </dependency>
52 53 54 55 56
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>library-util</artifactId>
            <version>${project.version}</version>
        </dependency>
彭勇升 pengys 已提交
57 58 59 60 61
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>library-client</artifactId>
            <version>${project.version}</version>
        </dependency>
62 63 64 65 66 67 68 69 70 71
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>library-server</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>apm-datacarrier</artifactId>
            <version>${project.version}</version>
        </dependency>
彭勇升 pengys 已提交
72 73 74 75 76
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>apm-network</artifactId>
            <version>${project.version}</version>
        </dependency>
wu-sheng's avatar
wu-sheng 已提交
77 78 79 80
        <dependency>
            <groupId>org.javassist</groupId>
            <artifactId>javassist</artifactId>
        </dependency>
G
Gao Hongtao 已提交
81 82 83 84
        <dependency>
            <groupId>io.vavr</groupId>
            <artifactId>vavr</artifactId>
        </dependency>
85

86 87 88 89 90 91
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>server-testing</artifactId>
            <version>${project.version}</version>
            <scope>test</scope>
        </dependency>
G
Gao Hongtao 已提交
92 93 94 95 96
        <dependency>
            <groupId>io.grpc</groupId>
            <artifactId>grpc-testing</artifactId>
            <scope>test</scope>
        </dependency>
97
    </dependencies>
彭勇升 pengys 已提交
98 99

    <build>
100 101
        <plugins>
            <plugin>
彭勇升 pengys 已提交
102 103
                <groupId>kr.motd.maven</groupId>
                <artifactId>os-maven-plugin</artifactId>
104 105 106 107 108 109 110 111 112 113
                <version>${os-maven-plugin.version}</version>
                <executions>
                    <execution>
                        <phase>initialize</phase>
                        <goals>
                            <goal>detect</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
彭勇升 pengys 已提交
114 115 116 117 118 119 120 121 122 123 124
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.4.3</version>
                <configuration>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.xolstice.maven.plugins</groupId>
                <artifactId>protobuf-maven-plugin</artifactId>
125
                <version>${protobuf-maven-plugin.version}</version>
彭勇升 pengys 已提交
126 127 128 129 130 131
                <configuration>
                    <!--
                      The version of protoc must match protobuf-java. If you don't depend on
                      protobuf-java directly, you will be transitively depending on the
                      protobuf-java version that grpc depends on.
                    -->
132 133
                    <protocArtifact>
                        com.google.protobuf:protoc:${com.google.protobuf.protoc.version}:exe:${os.detected.classifier}
彭勇升 pengys 已提交
134 135
                    </protocArtifact>
                    <pluginId>grpc-java</pluginId>
136 137
                    <pluginArtifact>
                        io.grpc:protoc-gen-grpc-java:${protoc-gen-grpc-java.plugin.version}:exe:${os.detected.classifier}
彭勇升 pengys 已提交
138 139 140 141 142 143 144 145 146 147 148 149 150
                    </pluginArtifact>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                            <goal>compile-custom</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
151
</project>