pmonks / lice-comb

A Clojure library for software license detection.
Apache License 2.0
7 stars 0 forks source link

Update pom license detection to use "OR" between multiple licenses #54

Closed pmonks closed 2 months ago

pmonks commented 3 months ago

Buried in Maven's Project Object Model reference is this statement (search for "multiple licenses" to find it in that page):

If multiple licenses are listed, it is assumed that the user can select any of them, not that they must accept all.

This is the same as saying that multiple <license> blocks in a Maven POM are equivalent to an OR in an SPDX license expression, and lice-comb should be updated to support that interpretation. However this should probably have a :medium or :low confidence because this certainly isn't well understood across the Maven ecosystem.