Skip to content

Commit

Permalink
[FLINK-21762][metrics][prometheus] Remove flink-runtime dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Jul 17, 2021
1 parent 7c3bfd4 commit 8807db1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion flink-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ under the License.

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-metrics-prometheus_${scala.binary.version}</artifactId>
<artifactId>flink-metrics-prometheus</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion flink-dist/src/main/assemblies/plugins.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</file>

<file>
<source>../flink-metrics/flink-metrics-prometheus/target/flink-metrics-prometheus_${scala.binary.version}-${project.version}.jar</source>
<source>../flink-metrics/flink-metrics-prometheus/target/flink-metrics-prometheus-${project.version}.jar</source>
<outputDirectory>plugins/metrics-prometheus/</outputDirectory>
<destName>flink-metrics-prometheus-${project.version}.jar</destName>
<fileMode>0644</fileMode>
Expand Down
2 changes: 1 addition & 1 deletion flink-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-metrics-prometheus_${scala.binary.version}</artifactId>
<artifactId>flink-metrics-prometheus</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-metrics-prometheus_${scala.binary.version}</artifactId>
<artifactId>flink-metrics-prometheus</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
Expand Down
16 changes: 8 additions & 8 deletions flink-metrics/flink-metrics-prometheus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ under the License.
<relativePath>..</relativePath>
</parent>

<artifactId>flink-metrics-prometheus_${scala.binary.version}</artifactId>
<artifactId>flink-metrics-prometheus</artifactId>
<name>Flink : Metrics : Prometheus</name>

<dependencies>
Expand All @@ -47,13 +47,6 @@ under the License.
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-metrics-core</artifactId>
Expand Down Expand Up @@ -89,6 +82,13 @@ under the License.
<type>test-jar</type>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime_${scala.binary.version}</artifactId>
Expand Down

0 comments on commit 8807db1

Please sign in to comment.