This is an automated email from the ASF dual-hosted git repository.
sunnianjun 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 c1d05ee29f2 Refactor shade folder of agent plugin (#23258)
c1d05ee29f2 is described below
commit c1d05ee29f28f2564df47dccdd2422d48edd5d99
Author: Liang Zhang <[email protected]>
AuthorDate: Mon Jan 2 13:26:08 2023 +0800
Refactor shade folder of agent plugin (#23258)
* Refactor shade folder of agent plugin
---
agent/plugins/logging/type/base/pom.xml | 4 ----
agent/plugins/logging/type/pom.xml | 4 ++++
agent/plugins/metrics/type/pom.xml | 4 ++++
agent/plugins/metrics/type/prometheus/pom.xml | 1 -
4 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/agent/plugins/logging/type/base/pom.xml
b/agent/plugins/logging/type/base/pom.xml
index 0fe064f6595..b31ad3efd04 100644
--- a/agent/plugins/logging/type/base/pom.xml
+++ b/agent/plugins/logging/type/base/pom.xml
@@ -27,10 +27,6 @@
<artifactId>shardingsphere-agent-logging-base</artifactId>
<name>${project.artifactId}</name>
- <properties>
-
<target.directory>${project.basedir}/../target/plugins</target.directory>
- </properties>
-
<build>
<plugins>
<plugin>
diff --git a/agent/plugins/logging/type/pom.xml
b/agent/plugins/logging/type/pom.xml
index 427d72e46d7..ae4adaa3efe 100644
--- a/agent/plugins/logging/type/pom.xml
+++ b/agent/plugins/logging/type/pom.xml
@@ -31,4 +31,8 @@
<modules>
<module>base</module>
</modules>
+
+ <properties>
+
<target.directory>${project.basedir}/../target/plugins</target.directory>
+ </properties>
</project>
diff --git a/agent/plugins/metrics/type/pom.xml
b/agent/plugins/metrics/type/pom.xml
index a65de84a1e5..0e5a987322d 100644
--- a/agent/plugins/metrics/type/pom.xml
+++ b/agent/plugins/metrics/type/pom.xml
@@ -31,4 +31,8 @@
<modules>
<module>prometheus</module>
</modules>
+
+ <properties>
+
<target.directory>${project.basedir}/../target/plugins</target.directory>
+ </properties>
</project>
diff --git a/agent/plugins/metrics/type/prometheus/pom.xml
b/agent/plugins/metrics/type/prometheus/pom.xml
index a5a64d2adf3..399b9005b49 100644
--- a/agent/plugins/metrics/type/prometheus/pom.xml
+++ b/agent/plugins/metrics/type/prometheus/pom.xml
@@ -28,7 +28,6 @@
<name>${project.artifactId}</name>
<properties>
-
<target.directory>${project.basedir}/../target/plugins</target.directory>
<prometheus.version>0.11.0</prometheus.version>
<prometheus.jmx.version>0.16.1</prometheus.jmx.version>
</properties>