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

Add support for SPDX expression resolution #39

Open
stevespringett opened this issue Jul 9, 2020 · 2 comments
Open

Add support for SPDX expression resolution #39

stevespringett opened this issue Jul 9, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@stevespringett
Copy link
Member

SPDX Tools was removed from Java Core v3.0.0 due to introducing a lot of unnecessary dependencies and requiring Internet access by default (could be disabled via system property: SPDXParser.OnlyUseLocalLicenses).

Since the removal of SPDX Tools, CycloneDX Java Core had to implement the SPDX license list (json) as well as license text from the SPDX project. This enhancement request is to add support for SPDX license expressions, which is no longer possible in v3.0.0, back into this library.

There's a potential to introduce a standalone library that provides all of this functionality - similar to SPDX Tools - but without all the extras that go along with it. Possibly similar to https://github.com/nexB/license-expression

@sschuberth
Copy link
Contributor

You might also want to consider ORT's SPDX expression library at https://github.com/oss-review-toolkit/ort/tree/master/spdx-utils. Currently, no separate binary artifacts are published for this, but if you're interested we could do that.

@sschuberth
Copy link
Contributor

Currently, no separate binary artifacts are published for this, but if you're interested we could do that.

By now the library is published at https://mvnrepository.com/artifact/org.ossreviewtoolkit.utils/spdx-utils.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants