license-maven-plugin
license-maven-plugin copied to clipboard
aggregate-download-licenses: downloaded license texts from WWW or locally fetched ones are missing their file extensions
I have set the "licensesConfigFile"'s URL element to use some WWW Urls as well as some local files (using the file:// descriptor - see #428)
Result of a mvn clean package in the "licensesOutputDirectory ":
-
For the local license texts defined with the file:// descriptor: the original extensions (.html and .txt) of all files are removed https://github.com/mojohaus/license-maven-plugin/blob/3f66788dd1ac8c87edcef5626c25d678a792e8dd/src/main/java/org/codehaus/mojo/license/download/LicenseDownloader.java#L187 No extension is set explicitly or taken from the input file.
-
For the downloaded license texts: some files have an extension but most of them are missing them.
Result screenshot: