[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 file changed