Reputation: 15628
For each job in our jenkins server I also want to build the javadoc. The projects are maven projects so I use mvn javadoc:javadoc to generate the javadoc. This works just fine but now I want to link with external javadoc of third party API's we use (e.g. wicket). For that I added a property to the (parent) pom.xml as explained here:
<properties>
<maven.javadoc.offlineLinks>http://wicket.apache.org/apidocs/1.5/</maven.javadoc.offlineLinks>
</properties>
However, this doesn't work. In the generated javadoc the references to Wicket classes are rendered as simple text and not as links to the offline javadoc.
Upvotes: 0
Views: 900
Reputation: 97389
Just use the following configuration for maven-javadoc-plugin:
<offlineLinks>
<offlineLink>
<url>http://download.oracle.com/javase/1.5.0/docs/api/</url>
<location>../javadoc/jdk-5.0/</location>
</offlineLink>
</offlineLinks>
Upvotes: 2