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 2021/11/10 13:06:12 UTC

[flink] branch master updated: [FLINK-24827][build] Bump maven-dependency-plugin to 3.2.0

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


The following commit(s) were added to refs/heads/master by this push:
     new 645fadf  [FLINK-24827][build] Bump maven-dependency-plugin to 3.2.0
645fadf is described below

commit 645fadf835b5780ef0f0f3aa4a583936c135d2f1
Author: MartijnVisser <ma...@2symbols.com>
AuthorDate: Wed Nov 10 14:05:50 2021 +0100

    [FLINK-24827][build] Bump maven-dependency-plugin to 3.2.0
---
 flink-python/pyflink/pyflink_gateway_server.py |  2 +-
 pom.xml                                        | 10 +---------
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/flink-python/pyflink/pyflink_gateway_server.py b/flink-python/pyflink/pyflink_gateway_server.py
index a05bbe1..a551f83 100644
--- a/flink-python/pyflink/pyflink_gateway_server.py
+++ b/flink-python/pyflink/pyflink_gateway_server.py
@@ -240,7 +240,7 @@ def download_apache_avro():
                         avro_version_output)
     check_output(
         [mvn,
-         "org.apache.maven.plugins:maven-dependency-plugin:2.10:copy",
+         "org.apache.maven.plugins:maven-dependency-plugin:3.2.0:copy",
          "-Dartifact=org.apache.avro:avro:%s:jar" % avro_version,
          "-DoutputDirectory=%s/flink-formats/flink-avro/target" % flink_source_root],
         cwd=flink_source_root)
diff --git a/pom.xml b/pom.xml
index 4700c7e..27bb543 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1870,15 +1870,7 @@ under the License.
 				<plugin>
 					<groupId>org.apache.maven.plugins</groupId>
 					<artifactId>maven-dependency-plugin</artifactId>
-					<version>3.1.1</version>
-					<dependencies>
-						<dependency>
-							<!-- Required for Java 11 support until 3.1.2 is released -->
-							<groupId>org.apache.maven.shared</groupId>
-							<artifactId>maven-dependency-analyzer</artifactId>
-							<version>1.11.1</version>
-						</dependency>
-					</dependencies>
+					<version>3.2.0</version>
 					<configuration>
 						<ignoredUsedUndeclaredDependencies combine.children="append">
 							<!-- allow using transitive Flink dependencies for brevity -->