mojohaus/license-maven-plugin

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

Open

#155 opened on Nov 7, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (127 forks)auto 404
enhancementhelp wantedproject-license

Repository metrics

Stars
 (115 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide