Re: License collection

2011-01-24 Thread Rui Vilão
Thank you all for replying. I'll try that one that Yoav Landman pointed out.

--
Rui

On Sat, Jan 22, 2011 at 12:07 PM, Yoav Landman yland...@gmail.com wrote:

 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.comwrote:
 
   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



Re: License collection

2011-01-22 Thread Yoav Landman
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.comwrote:

  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


Re: License collection

2011-01-21 Thread Wayne Fay
 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.

This is not as simple as you may think.

How exactly do you plan to do this? Where will you download all
licenses for your dependencies from? Hint: they are not necessarily
stored in Central along with your jars -- this is pretty rare from
what I've seen, unless they are packaged along with the jar file
(which is also not particularly common).

 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.

This plugin is in the Sandbox, so you can't simply download and use
it. Follow the directions on the Mojo site:
http://mojo.codehaus.org/using-sandbox-plugins.html

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: License collection

2011-01-21 Thread Stevo Slavić
Maybe you'll find these plugins useful:

http://code.google.com/p/maven-license-plugin/

http://community.jboss.org/wiki/Howtoaddlicenseinfotoprojects

https://wiki.jasig.org/display/LIC/maven-notice-plugin

Regards,
Stevo.

On Fri, Jan 21, 2011 at 7:30 PM, Wayne Fay wayne...@gmail.com wrote:
 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.

 This is not as simple as you may think.

 How exactly do you plan to do this? Where will you download all
 licenses for your dependencies from? Hint: they are not necessarily
 stored in Central along with your jars -- this is pretty rare from
 what I've seen, unless they are packaged along with the jar file
 (which is also not particularly common).

 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.

 This plugin is in the Sandbox, so you can't simply download and use
 it. Follow the directions on the Mojo site:
 http://mojo.codehaus.org/using-sandbox-plugins.html

 Wayne

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: License collection

2011-01-21 Thread Kalle Korhonen
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



Re: License collection

2011-01-21 Thread Rui Vilão
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.comwrote:

 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