Skip to content
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

Infer "licenseName" from POM "licenses.license.name" #155

Open
dmak opened this issue Nov 7, 2018 · 1 comment
Open

Infer "licenseName" from POM "licenses.license.name" #155

dmak opened this issue Nov 7, 2018 · 1 comment

Comments

@dmak
Copy link

dmak commented Nov 7, 2018

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.

@ppalaga
Copy link
Contributor

ppalaga commented Jan 4, 2019

A PR with an integration test would be welcome.

@ppalaga ppalaga added this to the Backlog milestone Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants