You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/12/31 06:34:48 UTC
[shardingsphere] branch master updated: Remove bytebuddy dependency from agent-api module (#23217)
This is an automated email from the ASF dual-hosted git repository.
zhonghongsheng 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 6cd883214f6 Remove bytebuddy dependency from agent-api module (#23217)
6cd883214f6 is described below
commit 6cd883214f6c96a3b0adc9b28beee067517b8088
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat Dec 31 14:34:37 2022 +0800
Remove bytebuddy dependency from agent-api module (#23217)
---
agent/core/pom.xml | 4 ++++
agent/plugins/pom.xml | 6 ++++++
agent/pom.xml | 16 +++++++++-------
3 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/agent/core/pom.xml b/agent/core/pom.xml
index d042cf2d9b0..6487628585d 100644
--- a/agent/core/pom.xml
+++ b/agent/core/pom.xml
@@ -43,6 +43,10 @@
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>net.bytebuddy</groupId>
+ <artifactId>byte-buddy</artifactId>
+ </dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
diff --git a/agent/plugins/pom.xml b/agent/plugins/pom.xml
index 980fc3d5c86..9d27d65806e 100644
--- a/agent/plugins/pom.xml
+++ b/agent/plugins/pom.xml
@@ -42,6 +42,12 @@
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
+
+ <dependency>
+ <groupId>net.bytebuddy</groupId>
+ <artifactId>byte-buddy</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/agent/pom.xml b/agent/pom.xml
index da8808c3a72..f1f8066a1bc 100644
--- a/agent/pom.xml
+++ b/agent/pom.xml
@@ -40,11 +40,13 @@
<bytebuddy.version>1.12.12</bytebuddy.version>
</properties>
- <dependencies>
- <dependency>
- <groupId>net.bytebuddy</groupId>
- <artifactId>byte-buddy</artifactId>
- <version>${bytebuddy.version}</version>
- </dependency>
- </dependencies>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>net.bytebuddy</groupId>
+ <artifactId>byte-buddy</artifactId>
+ <version>${bytebuddy.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
</project>