I don't think that's possible with the current plugin. You might want to file a JIRA issue if you really need this functionality.

However, why don't you put a copy of the license in a central place on disk and reference it with the property? Note that in a multiproject setup, the property will get inherited by the child projects.

-Lukas


Tim Dyck wrote:
Right.  I have tried point the maven.license.licenseFile to a URL as
well and it does not pick it up - it only seems to pick it up on disk.
Any ideas on how I can reference a license file from a URL?

Tim.

-----Original Message-----
From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2005 9:45 AM
To: Maven Users List
Subject: Re: [m1] license report

The license plugin uses the maven.license.licenseFile property for generating the license. Actually, I don't know what the license in the pom is used for.

-Lukas


Tim Dyck wrote:

I have question on the license report:

We have many projects that all use the same license and we would like

to

reference the same license from a URL so that we do not have to check

in

our license every time we start a new project - ie becomes a nightmare
if our license changes, then we would have to go through all of our
projects and change it.  I also tried adding the following to the
project.xml file:

        <licenses>
                <license>
                        <name>Our License</name>
        
<url>http://maven-projects/docs/licenses/MCS-LICENSE.txt</url>
                        <distribution>repo</distribution>
                        <comments>License specifc for the MCS
team</comments>
                </license>
        </licenses>

But the license report did not pick anything up.  Any ideas?

Thanks,

Tim.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
______________________________________________________________________________

Lukas Theussl
TRIUMF                                  email: [EMAIL PROTECTED]
4004 Wesbrook Mall                      tel.: + 1 604 222 1047 ext. 6446
Vancouver, British Columbia             http://www.triumf.ca/people/theussl/
Canada V6T 2A3
______________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to