You may also want to have a look at the Artifactory license addon, which does exactly that - finds the licenses of all dependencies of a build (including searching in parent poms) with the ability to assign custom license information + generate a report with selective dependency scopes. It is part of Artifactory Pro.
http://wiki.jfrog.org/confluence/display/RTF/License+Control On Sat, Jan 22, 2011 at 6:01 AM, Rui Vilão <rpvi...@gmail.com> wrote: > Hi, > > Thank you all for replying. > > As Stevo mentioned I'm using maven-license-plugin to generate headers as > well. But I need to include the licenses of the dependencies I'm using in > order to distribute my software. I believe it would be great if developers > include the license in the license tag in order for plugins to collect and > download them. The behavior would be something like the described here: > > http://mojo.codehaus.org/license-maven-plugin/ > > like Wayne mentioned. As far as I can see there's no simple approach to do > this, so I believe I will use the report plugin and collect them myself > with > my bare hands :p > > Anyway, thank you for your time! > > -- > Rui > > On Fri, Jan 21, 2011 at 7:26 PM, Kalle Korhonen > <kalle.o.korho...@gmail.com>wrote: > > > As Wayne mentioned, most of the modules contain an url to a license > > rather than have it checked in. Perhaps you just need the license > > report instead? The dependencies report of the mpir plugin has had a > > license section for quite some time, I use it all the time. See e.g. > > the dependency report of the mpir plugin itself: > > > > > http://maven.apache.org/plugins/maven-project-info-reports-plugin/dependencies.html > > . > > > > Kalle > > > > > > On Fri, Jan 21, 2011 at 9:30 AM, Rui Vilão <rpvi...@gmail.com> wrote: > > > Hi all, > > > > > > I'm trying to automate licensing collection for my product. What I want > > is > > > simple: collect (i.e. download) all licenses of my dependencies and > store > > > them in a folder. > > > > > > Does anyone know if there's a plugin that does what I'm trying to > > > accomplish? I've heard about license-maven-plugin ( > > > http://mojo.codehaus.org/license-maven-plugin/ ) but I couldn't even > > > download it. > > > > > > Thanks in advance, > > > > > > Rui > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > -- Yoav