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/08/09 07:40:48 UTC

[flink] branch master updated: [FLINK-23661][build] Use standard maven dependency resolution for protobuf plugin

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 b19ec10  [FLINK-23661][build] Use standard maven dependency resolution for protobuf plugin
b19ec10 is described below

commit b19ec1087cc4483934bbcc8c7fb0af2f724308a0
Author: Yubin Li <li...@163.com>
AuthorDate: Mon Aug 9 15:40:37 2021 +0800

    [FLINK-23661][build] Use standard maven dependency resolution for protobuf plugin
    
    When the "protocArtifact" configuration parameter is used then the plugin downloads protoc via maven, and not it's own mechanism.
---
 flink-python/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-python/pom.xml b/flink-python/pom.xml
index 14b3fa0..89bcaf7 100644
--- a/flink-python/pom.xml
+++ b/flink-python/pom.xml
@@ -413,7 +413,7 @@ under the License.
 							<goal>run</goal>
 						</goals>
 						<configuration>
-							<protocVersion>${protoc.version}</protocVersion>
+							<protocArtifact>com.google.protobuf:protoc:${protoc.version}</protocArtifact>
 							<inputDirectories>
 								<include>pyflink/proto</include>
 							</inputDirectories>