pom.xml 9.7 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
wu-sheng's avatar
wu-sheng 已提交
3 4 5 6 7 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
9 10 11 12 13 14 15 16 17 18 19
  ~
  ~     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
    <modelVersion>4.0.0</modelVersion>
Z
zhangxin10 已提交
22

23
    <parent>
24
        <groupId>org.apache.skywalking</groupId>
P
pengys5 已提交
25
        <artifactId>apm-sniffer</artifactId>
K
kezhenxu94 已提交
26
        <version>8.4.0.1</version>
27 28
    </parent>

P
pengys5 已提交
29
    <artifactId>apm-sdk-plugin</artifactId>
30 31
    <modules>
        <module>dubbo-plugin</module>
32
        <module>jdbc-commons</module>
33 34
        <module>httpClient-4.x-plugin</module>
        <module>jedis-2.x-plugin</module>
于玉桔 已提交
35
        <module>redisson-3.x-plugin</module>
36
        <module>tomcat-7.x-8.x-plugin</module>
A
ascrutae 已提交
37
        <module>motan-plugin</module>
B
baiyang 已提交
38
        <module>mongodb-3.x-plugin</module>
39
        <module>mongodb-4.x-plugin</module>
40 41
        <module>feign-default-http-9.x-plugin</module>
        <module>okhttp-3.x-plugin</module>
A
ascrutae 已提交
42
        <module>spring-plugins</module>
A
ascrutae 已提交
43
        <module>struts2-2.x-plugin</module>
44
        <module>nutz-plugins</module>
A
ascrutae 已提交
45
        <module>jetty-plugin</module>
IluckySi's avatar
IluckySi 已提交
46
        <module>spymemcached-2.x-plugin</module>
G
gaohongtao 已提交
47
        <module>sharding-jdbc-1.5.x-plugin</module>
48
        <module>sharding-sphere-3.x-plugin</module>
49
        <module>sharding-sphere-4.x-plugin</module>
50
        <module>sharding-sphere-4.x-RC3-plugin</module>
51
        <module>sharding-sphere-4.0.x-plugin</module>
52
        <module>sharding-sphere-4.1.0-plugin</module>
IluckySi's avatar
IluckySi 已提交
53
        <module>xmemcached-2.x-plugin</module>
A
ascrutae 已提交
54
        <module>grpc-1.x-plugin</module>
A
ascrutae 已提交
55
        <module>mysql-5.x-plugin</module>
56 57 58
        <module>mysql-6.x-plugin</module>
        <module>mysql-8.x-plugin</module>
        <module>mysql-common</module>
59 60
        <module>h2-1.x-plugin</module>
        <module>postgresql-8.x-plugin</module>
C
carlvine 已提交
61
        <module>rocketMQ-3.x-plugin</module>
A
ascrutae 已提交
62
        <module>rocketMQ-4.x-plugin</module>
G
gaohongtao 已提交
63
        <module>elastic-job-2.x-plugin</module>
64
        <module>elastic-job-3.x-plugin</module>
L
lytscu 已提交
65
        <module>mongodb-2.x-plugin</module>
66
        <module>httpasyncclient-4.x-plugin</module>
于玉桔 已提交
67
        <module>kafka-commons</module>
68
        <module>kafka-plugin</module>
L
lytscu 已提交
69
        <module>servicecomb-plugin</module>
A
ascrutae 已提交
70
        <module>hystrix-1.x-plugin</module>
71
        <module>sofarpc-plugin</module>
72
        <module>activemq-5.x-plugin</module>
73
        <module>elasticsearch-5.x-plugin</module>
74
        <module>elasticsearch-6.x-plugin</module>
C
chenpengfei 已提交
75
        <module>undertow-plugins</module>
X
XiaoFu 已提交
76
        <module>rabbitmq-5.x-plugin</module>
77
        <module>dubbo-conflict-patch</module>
X
XiaoFu 已提交
78
        <module>canal-1.x-plugin</module>
K
kezhenxu94 已提交
79 80
        <module>dubbo-2.7.x-plugin</module>
        <module>dubbo-2.7.x-conflict-patch</module>
81
        <module>vertx-plugins</module>
F
FuCheng,Yan 已提交
82
        <module>resteasy-plugin</module>
D
daming 已提交
83
        <module>solrj-7.x-plugin</module>
84
        <module>cassandra-java-driver-3.x-plugin</module>
L
Louis Tsui 已提交
85
        <module>light4j-plugins</module>
86
        <module>ehcache-2.x-plugin</module>
L
lipenghui 已提交
87
        <module>pulsar-plugin</module>
88
        <module>netty-socketio-plugin</module>
K
kezhenxu94 已提交
89
        <module>armeria-0.84.x-plugin</module>
90
        <module>armeria-0.85.x-plugin</module>
91
        <module>httpclient-3.x-plugin</module>
92
        <module>play-2.x-plugin</module>
93
        <module>lettuce-5.x-plugin</module>
D
Daming 已提交
94
        <module>avro-plugin</module>
Y
yoje 已提交
95
        <module>finagle-6.25.x-plugin</module>
96
        <module>quasar-plugin</module>
E
Efe Kaptan 已提交
97
        <module>mariadb-2.x-plugin</module>
98
        <module>influxdb-2.x-plugin</module>
C
caoyixiong 已提交
99
        <module>baidu-brpc-plugin</module>
100
        <module>hbase-1.x-plugin</module>
101
        <module>graphql-plugin</module>
H
hailin0 已提交
102
        <module>xxl-job-2.x-plugin</module>
D
Daming 已提交
103
        <module>thrift-plugin</module>
104
        <module>httpclient-commons</module>
K
Kcat 已提交
105
        <module>asynchttpclient-2.x-plugin</module>
K
King 已提交
106
        <module>dbcp-2.x-plugin</module>
107
        <module>mssql-commons</module>
108
        <module>mssql-jtds-1.x-plugin</module>
109
        <module>mssql-jdbc-plugin</module>
110
        <module>cxf-3.x-plugin</module>
A
ascrutae 已提交
111
    </modules>
112
    <packaging>pom</packaging>
Z
zhangxin10 已提交
113

P
pengys5 已提交
114
    <name>apm-sdk-plugin</name>
115
    <url>http://maven.apache.org</url>
Z
zhangxin10 已提交
116

117 118
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
119
        <sdk.plugin.related.dir />
120 121
        <shade.net.bytebuddy.source>net.bytebuddy</shade.net.bytebuddy.source>
        <shade.net.bytebuddy.target>${shade.package}.${shade.net.bytebuddy.source}</shade.net.bytebuddy.target>
A
ascrutae 已提交
122

123 124
        <agent.package.dest.dir>${project.build.directory}${sdk.plugin.related.dir}/../../../../skywalking-agent
        </agent.package.dest.dir>
A
ascrutae 已提交
125
        <plugin.dest.dir>${agent.package.dest.dir}/plugins</plugin.dest.dir>
126 127 128

        <ant-contrib.version>1.0b3</ant-contrib.version>
        <ant-nodeps.version>1.8.1</ant-nodeps.version>
129
    </properties>
Z
zhangxin10 已提交
130

131 132
    <dependencies>
        <dependency>
133
            <groupId>org.apache.skywalking</groupId>
134
            <artifactId>apm-agent-core</artifactId>
135
            <version>${project.version}</version>
136 137
            <scope>provided</scope>
        </dependency>
138 139 140 141 142 143
        <dependency>
            <groupId>net.bytebuddy</groupId>
            <artifactId>byte-buddy</artifactId>
            <version>${bytebuddy.version}</version>
            <scope>provided</scope>
        </dependency>
144
        <dependency>
145
            <groupId>org.apache.skywalking</groupId>
146 147 148
            <artifactId>apm-util</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
149
        </dependency>
A
ascrutae 已提交
150
        <dependency>
151
            <groupId>org.apache.skywalking</groupId>
A
ascrutae 已提交
152 153 154 155
            <artifactId>apm-test-tools</artifactId>
            <version>${project.version}</version>
            <scope>test</scope>
        </dependency>
156
    </dependencies>
wu-sheng's avatar
wu-sheng 已提交
157

158 159
    <build>
        <plugins>
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
            <plugin>
                <artifactId>maven-shade-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <shadedArtifactAttached>false</shadedArtifactAttached>
                            <createDependencyReducedPom>true</createDependencyReducedPom>
                            <createSourcesJar>true</createSourcesJar>
                            <shadeSourcesContent>true</shadeSourcesContent>
                            <relocations>
                                <relocation>
                                    <pattern>${shade.net.bytebuddy.source}</pattern>
                                    <shadedPattern>${shade.net.bytebuddy.target}</shadedPattern>
                                </relocation>
                            </relocations>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
183
            <plugin>
184 185 186 187 188 189 190 191 192
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
193
                                <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.runtime.classpath" />
194
                                <if>
195
                                    <equals arg1="${project.packaging}" arg2="jar" />
196
                                    <then>
197 198
                                        <mkdir dir="${plugin.dest.dir}" />
                                        <copy file="${project.build.directory}/${project.artifactId}-${project.version}.jar" tofile="${plugin.dest.dir}/${project.artifactId}-${project.version}.jar" overwrite="true" />
199 200 201 202 203 204 205 206 207 208 209
                                    </then>
                                </if>

                            </tasks>
                        </configuration>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>ant-contrib</groupId>
                        <artifactId>ant-contrib</artifactId>
210
                        <version>${ant-contrib.version}</version>
211 212 213 214 215 216 217 218 219 220
                        <exclusions>
                            <exclusion>
                                <groupId>ant</groupId>
                                <artifactId>ant</artifactId>
                            </exclusion>
                        </exclusions>
                    </dependency>
                    <dependency>
                        <groupId>org.apache.ant</groupId>
                        <artifactId>ant-nodeps</artifactId>
221
                        <version>${ant-nodeps.version}</version>
222 223 224
                    </dependency>
                </dependencies>
            </plugin>
225 226
        </plugins>
    </build>
wu-sheng's avatar
wu-sheng 已提交
227
</project>