[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Offline javadoc linking with maven-debian-helper/maven



Hi Onkar

On Fri, 2011-05-06 at 20:21 +0530, Onkar Shinde wrote:
> > I've tried following the advice in the maven-javadoc-plugin FAQ (see
> > [1]) by populating the maven.properties file with:
> >
> >        maven.javadoc.offlineLinks=/usr/share/doc/openjdk-6-doc/api/
> 
> You should really link to /usr/share/doc/default-jdk-doc/api to make
> the links functional on all architectures.

Makes sense - I'll update accordingly.

> 
> > but I can't seem to get maven to generate offline links to the JDK
> > provided API.  As a result links to classes provided by Java (and I
> > would suspect any other library) are not generated.
> >
> > Anyone else run into this issue or have a solution?
> >
> > Thanks in advance for any help!
> 
> Any chance that you forgot to add default-jdk-doc to build
> dependencies.
> Sorry, can't help you more as I have not worked on any packages using
> maven as build system. 

That would have been a nice easy fix - alas the package does
build-depend on default-jdk-doc so no such luck.

Thanks for you help.

James

-- 
James Page
Software Engineer, Ubuntu Server Team

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: