Open ptahchiev opened 5 years ago
You obtain the same result of globalKnowLicenses if you put the missingFile in the root project (the workdir where you ran the mvn command) and execute aggregate-add-third-party. Instead if you run add-third-party goal value the missingFile property to point to the same file for all module like ${session.executionRootDirectory}/missing properties
I can't put the missingFile
in the root project, because maybe tomorrow I would like to build only moduleA
so I will not run maven from the root project.
I know unknown licenses can be added with the
missingFile
configuration property, but this is very cumbersome when you have a multi-module project. In my case I have a project with 40 sub-modules and the license-plugin is declared in the top project pom.xml, however if I am asked to addmissingFile
to all the submodules. I would like to specify the missing licenses in the configuration of the plugin, such as:And i see that a property has already been added but no other work has been done whatsoever: https://github.com/mojohaus/license-maven-plugin/blob/master/src/main/java/org/codehaus/mojo/license/AbstractAddThirdPartyMojo.java#L561