5

I have developed a Java library that makes use of some other libraries also developed by me. All of them published online and managed with Maven.

My problem concerns proper inclusion of links in the generated Javadocs. For example, if a class in my library extends various interfaces, links to those classes appear only for the interfaces that are part of my project.

Then, my question is: how can I instruct maven to generate the javadocs so the link to classes outside my project (available online) are properly resolved ?

Sergio
  • 8,532
  • 11
  • 52
  • 94
  • Does this help? http://maven.apache.org/plugins/maven-javadoc-plugin/examples/links-configuration.html – Devon_C_Miller Mar 08 '14 at 12:59
  • Hi @Devon_C_Miller, just updated the question with that info – Sergio Mar 08 '14 at 14:49
  • I believe Maven tries to resolve the links, so the URLs need to be fetchable when Maven runs. If they are not available as a URL, try http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#offlineLinks and see if that works. – Devon_C_Miller Mar 08 '14 at 14:54
  • the url links are fetchable, e.g., these are two I am ussing: http://jgum.github.io/javadocs/ or http://docs.guava-libraries.googlecode.com/git/javadoc/. Maybe I need to run mvn with a special flag ? – Sergio Mar 08 '14 at 14:59

0 Answers0