mojohaus/license-maven-plugin

License plugin sends mixed signals for multi-license projects with forbidden licenses

Open

#332 opened on May 9, 2019

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Java (127 forks)auto 404
add-third-partyenhancementhelp wanted

Repository metrics

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

Description

I have a problem with this dependency:

[INFO] License: 'GPL v2' for 'MavenProject: com.rabbitmq:amqp-client:5.4.3 @ 'is OK since it is also licensed under 'Apache License, Version 2.0'
[WARNING] There are 1 forbidden licenses used:
[WARNING] License: 'GPL v2' used by 1 dependencies:
 -RabbitMQ Java Client (com.rabbitmq:amqp-client:5.4.3 - http://www.rabbitmq.com)

In my config, I'm allowing APLv2 but forbid (with <excludedLicenses>) GPLv2.

I would prefer not to get the warning in this case.

Contributor guide