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

Allow splitting of licenses #138

Open
reitzmichnicht opened this issue Jun 5, 2018 · 3 comments
Open

Allow splitting of licenses #138

reitzmichnicht opened this issue Jun 5, 2018 · 3 comments

Comments

@reitzmichnicht
Copy link

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>
@ppalaga
Copy link
Contributor

ppalaga commented Jan 4, 2019

Please explain better (1) sum up the current behavior (2) what is wrong with the current behavior and (3) what is the expected behavior

@ppalaga
Copy link
Contributor

ppalaga commented Jan 4, 2019

Which goals are affected?

@reitzmichnicht
Copy link
Author

Often the license information in the pom.xml looks like this:

    <licenses>
        <license>
            <name>CDDL + GPLv2 with classpath exception</name>
            <url>http://glassfish.java.net/nonav/public/CDDL+GPL.html</url>
            <distribution>repo</distribution>
            <comments>A business-friendly OSS license</comments>
        </license>
    </licenses>

When running the goal license:aggregate-add-third-party for example it is not possible to configure 2 license merges for the same string as described above. That makes it hard to maintain blacklists.

Kind regards,
Michael

@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