You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2020/03/04 14:10:19 UTC

[flink] 01/02: [FLINK-10917][build] Move&rename drowpizard property

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 8b9af0a2c3205f48e35b320396ed9839e68057c0
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Tue Mar 3 14:28:01 2020 +0100

    [FLINK-10917][build] Move&rename drowpizard property
    
    This property is only relevant for metrics; hence there's no reason for this property to be defined in the root pom.
    The name was changed since it was inconsistent with current naming conventions (<library>.version).
---
 flink-metrics/flink-metrics-dropwizard/pom.xml | 2 +-
 flink-metrics/flink-metrics-graphite/pom.xml   | 4 ++--
 flink-metrics/pom.xml                          | 4 ++++
 pom.xml                                        | 1 -
 4 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/flink-metrics/flink-metrics-dropwizard/pom.xml b/flink-metrics/flink-metrics-dropwizard/pom.xml
index 04e48bb..7d031c8 100644
--- a/flink-metrics/flink-metrics-dropwizard/pom.xml
+++ b/flink-metrics/flink-metrics-dropwizard/pom.xml
@@ -50,7 +50,7 @@ under the License.
 		<dependency>
 			<groupId>io.dropwizard.metrics</groupId>
 			<artifactId>metrics-core</artifactId>
-			<version>${metrics.version}</version>
+			<version>${dropwizard.version}</version>
 		</dependency>
 
 
diff --git a/flink-metrics/flink-metrics-graphite/pom.xml b/flink-metrics/flink-metrics-graphite/pom.xml
index b4f511d..e530c6f 100644
--- a/flink-metrics/flink-metrics-graphite/pom.xml
+++ b/flink-metrics/flink-metrics-graphite/pom.xml
@@ -56,13 +56,13 @@ under the License.
 		<dependency>
 			<groupId>io.dropwizard.metrics</groupId>
 			<artifactId>metrics-core</artifactId>
-			<version>${metrics.version}</version>
+			<version>${dropwizard.version}</version>
 		</dependency>
 
 		<dependency>
 			<groupId>io.dropwizard.metrics</groupId>
 			<artifactId>metrics-graphite</artifactId>
-			<version>${metrics.version}</version>
+			<version>${dropwizard.version}</version>
 		</dependency>
 	</dependencies>
 
diff --git a/flink-metrics/pom.xml b/flink-metrics/pom.xml
index 392174f..9b71fa7 100644
--- a/flink-metrics/pom.xml
+++ b/flink-metrics/pom.xml
@@ -33,6 +33,10 @@ under the License.
 	<name>flink-metrics</name>
 	<packaging>pom</packaging>
 
+	<properties>
+		<dropwizard.version>3.1.5</dropwizard.version>
+	</properties>
+
 	<modules>
 		<module>flink-metrics-core</module>
 		<module>flink-metrics-dropwizard</module>
diff --git a/pom.xml b/pom.xml
index f8e8315..3088d63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,7 +123,6 @@ under the License.
 		<!-- Only the curator2 TestingServer works with ZK 3.4 -->
 		<curator.version>2.12.0</curator.version>
 		<jackson.version>2.10.1</jackson.version>
-		<metrics.version>3.1.5</metrics.version>
 		<prometheus.version>0.3.0</prometheus.version>
 		<avro.version>1.8.2</avro.version>
 		<javax.activation.api.version>1.2.0</javax.activation.api.version>