Thursday, March 08, 2007

Maven2: creating JavaDoc links behind a firewall

I just spent the better part of the morning trying to make javadoc links work. In short: configuring the proxy did not work - We have to cope with offline package-lists, not a big problem really. Of course, to configure the maven-javadoc-plugin to do this, reading the source was the quickest way to go. So put something like this in your pom.xml:


The locations must be valid Java file paths, pointing to a locally accessible directory which contains the package-list file for the given url.

1 comment:

Andreas said...

Thanks, while reading the documentation for the mojo, I was wandering what the offlineLinks tag should be like. Now I know!