Repository navigation
Map classpath-exception license names to non-deprecated SPDX expressions - #999
Draft
afalhambra-hivemq wants to merge 2 commits into
Draft
afalhambra-hivemq wants to merge 2 commits into
afalhambra-hivemq wants to merge 2 commits into
Conversation
Signed-off-by: Antonio Fernandez Alhambra <antonio.alhambra@hivemq.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 4 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
…c License, version 2" and its Classpath Exception spelling Signed-off-by: Antonio Fernandez Alhambra <antonio.alhambra@hivemq.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #998.
license-mapping.jsonresolved nine license names toGPL-2.0-with-classpath-exception, an id SPDX deprecated in license list version 2.0rc2. They now map to the replacement SPDX names:GPL-2.0-with-classpath-exceptionbecomes(GPL-2.0-only WITH Classpath-exception-2.0)(CDDL-1.0 OR GPL-2.0-with-classpath-exception)becomes(CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0)Two names that POMs in the wild use are missing from the table altogether and reach BOMs as bare names, with no SPDX id; they join the fix:
org.jboss.resteasy:resteasy-tracing-api) joins the classpath-exception names aboveorg.rocksdb:rocksdbjni) maps toGPL-2.0-onlyLicenseResolverTestcovers all eleven names.Behaviour change: the seven GPL names now resolve to an
Expressioninstead of aLicense. cyclonedx-gradle-plugin and cyclonedx-maven-plugin replace a component's other licenses when they receive an expression (details in #998), so this should merge after CycloneDX/cyclonedx-gradle-plugin#980. It stays a draft until then.