You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stephen More <st...@gmail.com> on 2007/08/30 19:27:35 UTC
Compatible License Plugin - does one exist ?
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Compatible License Plugin - does one exist ?
Posted by Daniel Kulp <dk...@apache.org>.
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 <pi...@gmail.com> 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 <de...@apache.org> 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 <wa...@gmail.com> 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 <st...@gmail.com> 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:
> > > >>> users-unsubscribe@maven.apache.org For additional commands,
> > > >>> e-mail: users-help@maven.apache.org
> > > >>
> > > >> ---------------------------------------------------------------
> > > >>------ To unsubscribe, e-mail:
> > > >> users-unsubscribe@maven.apache.org For additional commands,
> > > >> e-mail: users-help@maven.apache.org
> > >
> > > --
> > > Dennis Lundberg
> > >
> > > ------------------------------------------------------------------
> > >--- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For
> > > additional commands, e-mail: users-help@maven.apache.org
> >
> > --
> > "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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Compatible License Plugin - does one exist ?
Posted by Stephen More <st...@gmail.com>.
I thought a plugin for this might be asking for too much, but what
about the possibility of modifying the Dependencies report from the
site to include a license column ?
The output could look something like this:
http://jspwiki.org/wiki/ApacheRelicensing
-Steve
On 8/30/07, Wayne Fay <xx...@xxxx.com> 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 <xx...@xxxx.com> 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 <xx...@xxxx.com> 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 <xx...@xxxx.com> 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 <xx...@xxxx.com> 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: users-unsubscribe@maven.apache.org
> > > >>> For additional commands, e-mail: users-help@maven.apache.org
> > > >>>
> > > >>>
> > > >> ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > >> For additional commands, e-mail: users-help@maven.apache.org
> > > >>
> > > >>
> > > >
> > > >
> > >
> > >
> > > --
> > > Dennis Lundberg
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > "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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Compatible License Plugin - does one exist ?
Posted by Wayne Fay <wa...@gmail.com>.
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 <pi...@gmail.com> 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 <de...@apache.org> 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 <wa...@gmail.com> 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 <st...@gmail.com> 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: users-unsubscribe@maven.apache.org
> > >>> For additional commands, e-mail: users-help@maven.apache.org
> > >>>
> > >>>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >> For additional commands, e-mail: users-help@maven.apache.org
> > >>
> > >>
> > >
> > >
> >
> >
> > --
> > Dennis Lundberg
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> "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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Compatible License Plugin - does one exist ?
Posted by Alexander Sack <pi...@gmail.com>.
'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 <de...@apache.org> 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 <wa...@gmail.com> 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 <st...@gmail.com> 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: users-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: users-help@maven.apache.org
> >>>
> >>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson
Re: Compatible License Plugin - does one exist ?
Posted by Dennis Lundberg <de...@apache.org>.
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 <wa...@gmail.com> 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 <st...@gmail.com> 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: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Compatible License Plugin - does one exist ?
Posted by Alexander Sack <pi...@gmail.com>.
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 <wa...@gmail.com> 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 <st...@gmail.com> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson
Re: Compatible License Plugin - does one exist ?
Posted by Wayne Fay <wa...@gmail.com>.
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 <st...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org