You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2022/12/10 05:55:36 UTC

[shardingsphere] branch master updated: Remove byte-buddy-agent dependency (#22781)

This is an automated email from the ASF dual-hosted git repository.

panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new c0a1a3d1320 Remove byte-buddy-agent dependency (#22781)
c0a1a3d1320 is described below

commit c0a1a3d1320c3a7b77156fd5eab66f7b7e8bb10c
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat Dec 10 13:55:29 2022 +0800

    Remove byte-buddy-agent dependency (#22781)
---
 agent/plugins/tracing/test/pom.xml |  5 -----
 agent/pom.xml                      |  9 +++++----
 pom.xml                            | 13 -------------
 3 files changed, 5 insertions(+), 22 deletions(-)

diff --git a/agent/plugins/tracing/test/pom.xml b/agent/plugins/tracing/test/pom.xml
index ebf581438da..71d04fc9487 100644
--- a/agent/plugins/tracing/test/pom.xml
+++ b/agent/plugins/tracing/test/pom.xml
@@ -34,11 +34,6 @@
             <scope>compile</scope>
         </dependency>
         
-        <dependency>
-            <groupId>net.bytebuddy</groupId>
-            <artifactId>byte-buddy-agent</artifactId>
-            <scope>compile</scope>
-        </dependency>
         <dependency>
             <groupId>io.opentracing</groupId>
             <artifactId>opentracing-util</artifactId>
diff --git a/agent/pom.xml b/agent/pom.xml
index 78f8d022e8f..b8e45e73a1d 100644
--- a/agent/pom.xml
+++ b/agent/pom.xml
@@ -36,14 +36,15 @@
         <module>distribution</module>
     </modules>
     
+    <properties>
+        <bytebuddy.version>1.12.12</bytebuddy.version>
+    </properties>
+    
     <dependencies>
         <dependency>
             <groupId>net.bytebuddy</groupId>
             <artifactId>byte-buddy</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>net.bytebuddy</groupId>
-            <artifactId>byte-buddy-agent</artifactId>
+            <version>${bytebuddy.version}</version>
         </dependency>
     </dependencies>
 </project>
diff --git a/pom.xml b/pom.xml
index 236d3f25dda..e1cae244bf0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -88,7 +88,6 @@
         
         <elasticjob.version>3.0.2</elasticjob.version>
         
-        <bytebuddy.version>1.12.12</bytebuddy.version>
         <prometheus.version>0.11.0</prometheus.version>
         <prometheus.jmx.version>0.16.1</prometheus.jmx.version>
         <opentracing.version>0.31.0</opentracing.version>
@@ -430,11 +429,6 @@
                 </exclusions>
             </dependency>
             
-            <dependency>
-                <groupId>net.bytebuddy</groupId>
-                <artifactId>byte-buddy</artifactId>
-                <version>${bytebuddy.version}</version>
-            </dependency>
             <dependency>
                 <groupId>io.prometheus</groupId>
                 <artifactId>simpleclient</artifactId>
@@ -668,13 +662,6 @@
                 <scope>test</scope>
             </dependency>
             
-            <dependency>
-                <groupId>net.bytebuddy</groupId>
-                <artifactId>byte-buddy-agent</artifactId>
-                <version>${bytebuddy.version}</version>
-                <scope>test</scope>
-            </dependency>
-            
             <dependency>
                 <groupId>ch.qos.logback</groupId>
                 <artifactId>logback-classic</artifactId>