Accept absolute license files as well as file URLs [PATCH]
----------------------------------------------------------

         Key: MNG-1321
         URL: http://jira.codehaus.org/browse/MNG-1321
     Project: Maven 2
        Type: Improvement
  Components: maven-project-info-reports-plugin  
    Versions: 2.0    
 Reporter: Bruno Essmann
    Priority: Trivial
 Attachments: maven-project-info-reports-plugin-license-report.patch

Included is a small patch that works around the inability of UrlValidator 
(jakarta-commons/validator) to accept URLs without valid authority (i.e. 
file:// URLs).
The patch also allows definition of absolute file license file locations (i.e. 
when using locations such as ${basedir}/license.txt).

I'm still looking for a way to define a license file location relative to the 
topmost project, i.e. when using the following structure:

  TopProj
  |_ license.txt
  |_ SubProj
     |_ SubSubProj

I'd like to define the license file in the POM of the TopProj in such a way 
that it is a) relative to the location of TopProj and b) valid for all sub 
projects, including SubProj and SubSubProj.
I presume I could achieve this using a variable (similar to ${basedir}) that 
I'm not aware of at the moment...


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to