From 665a07cb0f97316c6c98425d1a0fcf363214483e Mon Sep 17 00:00:00 2001 From: Zhenxu Ke Date: Wed, 24 Feb 2021 07:05:56 +0800 Subject: [PATCH] Clean up some warnings in maven build (#6426) --- apm-dist-es7/pom.xml | 6 ++-- apm-dist-es7/src/main/assembly/binary-es7.xml | 30 +++++++------------ apm-dist/pom.xml | 6 ++-- apm-dist/src/main/assembly/binary.xml | 30 +++++++------------ apm-sniffer/apm-agent-core/pom.xml | 4 +-- apm-sniffer/apm-agent/pom.xml | 8 ++--- apm-sniffer/apm-sdk-plugin/pom.xml | 4 +-- apm-sniffer/apm-toolkit-activation/pom.xml | 4 +-- apm-sniffer/bootstrap-plugins/pom.xml | 6 ++-- apm-sniffer/optional-plugins/pom.xml | 6 ++-- .../kafka-reporter-plugin/pom.xml | 6 ++-- .../server-library/library-util/pom.xml | 5 ---- .../service/metrics/v2/metrics_service.proto | 6 ---- 13 files changed, 45 insertions(+), 76 deletions(-) diff --git a/apm-dist-es7/pom.xml b/apm-dist-es7/pom.xml index 3910071e9..5bf8e4040 100644 --- a/apm-dist-es7/pom.xml +++ b/apm-dist-es7/pom.xml @@ -106,13 +106,13 @@ run - + - + - \ No newline at end of file + diff --git a/apm-dist-es7/src/main/assembly/binary-es7.xml b/apm-dist-es7/src/main/assembly/binary-es7.xml index 060bbd22d..337217b65 100644 --- a/apm-dist-es7/src/main/assembly/binary-es7.xml +++ b/apm-dist-es7/src/main/assembly/binary-es7.xml @@ -27,7 +27,7 @@ ${project.basedir}/../dist-material/bin - /bin + bin *.sh *.bat @@ -36,7 +36,7 @@ ${project.basedir}/../dist-material - /config + config log4j2.xml alarm-settings.yml @@ -44,7 +44,7 @@ ${project.basedir}/../dist-material - / + config-examples/* @@ -68,49 +68,39 @@ lal/* log-mal-rules/* - /config + config ${project.basedir}/../oap-server/server-starter-es7/target/skywalking-oap-assembly/skywalking-oap/libs - /oap-libs + oap-libs ${project.basedir}/../skywalking-agent - /agent + agent ${project.basedir}/../tools/profile-exporter - /tools/profile-exporter - - - - - ${project.basedir}/../ - / - - DISCLAIMER - CHANGES - + tools/profile-exporter ${project.basedir}/../dist-material/release-docs - / + ${project.basedir}/../apm-webapp/target/skywalking-webapp.jar - /webapp + webapp 0644 ${project.basedir}/../apm-webapp/src/main/assembly/webapp.yml - /webapp + webapp 0644 diff --git a/apm-dist/pom.xml b/apm-dist/pom.xml index dcae68527..17d08a404 100644 --- a/apm-dist/pom.xml +++ b/apm-dist/pom.xml @@ -106,13 +106,13 @@ run - + - + - \ No newline at end of file + diff --git a/apm-dist/src/main/assembly/binary.xml b/apm-dist/src/main/assembly/binary.xml index a81c44daf..562fe8b11 100644 --- a/apm-dist/src/main/assembly/binary.xml +++ b/apm-dist/src/main/assembly/binary.xml @@ -27,7 +27,7 @@ ${project.basedir}/../dist-material/bin - /bin + bin *.sh *.bat @@ -36,7 +36,7 @@ ${project.basedir}/../dist-material - /config + config log4j2.xml alarm-settings.yml @@ -44,7 +44,7 @@ ${project.basedir}/../dist-material - / + config-examples/* @@ -68,49 +68,39 @@ lal/* log-mal-rules/* - /config + config ${project.basedir}/../oap-server/server-starter/target/skywalking-oap-assembly/skywalking-oap/libs - /oap-libs + oap-libs ${project.basedir}/../skywalking-agent - /agent + agent ${project.basedir}/../tools/profile-exporter - /tools/profile-exporter - - - - - ${project.basedir}/../ - / - - DISCLAIMER - CHANGES - + tools/profile-exporter ${project.basedir}/../dist-material/release-docs - / + ${project.basedir}/../apm-webapp/target/skywalking-webapp.jar - /webapp + webapp 0644 ${project.basedir}/../apm-webapp/src/main/assembly/webapp.yml - /webapp + webapp 0644 diff --git a/apm-sniffer/apm-agent-core/pom.xml b/apm-sniffer/apm-agent-core/pom.xml index e9fe1fb85..3aad32390 100644 --- a/apm-sniffer/apm-agent-core/pom.xml +++ b/apm-sniffer/apm-agent-core/pom.xml @@ -239,9 +239,9 @@ run - + - + diff --git a/apm-sniffer/apm-agent/pom.xml b/apm-sniffer/apm-agent/pom.xml index 6285c1802..81bd232e5 100644 --- a/apm-sniffer/apm-agent/pom.xml +++ b/apm-sniffer/apm-agent/pom.xml @@ -116,9 +116,9 @@ run - + - + @@ -128,13 +128,13 @@ run - + - + diff --git a/apm-sniffer/apm-sdk-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/pom.xml index fc4605549..202ddef85 100644 --- a/apm-sniffer/apm-sdk-plugin/pom.xml +++ b/apm-sniffer/apm-sdk-plugin/pom.xml @@ -189,7 +189,7 @@ run - + @@ -199,7 +199,7 @@ - + diff --git a/apm-sniffer/apm-toolkit-activation/pom.xml b/apm-sniffer/apm-toolkit-activation/pom.xml index 1bf1c52a2..12146fd23 100644 --- a/apm-sniffer/apm-toolkit-activation/pom.xml +++ b/apm-sniffer/apm-toolkit-activation/pom.xml @@ -115,7 +115,7 @@ run - + @@ -125,7 +125,7 @@ - + diff --git a/apm-sniffer/bootstrap-plugins/pom.xml b/apm-sniffer/bootstrap-plugins/pom.xml index 18f611aa3..a65219caa 100644 --- a/apm-sniffer/bootstrap-plugins/pom.xml +++ b/apm-sniffer/bootstrap-plugins/pom.xml @@ -101,7 +101,7 @@ run - + @@ -110,7 +110,7 @@ - + @@ -136,4 +136,4 @@ - \ No newline at end of file + diff --git a/apm-sniffer/optional-plugins/pom.xml b/apm-sniffer/optional-plugins/pom.xml index b7984133d..3742b7ae4 100644 --- a/apm-sniffer/optional-plugins/pom.xml +++ b/apm-sniffer/optional-plugins/pom.xml @@ -106,7 +106,7 @@ run - + @@ -115,7 +115,7 @@ - + @@ -141,4 +141,4 @@ - \ No newline at end of file + diff --git a/apm-sniffer/optional-reporter-plugins/kafka-reporter-plugin/pom.xml b/apm-sniffer/optional-reporter-plugins/kafka-reporter-plugin/pom.xml index a2b75d484..6f7b27dc3 100644 --- a/apm-sniffer/optional-reporter-plugins/kafka-reporter-plugin/pom.xml +++ b/apm-sniffer/optional-reporter-plugins/kafka-reporter-plugin/pom.xml @@ -118,7 +118,7 @@ run - + @@ -127,7 +127,7 @@ - + @@ -153,4 +153,4 @@ - \ No newline at end of file + diff --git a/oap-server/server-library/library-util/pom.xml b/oap-server/server-library/library-util/pom.xml index 0066ff8ac..606666b68 100644 --- a/oap-server/server-library/library-util/pom.xml +++ b/oap-server/server-library/library-util/pom.xml @@ -37,11 +37,6 @@ joda-time joda-time - - org.yaml - snakeyaml - test - com.github.stefanbirkner system-rules diff --git a/oap-server/server-receiver-plugin/receiver-proto/src/main/proto/envoy/service/metrics/v2/metrics_service.proto b/oap-server/server-receiver-plugin/receiver-proto/src/main/proto/envoy/service/metrics/v2/metrics_service.proto index 9cca707b8..57aefd431 100644 --- a/oap-server/server-receiver-plugin/receiver-proto/src/main/proto/envoy/service/metrics/v2/metrics_service.proto +++ b/oap-server/server-receiver-plugin/receiver-proto/src/main/proto/envoy/service/metrics/v2/metrics_service.proto @@ -10,12 +10,6 @@ option java_generic_services = true; import "envoy/service/metrics/v3/metrics_service.proto"; -// This line is different from the definition in https://github.com/envoyproxy/data-plane-api to let -// the dependency structure clearer. -import "prometheus/client_model/metrics.proto"; - -import "validate/validate.proto"; - // Service for streaming metrics to server that consumes the metrics data. It uses Prometheus metric // data model as a standard to represent metrics information. service MetricsService {