mojohaus/license-maven-plugin

Allow splitting of licenses

Open

#138 opened on Jun 5, 2018

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

Repository metrics

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

Description

Projects often declare 2 different licences as single license.

For Example: CDDL+GPLv2

Would be great to merge this to 2 different licenses.

Currently I have

<licenseMerge>Common Development and Distribution License, Version 1.0) (GNU General Public License, Version 2 with the Classpath Exception|
                COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) plus GPL|
                CDDL/GPLv2+CE|
                CDDL or GPLv2 with exceptions|
                CDDL+GPLv2|
                CDDL+GPL|
                CDDL+GPL License|
                CDDL + GPLv2 with classpath exception
              </licenseMerge>

But I need this which is not allowed:

            <licenseMerge>Common Development and Distribution License, Version 1.0|
               COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) plus GPL|
               CDDL/GPLv2+CE|
               CDDL or GPLv2 with exceptions|
               CDDL+GPLv2|
               CDDL+GPL|
               CDDL+GPL License|
               CDDL + GPLv2 with classpath exception
             </licenseMerge>
             <licenseMerge>GNU General Public License, Version 2 with the Classpath Exception|
               COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) plus GPL|
               CDDL/GPLv2+CE|
               CDDL or GPLv2 with exceptions|
               CDDL+GPLv2|
               CDDL+GPL|
               CDDL+GPL License|
               CDDL + GPLv2 with classpath exception
             </licenseMerge>

Contributor guide