Closed hfhbd closed 2 years ago
Hmm it's not really clear as to whether this list is a logical AND or a logical OR. The pom specification doesn't say anything about it.
I believe in our real usage we have a dependency which uses it as a logical AND for both the code license as well as embedded font licenses.
Not quite sure how to handle this universally.
Hm, according to the definition, it is OR: https://maven.apache.org/ref/3.5.4/maven-model/maven.html
If multiple licenses are listed, it is assumed that the user can select any of them, not that they must accept all.
Nice find!
Okay I can work on changing the behavior of the library this week. I'll report issues upstream to the libraries I've seen using it as an AND.
https://github.com/facebook/rocksdb is licensed under Apache 2 as well as GPLv2. https://repo.maven.apache.org/maven2/org/rocksdb/rocksdbjni/7.2.2/rocksdbjni-7.2.2.pom
repro:
dual.zip