You actually might be able to do this with the remote-resources plugin. We currently use it to generate the NOTICE files which include the License for each dependency. Since it's just a velocity template, you might be able to sort via the licenses before printing anything. Not really sure though as I'm by no means a velocity expert.
Dan On Thursday 30 August 2007, Wayne Fay wrote: > I think a useful license report would simply look at all dependencies > (including transitive) and then issue a report at the end which simply > told you: > > GPL > a.b.c-1.0.1 > x.y.z-2.0.2 > > MIT > l.m.n-1.0.0-SNAPSHOT > > None specified > f.g.h-4.0.1 > > You could perhaps go the next step of saying "based on your > dependencies, it seems like you could use BSD or LGPL" but that would > require basically hard-coding rules -and- that all of your > dependencies have licenses declared, which is HIGHLY unlikely. > > Wayne > > On 8/30/07, Alexander Sack <[EMAIL PROTECTED]> wrote: > > 'Sure they can, but how do you know if a license is compatible > > (maybe it should spit out "IANAL" j/k)? Well anyway, I do agree > > that a license attribute maybe useful none the less. > > > > -aps > > > > On 8/30/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > > > If the dependencies have maven pom.xml files, they can specify the > > > license in them. > > > > > > Alexander Sack wrote: > > > > Just out of curiosity, how the heck would you figure this out? > > > > Seems > > > > > > like > > > > > > > this would be too complicated to do in software though I AM 100% > > > > FOR replacing corporate legal teams with a Mojo! :D! > > > > > > > > -aps > > > > > > > > On 8/30/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > >> Not that I know of. If you write it, please contribute it back, > > > >> perhaps someone else would find it useful. > > > >> > > > >> Wayne > > > >> > > > >> On 8/30/07, Stephen More <[EMAIL PROTECTED]> wrote: > > > >>> I would like to release some code as "open source", but I am > > > >>> not sure which license to pick. > > > >>> > > > >>> "Does your project currently use any open source code? If so, > > > >>> then you may need to use the same license that the open source > > > >>> code uses, or another license that is compatible with it." > > > >>> > > > >>> Maven does a great job with figuring out dependencies. Based > > > >>> on these dependencies is there a plugin that can identify > > > >>> what license could be assigned to this project ? > > > >>> > > > >>> > > > >>> -Thanks > > > >>> Steve More > > > >>> > > > >>> -------------------------------------------------------------- > > > >>>------- To unsubscribe, e-mail: > > > >>> [EMAIL PROTECTED] For additional commands, > > > >>> e-mail: [EMAIL PROTECTED] > > > >> > > > >> --------------------------------------------------------------- > > > >>------ To unsubscribe, e-mail: > > > >> [EMAIL PROTECTED] For additional commands, > > > >> e-mail: [EMAIL PROTECTED] > > > > > > -- > > > Dennis Lundberg > > > > > > ------------------------------------------------------------------ > > >--- To unsubscribe, e-mail: [EMAIL PROTECTED] For > > > additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > > "What lies behind us and what lies in front of us is of little > > concern to what lies within us." -Ralph Waldo Emerson > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]