license-maven-plugin
license-maven-plugin copied to clipboard
add an option to avoid "remove it from the missing file" in the build log
In our multi-module project we use the license-plugin with the missingFileUrl option. We created a company-wide missing file which contains GAV and license information for all the dependencies used in our projects for which the license information is not supplied by the dependency itself. So we do not need to gather this information for every single project.
As a result the global missingFile contains more GAV than used in a single project.
This causes the build log to contain a lot of lines with
[08:29:56] [WARNING] dependency [<GAV>] does not exist in project, remove it from the missing file.
For example for one of the current projects there are 7477 such lines in the build log.
This makes it really hard to find any other information in the build log.
So I would suggest to add an option to decide if this kind of warning should be logged or not.
Or maybe the warning is completely removed or set to debug, because if does not imply any real problem.
Looks like a valid use case. Feel free to submit a PR that would contain at least one integration test.
P.S.: Windows CI works now and I am in the process of solving some Windows build/test issues.
I tried to fix this using different strategies but I can't find a way to get a org.codehaus.plexus.logging.Logger
in AggregatorAddThirdPartyMojo
. Any ideas?