Hi there!

I am trying to use license-maven-plugin to check 3rd party licenses of certain 
maven project and fail the build, if this build depends on artifats with 
restricted licenses. As far as I understood, I have to specify restricted 
licenses in "excludedLicenses" section, set "failIfWarning" property to true 
and execute the aggregate-add-third-party goal.

The problem is that there some artifacts have no licenses and therefore my 
build always fails as declared by documentation of failIfWarning property: "A 
flag to fail the build if at least one dependency was detected without a 
license."

If there any option to simply skip artifacts with no licenses (treat them as 
not restricted)?

Thanks in advance!
Vitaly.

Reply via email to