-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let *download-licenses store the name of the downloaded file in licenses.xml #158
Comments
file in licenses.xml Closes - mojohaus#158
Patch available in #157 |
file in licenses.xml Closes - mojohaus#158
Fix #158 Let *download-licenses store the name of the downloaded file…
Testing on master. I think I am seeing a regression caused by this change. If the license.xml exists but includes a reference to a license that previously failed to download (a 404 in my case), a second Maven invocation reports the following NPE. I attach a license.xml. I can see the failing case is from https://glassfish.java.net/public/CDDL+GPL_1_1.html (which gives a 404). The XML stored for it lacks a
|
We create an HTML report out of licenses.xml where we are adding a link to the downloaded license file. It is currently impossible to reliably figure what the downloaded file name is. Thus I am proposing the following:
There will be a new
<file>
element under<license>
in licenses.xml.<file>
would be written into licenses.xml by the AbstractDownloadLicensesMojo.Any reason why I should not send a patch?
The text was updated successfully, but these errors were encountered: