Skip to content

Commit 99dbb2f

Browse files
committed
[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.
1 parent b9230a5 commit 99dbb2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/docker/build-stateful-functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ flink_template="${basedir}/flink-distribution-template"
3333
#
3434
# check if the artifacts were build
3535
#
36-
distribution_jar=$(find ${project_root} -type f -name "statefun-flink-distribution*jar" -not -name "*example*")
36+
distribution_jar=$(find ${project_root} -type f -name "statefun-flink-distribution*jar" -not -name "*example*" -not -name "*sources*" -not -name "*javadoc*")
3737
if [[ -z "${distribution_jar}" ]]; then
3838
echo "unable to find statefun-flink-distribution jar, please build the maven project first"
3939
exit 1
4040
fi
41-
core_jar=$(find ${project_root} -type f -name "statefun-flink-core*jar")
41+
core_jar=$(find ${project_root} -type f -name "statefun-flink-core*jar" -not -name "*javadoc*" -not -name "*sources*")
4242
if [[ -z "${core_jar}" ]]; then
4343
echo "unable to find statefun-flink-core jar, please build the maven project first"
4444
exit 2

0 commit comments

Comments
 (0)