提交 2ec2abfa 编写于 作者: N Nico Kruber 提交者: Stephan Ewen

[FLINK-5814] [build] Fix packaging flink-dist in unclean source directory

If "<flink-dir>/build-target" already existed, running 'mvn package' for
flink-dist would create a symbolic link inside "<flink-dir>/build-target"
instead of replacing that symlink. This commit fixes this behaviour of 'ln -sf'
by adding the --no-dereference parameter.

This closes #3331
上级 f250d95b
......@@ -275,7 +275,7 @@ under the License.
<configuration>
<executable>ln</executable>
<arguments>
<argument>-sf</argument>
<argument>-sfn</argument>
<argument>${project.basedir}/target/flink-${project.version}-bin/flink-${project.version}</argument>
<argument>${project.basedir}/../build-target</argument>
</arguments>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册