pom.xml 5.2 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
<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>6.4.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>
77 78 79 80 81 82
        <dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>server-testing</artifactId>
            <version>${project.version}</version>
            <scope>test</scope>
        </dependency>
wu-sheng's avatar
wu-sheng 已提交
83 84 85 86 87
        <dependency>
            <groupId>io.grpc</groupId>
            <artifactId>grpc-testing</artifactId>
            <scope>test</scope>
        </dependency>
88
    </dependencies>
彭勇升 pengys 已提交
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133

    <build>
        <extensions>
            <extension>
                <groupId>kr.motd.maven</groupId>
                <artifactId>os-maven-plugin</artifactId>
                <version>1.4.1.Final</version>
            </extension>
        </extensions>
        <plugins>
            <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>
                <version>0.5.0</version>
                <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.
                    -->
                    <protocArtifact>com.google.protobuf:protoc:3.3.0:exe:${os.detected.classifier}
                    </protocArtifact>
                    <pluginId>grpc-java</pluginId>
                    <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.4.0:exe:${os.detected.classifier}
                    </pluginArtifact>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                            <goal>compile-custom</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
134
</project>