license-maven-plugin
license-maven-plugin copied to clipboard
Infer "licenseName" from POM "licenses.license.name"
When executing license:update-project-license
goal with not defined licenseName
it fails with the following message:
[ERROR] Failed to execute goal org.codehaus.mojo:license-maven-plugin:1.16:update-project-license (default): could not init goal UpdateProjectLicenseMojo for reason : licenseName can not be null, nor empty
It would be nice if plugin could learn/infer license name from POM's licenses → license → name
or url
.
A PR with an integration test would be welcome.