maven-dependency-plugin icon indicating copy to clipboard operation
maven-dependency-plugin copied to clipboard

[MDEP-437] - mdep.link=true creates symlink instead of physical copy

Open mkarg opened this issue 4 years ago • 4 comments

This PR proposes an implementation of [MDEP-437]: It provides a new property mdep.link=true (default is false) which lets the copy mojo produce symlinks instead of physical copies.

The benefit is that the user of this mojo now has control whether to invest time and space for real copies, or whether to spare it and just live with symbolic links.

mkarg avatar Jul 29 '20 21:07 mkarg

How is this IT supposed to pass on Windows?

michael-o avatar Jul 29 '20 22:07 michael-o

How is this IT supposed to pass on Windows?

We could simply skip it.

mkarg avatar Jul 30 '20 17:07 mkarg

How is this IT supposed to pass on Windows?

I have added a check that (as best as it can) solves the problem with Windows by checking if symlinks are supported at all. Test drive with Linux and Windows worked well. @michael-o WDYT?

mkarg avatar Aug 28 '20 22:08 mkarg

As there had been no further change requests, I hereby ask everybody for review. :-)

mkarg avatar Sep 05 '20 10:09 mkarg