You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 22:58:51 UTC

[jira] (MPJAVADOC-34) Javadoc links don't work behind a proxy

     [ https://jira.codehaus.org/browse/MPJAVADOC-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MPJAVADOC-34.
-----------------------------------

    Resolution: Won't Fix

Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

> Javadoc links don't work behind a proxy
> ---------------------------------------
>
>                 Key: MPJAVADOC-34
>                 URL: https://jira.codehaus.org/browse/MPJAVADOC-34
>             Project: Maven 1.x Javadoc Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.1, 1.2, 1.3, 1.4, 1.5
>            Reporter: Carlos Sanchez
>            Priority: Minor
>         Attachments: javadoc.txt
>
>
> Links doesn't work behind a proxy
> javadoc: Error fetching URL: http://java.sun.com/j2se/1.4.2/docs/api/package-list
> I've found some information in the net:
> ------------------------------------------------------------
> It is possible to pass proxy information to javadoc. Try:
> javadoc -J-DproxyHost=myproxyhost.com -J-DproxyPort=8080 -link http://java.sun.com/products/jdk/1.3/docs/api *.java  
>  
> ------------------------------------------------------------
> You have to pass http.proxyhost and http.proxyport properties to the JVM.
> -Dhttp.proxyhost=proxy -Dhttp.proxyport=3128
> ------------------------------------------------------------
> The problem is that javadoc ant task starts in another jvm (as stated in ant docs)
> Also I've tried the setProxy ant task and it doesn't work either.
> <ant:setproxy proxyhost="proxy" proxyport="3128"/>



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)