You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Laird Nelson <lj...@gmail.com> on 2014/04/18 18:33:59 UTC

Re: Javadoc plugin with Javadoc 8: error fetching URLs

On Fri, Mar 28, 2014 at 2:59 PM, Laird Nelson <lj...@gmail.com> wrote:

> Fails under javadoc 8.  I'll file a bug with Oracle; it appears that the
> -link option is nonfunctional.
>

Found the issue, I think; filed
http://jira.codehaus.org/browse/MJAVADOC-393to track it.

Basically, for unknown reasons, javadoc version 8 requires a trailing slash
at the end of its -link options.  So this works:

javadoc -link http://foo.bar/baz*/* ...


...but this does not:

javadoc -link http://foo.bar/baz ...


Line 3932 of AbstractJavadocMojo.java is responsible for programmatically
stripping trailing slashes—which of course works fine for earlier versions
of javadoc.

(Probably while someone's in there they should add formal support for the
Java 8 API locations, etc. as well.)

Best,
Laird

-- 
http://about.me/lairdnelson

Re: Javadoc plugin with Javadoc 8: error fetching URLs

Posted by Laird Nelson <lj...@gmail.com>.
On Mon, Apr 21, 2014 at 3:01 PM, Laird Nelson <lj...@gmail.com> wrote:

> OK.  Patch submitted for MJAVADOC-393<http://jira.codehaus.org/browse/MJAVADOC-393>
> .
>
> I've also opened http://jira.codehaus.org/browse/MJAVADOC-394 and
> http://jira.codehaus.org/browse/MJAVADOC-395 and am in the process of
> submitting patches for them and cross-linking them together.
>

This work is now complete; kindly let me know if there are additional
changes to be made.
MJAVADOC-395<http://jira.codehaus.org/browse/MJAVADOC-395>can serve as
the "umbrella" bug for all three; it has links to related bugs.

Best,
Laird

-- 
http://about.me/lairdnelson

Re: Javadoc plugin with Javadoc 8: error fetching URLs

Posted by Laird Nelson <lj...@gmail.com>.
On Fri, Apr 18, 2014 at 10:38 PM, Hervé BOUTEMY <he...@free.fr>wrote:

> but both as Maven developper and as Maven user, I prefer to have separate
> focused issues with focused bug descriptions, then separate patches
>

OK.  Patch submitted for
MJAVADOC-393<http://jira.codehaus.org/browse/MJAVADOC-393>
.

I've also opened http://jira.codehaus.org/browse/MJAVADOC-394 and
http://jira.codehaus.org/browse/MJAVADOC-395 and am in the process of
submitting patches for them and cross-linking them together.

Best,
Laird

-- 
http://about.me/lairdnelson

Re: Javadoc plugin with Javadoc 8: error fetching URLs

Posted by Hervé BOUTEMY <he...@free.fr>.
we'll try to not be overly choosy

but both as Maven developper and as Maven user, I prefer to have separate 
focused issues with focused bug descriptions, then separate patches

thanks for your help

Regards,

Hervé

Le vendredi 18 avril 2014 20:55:38 Laird Nelson a écrit :
> On Fri, Apr 18, 2014 at 9:33 AM, Laird Nelson <lj...@gmail.com> wrote:
> > Found the issue, I think; filed
> > http://jira.codehaus.org/browse/MJAVADOC-393 to track it.
> 
> Hi; I'm fixing this bug locally and am intending to supply a patch to the
> bug report.
> 
> I can add support for Javadoc version 8 while I'm at it (a new package-list
> needs to be stored in src/main/resources and a few monkey-work changes need
> to be made to AbstractJavadocMojo.java; that's about it—also, Java 7's and
> Java 8's default home location on the Mac are wrong).  Should I blend these
> two patches, or open another issue?
> 
> Best,
> Laird


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Javadoc plugin with Javadoc 8: error fetching URLs

Posted by Laird Nelson <lj...@gmail.com>.
On Fri, Apr 18, 2014 at 9:33 AM, Laird Nelson <lj...@gmail.com> wrote:

> Found the issue, I think; filed
> http://jira.codehaus.org/browse/MJAVADOC-393 to track it.
>

Hi; I'm fixing this bug locally and am intending to supply a patch to the
bug report.

I can add support for Javadoc version 8 while I'm at it (a new package-list
needs to be stored in src/main/resources and a few monkey-work changes need
to be made to AbstractJavadocMojo.java; that's about it—also, Java 7's and
Java 8's default home location on the Mac are wrong).  Should I blend these
two patches, or open another issue?

Best,
Laird

-- 
http://about.me/lairdnelson