You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by xt...@apache.org on 2022/01/26 02:04:56 UTC

[flink] 01/02: [hotfix][dist] Include flink-gs-fs-hadoop into flink-dist

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

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

commit d1b6cf652def2141507a50758ea1de258f2e1cc7
Author: Xintong Song <to...@gmail.com>
AuthorDate: Thu Jan 20 13:17:53 2022 +0800

    [hotfix][dist] Include flink-gs-fs-hadoop into flink-dist
---
 flink-dist/pom.xml                     | 17 +++++++++++++++++
 flink-dist/src/main/assemblies/opt.xml |  7 +++++++
 2 files changed, 24 insertions(+)

diff --git a/flink-dist/pom.xml b/flink-dist/pom.xml
index f949105..5a55d8f 100644
--- a/flink-dist/pom.xml
+++ b/flink-dist/pom.xml
@@ -423,6 +423,23 @@ under the License.
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
+			<artifactId>flink-gs-fs-hadoop</artifactId>
+			<version>${project.version}</version>
+			<scope>provided</scope>
+			<exclusions>
+				<!--
+					Despite at provided scope, grpc artifacts can cause dependency resolving errors,
+					unstably, during javadoc aggregation.
+				 -->
+				<exclusion>
+					<groupId>io.grpc</groupId>
+					<artifactId>*</artifactId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.flink</groupId>
 			<artifactId>flink-queryable-state-runtime</artifactId>
 			<version>${project.version}</version>
 			<scope>provided</scope>
diff --git a/flink-dist/src/main/assemblies/opt.xml b/flink-dist/src/main/assemblies/opt.xml
index 8320948..364151b 100644
--- a/flink-dist/src/main/assemblies/opt.xml
+++ b/flink-dist/src/main/assemblies/opt.xml
@@ -102,6 +102,13 @@
 			<fileMode>0644</fileMode>
 		</file>
 
+		<file>
+			<source>../flink-filesystems/flink-gs-fs-hadoop/target/flink-gs-fs-hadoop-${project.version}.jar</source>
+			<outputDirectory>opt/</outputDirectory>
+			<destName>flink-gs-fs-hadoop-${project.version}.jar</destName>
+			<fileMode>0644</fileMode>
+		</file>
+
 		<!-- Queryable State -->
 		<file>
 			<source>../flink-queryable-state/flink-queryable-state-runtime/target/flink-queryable-state-runtime-${project.version}.jar</source>