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/17 12:33:26 UTC

[shardingsphere] branch master updated: Remove useless maven-jar-plugin (#22936)

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 e22be3559be Remove useless maven-jar-plugin (#22936)
e22be3559be is described below

commit e22be3559be7100d51f5ef63c86f597e9fff5b00
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat Dec 17 20:33:20 2022 +0800

    Remove useless maven-jar-plugin (#22936)
---
 agent/plugins/logging/pom.xml                 |  3 ---
 agent/plugins/metrics/type/pom.xml            |  3 ---
 agent/plugins/metrics/type/prometheus/pom.xml |  5 +----
 agent/plugins/tracing/pom.xml                 |  3 ---
 agent/plugins/tracing/test/pom.xml            | 11 -----------
 agent/plugins/tracing/type/pom.xml            |  3 ---
 6 files changed, 1 insertion(+), 27 deletions(-)

diff --git a/agent/plugins/logging/pom.xml b/agent/plugins/logging/pom.xml
index cfa95d351b8..b95694e0e4e 100644
--- a/agent/plugins/logging/pom.xml
+++ b/agent/plugins/logging/pom.xml
@@ -38,9 +38,6 @@
     
     <build>
         <plugins>
-            <plugin>
-                <artifactId>maven-jar-plugin</artifactId>
-            </plugin>
             <plugin>
                 <artifactId>maven-shade-plugin</artifactId>
                 <configuration>
diff --git a/agent/plugins/metrics/type/pom.xml b/agent/plugins/metrics/type/pom.xml
index 96afb28d8e1..4065666a30e 100644
--- a/agent/plugins/metrics/type/pom.xml
+++ b/agent/plugins/metrics/type/pom.xml
@@ -38,9 +38,6 @@
     
     <build>
         <plugins>
-            <plugin>
-                <artifactId>maven-jar-plugin</artifactId>
-            </plugin>
             <plugin>
                 <artifactId>maven-shade-plugin</artifactId>
                 <configuration>
diff --git a/agent/plugins/metrics/type/prometheus/pom.xml b/agent/plugins/metrics/type/prometheus/pom.xml
index d7facde3cc8..b71ce90a97a 100644
--- a/agent/plugins/metrics/type/prometheus/pom.xml
+++ b/agent/plugins/metrics/type/prometheus/pom.xml
@@ -72,13 +72,10 @@
     
     <build>
         <plugins>
-            <plugin>
-                <artifactId>maven-jar-plugin</artifactId>
-            </plugin>
             <plugin>
                 <artifactId>maven-shade-plugin</artifactId>
                 <configuration>
-                    <outputFile>../../target/plugins/shardingsphere-agent-metrics-prometheus-5.3.1-SNAPSHOT.jar</outputFile>
+                    <outputFile>${metrics.target.directory}/${project.build.finalName}.jar</outputFile>
                 </configuration>
             </plugin>
         </plugins>
diff --git a/agent/plugins/tracing/pom.xml b/agent/plugins/tracing/pom.xml
index e6f7ccfb52e..9dd0f09d7de 100644
--- a/agent/plugins/tracing/pom.xml
+++ b/agent/plugins/tracing/pom.xml
@@ -40,9 +40,6 @@
     
     <build>
         <plugins>
-            <plugin>
-                <artifactId>maven-jar-plugin</artifactId>
-            </plugin>
             <plugin>
                 <artifactId>maven-shade-plugin</artifactId>
                 <configuration>
diff --git a/agent/plugins/tracing/test/pom.xml b/agent/plugins/tracing/test/pom.xml
index edfef877b62..d9ef5f23b01 100644
--- a/agent/plugins/tracing/test/pom.xml
+++ b/agent/plugins/tracing/test/pom.xml
@@ -61,15 +61,4 @@
             <scope>compile</scope>
         </dependency>
     </dependencies>
-    
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-shade-plugin</artifactId>
-                <configuration>
-                    <outputFile>${project.build.directory}/${project.build.finalName}</outputFile>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
 </project>
diff --git a/agent/plugins/tracing/type/pom.xml b/agent/plugins/tracing/type/pom.xml
index 7f940188a52..5bf224f2b88 100644
--- a/agent/plugins/tracing/type/pom.xml
+++ b/agent/plugins/tracing/type/pom.xml
@@ -49,9 +49,6 @@
     
     <build>
         <plugins>
-            <plugin>
-                <artifactId>maven-jar-plugin</artifactId>
-            </plugin>
             <plugin>
                 <artifactId>maven-shade-plugin</artifactId>
                 <configuration>