On 4 May 2011 03:24, Wayne Fay <[email protected]> wrote:

> > After using shade to build an uber-jar I was looking through the uber-jar
> > with 7zip and found a GLP2 license file. Presumably I have picked up
> GPL'd
> > artifact somewhere. How would I be able to find out which artifact
> contains
> > the GPL license so I can remove it?
>
> "mvn site" has a dependency report that may help track this down. But
> realize that it is not mandatory for a given artifact to fill in the
> <license> information in the pom file, so garbage in > garbage out,
> and there is no guarantee this will help.
>
> Here are some samples of the report:
> http://maven.apache.org/ant-tasks/dependencies.html
> http://maven.apache.org/surefire/dependencies.html
>
> You may also want to look at this plugin:
> http://mojo.codehaus.org/license-maven-plugin/
>
>
And there is also https://github.com/cloudbees/maven-license-plugin

Though I have chastised KK for NIH Syndrome and I think it will get merged
into the mojo one at some point in the future ;-)


> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to