I am trying to link into some Javadocs hosted at javadoc.io (specifically, PowerMock\'s Javadocs) using the @link
option. I have tried to add the URL to PowerMock\'
It's strange: I could see in the browser e.g. http://static.javadoc.io/org.pegdown/pegdown/1.6.0/package-list but when I add http://static.javadoc.io/org.pegdown/pegdown/1.6.0
as javadoc's link
option it says
Error fetching URL: http://static.javadoc.io/org.pegdown/pegdown/1.6.0/package-list
I use next workaround:
maven-dependency-plugin
unapack the javadoc of desired dependency.Link it with linkoffline
option.
org.apache.maven.plugins
maven-dependency-plugin
2.8
unpack-javadoc
package
unpack
org.pegdown
pegdown
javadoc
${pegdownVersion}
false
${project.build.directory}/pegdown-javadoc
org.apache.maven.plugins
maven-javadoc-plugin
http://www.slf4j.org/apidocs/
http://static.javadoc.io/org.pegdown/pegdown/${pegdownVersion}
${project.build.directory}/pegdown-javadoc