Since Maven pom may contain license information, is there a way you could, for example, tell your build that the "Apache v2" Licencses is ok, but the GPL, for example, is not, and when you create Maven, they will return errors, if necessary dependencies of prohibited licenses and, in the end, ask you to accept the unknown?
I know that there are available plugins that create a report on all used licenses in the project, but I could not find a single one that actually allows you to determine what is good and what is not, and ask for confirmation if it doesnβt know.
source share