license-maven-plugin
license-maven-plugin copied to clipboard
overrideFile is deprecated
I’m not sure I understand everything correctly, but it seems to me that overrideFile
should not have been deprecated, because the newer overrideUrl
property cannot be used to reproduce the previous behavior.
overrideUrl
only allows URLs, which are absolute, thus AFAIK cannot be used to point to a file inside the repository. (I guess on Linux it might be possible, using stuff like ${project.source.directory}
to assemble a file:
URL, but on Windows that will return some C:\path\with\drive\letter
, which can’t do the same thing.
Using overrideFile
, you can just put the override file anywhere inside the repository. With overrideUrl
, you need to pick one of:
- put the file on a web server, which requires a server and means no build is possible without a network connection
- use some hard-coded
file:
URL, which means you can’t just get the repo and build, you need to place the in a particular path - use the default path, which is inconvenient
similar to ##411
Any solution on that?