Hi Miguel On Fri, 2011-05-06 at 10:26 -0430, Miguel Landaeta wrote: > The only way that I could make that work was patching the POM, > something > like this: > > --- checkstyle-5.3.orig/pom.xml > +++ checkstyle-5.3/pom.xml > @@ -375,6 +375,12 @@ > <artifactId>maven-javadoc-plugin</artifactId> > <configuration> > <source>1.5</source> > + <offlineLinks> > + <offlineLink> > + <url>file:///usr/share/doc/default-jdk-doc/api/</url> > + > <location>file:///usr/share/doc/default-jdk-doc/api/</location> > + </offlineLink> > + </offlineLinks> > </configuration> > <reportSets> > <reportSet> > > > This probably is just a hack but you can take a look at checkstyle > package: > http://svn.debian.org/wsvn/pkg-java/trunk/checkstyle/debian/patches/01_link_to_system_javadocs.diff Yes - I considered this approach - works OK for simple libraries; however I have some packages that have lots of dependencies so that's not going to scale that well or be very maintainable. Thanks for the pointer though - I'll let you know if I find a better solution. Cheers James -- James Page Software Engineer, Ubuntu Server Team
Attachment:
signature.asc
Description: This is a digitally signed message part