From a482eaf37fc96dca54646f4a4d5008b604bb5a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=8B=87=E5=8D=87=20pengys?= <8082209@qq.com> Date: Tue, 26 Mar 2019 20:10:12 +0800 Subject: [PATCH] 1. Fixed the warning of 'parent.relativePath' points issue when running the mvn package command. (#2404) 2. Fixed the warning of duplicate declaration of plugin issue when running the mvn package command. 3. Fixed the warning of duplicate declaration of mysql connector jar when running the mvn package command, because of provided scope include test scope. 4. Fixed the warning of expression ${artifactId} is deprecated issue when running the mvn package command. 5. Fixed the warning of expression ${version} is deprecated issue when running the mvn package command. --- apm-checkstyle/pom.xml | 1 + apm-commons/apm-util/pom.xml | 3 ++- apm-sniffer/apm-agent-core/pom.xml | 4 ++-- apm-sniffer/apm-sdk-plugin/mysql-5.x-plugin/pom.xml | 9 ++------- apm-sniffer/apm-sdk-plugin/mysql-6.x-plugin/pom.xml | 9 ++------- apm-sniffer/apm-sdk-plugin/mysql-8.x-plugin/pom.xml | 9 ++------- .../zipkin-receiver-plugin/pom.xml | 7 ++----- pom.xml | 7 ++----- 8 files changed, 15 insertions(+), 34 deletions(-) diff --git a/apm-checkstyle/pom.xml b/apm-checkstyle/pom.xml index 90154638c..7b19433f0 100644 --- a/apm-checkstyle/pom.xml +++ b/apm-checkstyle/pom.xml @@ -22,6 +22,7 @@ org.apache apache 19 + 4.0.0 diff --git a/apm-commons/apm-util/pom.xml b/apm-commons/apm-util/pom.xml index 3aec7b616..7c0a17545 100644 --- a/apm-commons/apm-util/pom.xml +++ b/apm-commons/apm-util/pom.xml @@ -16,7 +16,8 @@ ~ --> - + apm-commons org.apache.skywalking diff --git a/apm-sniffer/apm-agent-core/pom.xml b/apm-sniffer/apm-agent-core/pom.xml index 5ee6327fd..5c68d0cc0 100644 --- a/apm-sniffer/apm-agent-core/pom.xml +++ b/apm-sniffer/apm-agent-core/pom.xml @@ -246,13 +246,13 @@ - + - + diff --git a/apm-sniffer/apm-sdk-plugin/mysql-5.x-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/mysql-5.x-plugin/pom.xml index ce5059092..859dd3689 100755 --- a/apm-sniffer/apm-sdk-plugin/mysql-5.x-plugin/pom.xml +++ b/apm-sniffer/apm-sdk-plugin/mysql-5.x-plugin/pom.xml @@ -16,7 +16,8 @@ ~ --> - + apm-sdk-plugin org.apache.skywalking @@ -36,12 +37,6 @@ - - mysql - mysql-connector-java - ${mysql-connector-java.version} - test - mysql mysql-connector-java diff --git a/apm-sniffer/apm-sdk-plugin/mysql-6.x-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/mysql-6.x-plugin/pom.xml index 639ce24f0..fe2220d16 100755 --- a/apm-sniffer/apm-sdk-plugin/mysql-6.x-plugin/pom.xml +++ b/apm-sniffer/apm-sdk-plugin/mysql-6.x-plugin/pom.xml @@ -16,7 +16,8 @@ ~ --> - + apm-sdk-plugin org.apache.skywalking @@ -36,12 +37,6 @@ - - mysql - mysql-connector-java - ${mysql-connector-java.version} - test - mysql mysql-connector-java diff --git a/apm-sniffer/apm-sdk-plugin/mysql-8.x-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/mysql-8.x-plugin/pom.xml index ac8f4efc4..611c63f78 100755 --- a/apm-sniffer/apm-sdk-plugin/mysql-8.x-plugin/pom.xml +++ b/apm-sniffer/apm-sdk-plugin/mysql-8.x-plugin/pom.xml @@ -16,7 +16,8 @@ ~ --> - + apm-sdk-plugin org.apache.skywalking @@ -36,12 +37,6 @@ - - mysql - mysql-connector-java - ${mysql-connector-java.version} - test - mysql mysql-connector-java diff --git a/oap-server/server-receiver-plugin/zipkin-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/zipkin-receiver-plugin/pom.xml index e6d571f9d..d2adbc1fa 100644 --- a/oap-server/server-receiver-plugin/zipkin-receiver-plugin/pom.xml +++ b/oap-server/server-receiver-plugin/zipkin-receiver-plugin/pom.xml @@ -17,7 +17,8 @@ ~ --> - + server-receiver-plugin org.apache.skywalking @@ -47,9 +48,5 @@ io.zipkin.zipkin2 zipkin - - com.github.ben-manes.caffeine - caffeine - \ No newline at end of file diff --git a/pom.xml b/pom.xml index 0c3ebb95b..181f86fe5 100644 --- a/pom.xml +++ b/pom.xml @@ -29,6 +29,7 @@ org.apache apache 21 + @@ -217,6 +218,7 @@ org.codehaus.mojo exec-maven-plugin + ${exec-maven-plugin.version} git submodule update @@ -244,11 +246,6 @@ maven ${takari-maven-plugin.version} - - org.codehaus.mojo - exec-maven-plugin - ${exec-maven-plugin.version} - maven-antrun-plugin ${maven-antrun-plugin.version}