提交 742658c2 编写于 作者: T Till Rohrmann

[FLINK-10772][release] Fix create_binary_release.sh

Remove the unnecessary call to change_scala_version.sh and remove the
-Dmaven.test.skip=true property. The latter is necessary because this
property suppresses the compilation and packaging of test classes. It,
however, does not suppress the resolution of test dependencies which
will then fail to compile because test dependencies have not been built.

This commit also removes the redundant call to build
flink-shaded/hadoop/flink-shaded-hadoop2-uber which is a dependency
of flink-dist anyway.
上级 413a7715
......@@ -78,8 +78,7 @@ make_binary_release() {
fi
# enable release profile here (to check for the maven version)
tools/change-scala-version.sh ${SCALA_VERSION}
$MVN clean package $FLAGS -Prelease -pl flink-shaded-hadoop/flink-shaded-hadoop2-uber,flink-dist -am -Dgpg.skip -Dcheckstyle.skip=true -DskipTests -Dmaven.test.skip=true
$MVN clean package $FLAGS -Prelease -pl flink-dist -am -Dgpg.skip -Dcheckstyle.skip=true -DskipTests
cd flink-dist/target/flink-*-bin/
tar czf "${dir_name}.tgz" flink-*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册