You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2022/01/27 09:48:23 UTC

[flink-statefun] branch master updated: [FLINK-25828] Let build-stateful-functions.sh ignore javadoc and sources jar

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 99dbb2f  [FLINK-25828] Let build-stateful-functions.sh ignore javadoc and sources jar
99dbb2f is described below

commit 99dbb2f83a41e50a70629343334a2dcf4537a0b0
Author: Till Rohrmann <tr...@apache.org>
AuthorDate: Wed Jan 26 15:01:26 2022 +0100

    [FLINK-25828] Let build-stateful-functions.sh ignore javadoc and sources jar
    
    This commit lets the build-stateful-functions.sh script ignore javadoc and sources jars that
    can make the following copy commands to fail.
    
    This closes #285.
---
 tools/docker/build-stateful-functions.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/docker/build-stateful-functions.sh b/tools/docker/build-stateful-functions.sh
index dd74c46..9c17a3e 100755
--- a/tools/docker/build-stateful-functions.sh
+++ b/tools/docker/build-stateful-functions.sh
@@ -33,12 +33,12 @@ flink_template="${basedir}/flink-distribution-template"
 #
 # check if the artifacts were build
 #
-distribution_jar=$(find ${project_root} -type f -name "statefun-flink-distribution*jar" -not -name "*example*")
+distribution_jar=$(find ${project_root} -type f -name "statefun-flink-distribution*jar" -not -name "*example*" -not -name "*sources*" -not -name "*javadoc*")
 if [[ -z "${distribution_jar}" ]]; then
 	echo "unable to find statefun-flink-distribution jar, please build the maven project first"
 	exit 1
 fi
-core_jar=$(find ${project_root} -type f -name "statefun-flink-core*jar")
+core_jar=$(find ${project_root} -type f -name "statefun-flink-core*jar" -not -name "*javadoc*" -not -name "*sources*")
 if [[ -z "${core_jar}" ]]; then
 	echo "unable to find statefun-flink-core jar, please build the maven project first"
 	exit 2