Filter Support for undefined licenses in dependencies
VenaNocta opened this issue · comments
Currently if a dependency doesn't have an license defined it prints just an error-code and omitts that there are some unknown dependency-licenses.
[INFO] ------------------< net.runeduniverse.libs.rogm:core >------------------
[INFO] Building ROGM Core 2.1.1 [2/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- license-maven-plugin:4.2.rc1:check (default-cli) @ core ---
[INFO] Checking licenses...
[INFO] Checking licenses in dependencies using class com.mycila.maven.plugin.license.dependencies.MavenProjectLicenses
[INFO] Discovered dependencies after filtering: 5
[WARNING] Could not get project from dependency's artifact: null
[WARNING] Could not get project from dependency's artifact: null
[WARNING] Could not get project from dependency's artifact: null
[WARNING] Could not get project from dependency's artifact: null
Request:
applyable when
<dependencyEnforce>true</dependencyEnforce>
- provide a filter for undefined licenses to APPROVE or DENY them
- don't skip execution of
ARTIFACT_PATTERN
filter
@rremer : could you please have a quick look ? I suspect this is caused by the introduction of the dependency enforer plugin ?