You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jochen Wiedmann (JIRA)" <ji...@codehaus.org> on 2005/11/30 12:21:06 UTC
[jira] Updated: (MNG-1704) License report ignores proxy settings
[ http://jira.codehaus.org/browse/MNG-1704?page=all ]
Jochen Wiedmann updated MNG-1704:
---------------------------------
Attachment: MNG-1704.patch
Suggested patch
> 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
> Attachments: MNG-1704.patch
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org