pom.xml 5.1 KB
Newer Older
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
wu-sheng's avatar
wu-sheng 已提交
2 3
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
4

wu-sheng's avatar
wu-sheng 已提交
5
    <parent>
P
pengys5 已提交
6 7
        <groupId>org.skywalking</groupId>
        <artifactId>apm-sniffer</artifactId>
wu-sheng's avatar
wu-sheng 已提交
8
        <version>3.2-2017</version>
wu-sheng's avatar
wu-sheng 已提交
9
    </parent>
wu-sheng's avatar
wu-sheng 已提交
10

11
    <artifactId>apm-agent-core</artifactId>
wu-sheng's avatar
wu-sheng 已提交
12
    <packaging>jar</packaging>
13

14
    <name>apm-agent-core</name>
wu-sheng's avatar
wu-sheng 已提交
15
    <url>http://maven.apache.org</url>
16

wu-sheng's avatar
wu-sheng 已提交
17 18
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19
        <jetty.version>9.4.2.v20170220</jetty.version>
wu-sheng's avatar
wu-sheng 已提交
20
        <grpc.version>1.4.0</grpc.version>
21

P
pengys5 已提交
22
        <shade.package>org.skywalking.apm.dependencies</shade.package>
23 24 25 26 27 28 29
        <shade.com.lmax.disruptor.source>com.lmax.disruptor</shade.com.lmax.disruptor.source>
        <shade.com.lmax.disruptor.target>${shade.package}.${shade.com.lmax.disruptor.source}
        </shade.com.lmax.disruptor.target>
        <shade.com.google.source>com.google</shade.com.google.source>
        <shade.com.google.target>${shade.package}.${shade.com.google.source}</shade.com.google.target>
        <shade.org.apache.source>org.apache</shade.org.apache.source>
        <shade.org.apache.target>${shade.package}.${shade.org.apache.source}</shade.org.apache.target>
wu-sheng's avatar
wu-sheng 已提交
30
    </properties>
31

wu-sheng's avatar
wu-sheng 已提交
32 33
    <dependencies>
        <dependency>
P
pengys5 已提交
34 35
            <groupId>org.skywalking</groupId>
            <artifactId>apm-logging-api</artifactId>
36 37 38 39 40 41 42
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>net.bytebuddy</groupId>
            <artifactId>byte-buddy</artifactId>
            <version>1.5.7</version>
        </dependency>
A
ascrutae 已提交
43 44 45 46 47 48
        <dependency>
            <groupId>net.bytebuddy</groupId>
            <artifactId>byte-buddy-agent</artifactId>
            <version>1.5.7</version>
            <scope>test</scope>
        </dependency>
wu-sheng's avatar
wu-sheng 已提交
49 50 51 52 53
        <dependency>
            <groupId>com.lmax</groupId>
            <artifactId>disruptor</artifactId>
            <version>3.3.6</version>
        </dependency>
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.5.3</version>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-server</artifactId>
            <version>${jetty.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-servlet</artifactId>
            <version>${jetty.version}</version>
            <scope>test</scope>
        </dependency>
wu-sheng's avatar
wu-sheng 已提交
71 72
    </dependencies>
    <build>
wu-sheng's avatar
wu-sheng 已提交
73 74 75 76 77 78 79
        <extensions>
            <extension>
                <groupId>kr.motd.maven</groupId>
                <artifactId>os-maven-plugin</artifactId>
                <version>1.4.1.Final</version>
            </extension>
        </extensions>
wu-sheng's avatar
wu-sheng 已提交
80 81 82 83 84 85 86 87 88
        <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>
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
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>2.4.1</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <artifactSet>
                                <excludes>
                                    <exclude>net.bytebuddy:byte-buddy:jar:</exclude>
                                </excludes>
                            </artifactSet>
                            <relocations>
                                <relocation>
                                    <pattern>${shade.com.lmax.disruptor.source}</pattern>
                                    <shadedPattern>${shade.com.lmax.disruptor.target}</shadedPattern>
                                </relocation>
                                <relocation>
                                    <pattern>${shade.com.google.source}</pattern>
                                    <shadedPattern>${shade.com.google.target}</shadedPattern>
                                </relocation>
                                <relocation>
                                    <pattern>${shade.org.apache.source}</pattern>
                                    <shadedPattern>${shade.org.apache.target}</shadedPattern>
                                </relocation>
                            </relocations>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
wu-sheng's avatar
wu-sheng 已提交
123 124
        </plugins>
    </build>
125
</project>