Repository: flink Updated Branches: refs/heads/master f250d95b7 -> 2ec2abfae
[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 Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/2ec2abfa Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/2ec2abfa Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/2ec2abfa Branch: refs/heads/master Commit: 2ec2abfae58102af2d29ac65ac907f114ade4839 Parents: f250d95 Author: Nico Kruber <[email protected]> Authored: Wed Feb 15 15:50:45 2017 +0100 Committer: Stephan Ewen <[email protected]> Committed: Thu Feb 16 10:52:14 2017 +0100 ---------------------------------------------------------------------- flink-dist/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/2ec2abfa/flink-dist/pom.xml ---------------------------------------------------------------------- diff --git a/flink-dist/pom.xml b/flink-dist/pom.xml index 7627778..0eea0aa 100644 --- a/flink-dist/pom.xml +++ b/flink-dist/pom.xml @@ -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>
