The Maven License Verifier Plugin (MLV for short)¶
The basic idea is to analyze which Licenses Maven dependencies have in a project.
Basically the Maven License Verifier Plugin will categorize existing Licenses into different categories. Currently these categories are the following:
- valid
- warning
- invalid
If you like to categorize Licenses in any way you need a file which describes in which category a License belongs to. Based on previously defined categories the MLV Plugin will give you a [WARNING] during if a License is categorized in the unknown or invalid category.
- incl. some particular license types
- Missing licenses
- ?
- The first step could be to list the used licenses of a whole project (goal:list)
- Create a report (site)
- Rules about licenses are acceptable or compatible
- for a company?
- Problems: Where to found the license information
- license.txt, pom.xml (optimal?), META-INF etc.
Advanced Tasks:
- checkout how dual licensing is set in maven artifacts
- fetch the licenses to a specified directory.