Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.6.1
-
None
Description
Current model for license is something, yet it is not machine-friendly.
Developers tend to put random data into <license><name>...</name><url>...</url>, 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 <license> 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