Closed digulla closed 5 years ago
A couple of unit tests under https://github.com/mojohaus/license-maven-plugin/tree/master/src/test/java/org/codehaus/mojo/license would be highly welcome that would cover not only this broken case but also the cases that work properly now.
Can you please include the fix in 1.21? I tested it locally and without the fix, the functionality is completely broken for us.
You can then leave this issue open to add the unit tests later or create another issue for the tests.
Can you please include the fix in 1.21?
I am ready to review a PR from you and I will require the tests to merge it. The tests are for your own safety, so that it cannot happen that somebody breaks your stuff next day after the fix was merged.
Once the PR is merged, I have no problem to release promptly.
There is a bug in the code which processes the overrideUrl in org.codehaus.mojo.license.LicenseMojoUtils.prepareUrl(String, File, String, File, String):
should be