Maven allows several licenses in its license block e.g.
<licenses>
<license>
<name>GPL-3.0</name>
</license>
<license>
<name> Beerware</name>
</license>
</licenses>
Does mean :
- the user can choose ? (or)
- has to follow both licenses ? (and)
- it is not defined by maven ?
Update: The answers so far confirm my suspicion that
* maven does not define a semantic
* most people setting 2 licenses also do not know really what it implies
* most people using such a dependency will pick and choose (i.e. 'or')
* the defensive approach would be to assume 'and' as user of such dependency
In effect it means that a licenses block with more than one license is so unclear that the user of such artifact better look elsewhere for license information (e.g. the source, web pages)
Update 2: After looking at many artifacts that either use 2 license blocks in a pom or directly declare "lisense1 and license2" I must conclude that always a logical 'or' is meant. When 'and' is used then in the same way people say "I bought apples and oranges"
I have yet to find project were the logical "and" was meant and made sense.