[ https://issues.apache.org/jira/browse/MJAVADOC-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17340121#comment-17340121 ]
Benjamin Marwell commented on MJAVADOC-642: ------------------------------------------- Here is a sampel configuration: {code:xml} <configuration> <links> <link>http://docs.oracle.com/javase/7/docs/api</link> <link>http://static.netty.io/3.5/api</link> <link>http://google-guice.googlecode.com/git/javadoc</link> <link>http://fasterxml.github.com/jackson-databind/javadoc/2.0.4</link> <link>https://developers.google.com/protocol-buffers/docs/reference/java</link> </links> <isOffline>true</isOffline> <detectJavaApiLink>true</detectJavaApiLink> <detectLinks>true</detectLinks> <detectOfflineLinks>true</detectOfflineLinks> <linksource>true</linksource> </configuration> {code} Output behind proxy: {code} [WARN] Error fetching link: https://github.com/javaee/jaxb-spec/jaxb-api/apidocs. Ignored it. [WARN] Error fetching link: http://www.slf4j.org/apidocs. Ignored it. [WARN] Error fetching link: http://findbugs.sourceforge.net/apidocs. Ignored it. [WARN] Error fetching link: http://cdi-spec.org/apidocs. Ignored it. [WARN] Error fetching link: http://www.jqno.nl/equalsverifier/apidocs. Ignored it. [WARN] Error fetching link: https://checkerframework.org/apidocs. Ignored it. [WARN] Error fetching link: https://junit.org/junit5/apidocs. Ignored it. [WARN] Error fetching link: https://junit.org/junit5/apidocs. Ignored it. [WARN] Error fetching link: http://hamcrest.org/JavaHamcrest/apidocs. Ignored it. [WARN] Error fetching link: https://github.com/mockito/mockito/apidocs. Ignored it. {code} > Setting maven.javadoc.isoffline seems to have no effect > ------------------------------------------------------- > > Key: MJAVADOC-642 > URL: https://issues.apache.org/jira/browse/MJAVADOC-642 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: jar > Affects Versions: 3.1.1 > Reporter: Thomas Cunningham > Priority: Major > Fix For: waiting-for-feedback, wontfix-candidate > > > I'm trying to work around MJAVADOC-641 and the proxy issues that we are > having, and I'd like to set isOffline to true. I tried to do this my > setting -Dmaven.javadoc.isOffline=true in my maven invocation, and it doesn't > seem to take effect. Setting isOffline to true within the <configuration/> > allows my build to succeed. > Am I using the wrong command line property for isOffline? -- This message was sent by Atlassian Jira (v8.3.4#803005)