Skip to content

Commit

Permalink
[FLINK-5814] [build] Fix packaging flink-dist in unclean source direc…
Browse files Browse the repository at this point in the history
…tory

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 apache#3331
  • Loading branch information
Nico Kruber authored and StephanEwen committed Feb 16, 2017
1 parent 3429ea0 commit 6114c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flink-dist/pom.xml
Expand Up @@ -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>
Expand Down

0 comments on commit 6114c5b

Please sign in to comment.