License report ignores proxy settings
-------------------------------------

         Key: MNG-1704
         URL: http://jira.codehaus.org/browse/MNG-1704
     Project: Maven 2
        Type: Bug
  Components: maven-project-info-reports-plugin  
    Versions: 2.0    
    Reporter: Jochen Wiedmann
    Priority: Minor


In LicenseReport.java, the following line is used to read a license from an 
remote URL:

                        in = licenseUrl.openStream();

The proxy settings from settings.xml are ignored completely. Consequently, the 
"site" target fails, if the user is sitting behind a firewall and must use a 
proxy server.

Workaround: Start maven like this

        mvn -Dhttp.proxyHost=my.proxy.host -Dhttp.proxyPort=3128

I am ready to supply a patch, if anyone can tell me how to obtain the 
"Settings" object within a Mojo.


-- 
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