apache / apache/maven

[MNG-6677] Ability to declare machine-readable license identifier for project

Open
#8,558 18 comments 1 reaction 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 40m
Merged PRs (30d)
275

Description

**[Vladimir Sitnikov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=vladimirsitnikov)** opened **[MNG-6677](https://issues.apache.org/jira/browse/MNG-6677?redirect=false)** and commented

Current model for license is something, yet it is not machine-friendly.
Developers tend to put random data into `......`, and it is hard to analyze in automatic way.

What if we could use SPDX license identifiers/expressions for license information?

Note: currently POM allows to list multiple \ tags, and it is not clear how they should be treated (and? or?). So a machine-readable field should probably allow for AND/OR license expressions.

So it would be nice if there was a way to declare a machine-readable license tag.

I'm not affiliated with SPDX, however OSGi use those ids: https://osgi.org/specification/osgi.core/7.0.0/framework.module.html#framework.module-bundle-license

---

**Affects:** 3.6.1

5 votes, 7 watchers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.