maven-dependency-plugin
maven-dependency-plugin copied to clipboard
[MDEP-437] - mdep.link=true creates symlink instead of physical copy
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.
- [x] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004
How is this IT supposed to pass on Windows?
How is this IT supposed to pass on Windows?
We could simply skip it.
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?
As there had been no further change requests, I hereby ask everybody for review. :-)