RichTextFX icon indicating copy to clipboard operation
RichTextFX copied to clipboard

Error fetching URL: https://github.com/FXMisc/RichTextFX/#richtextfx/apidocs/

Open dwalluck opened this issue 3 years ago • 3 comments

Running maven-javadoc-plugin (under Java 17) with detectLinks set to true gives an error:

error: Error fetching URL: https://github.com/FXMisc/RichTextFX/#richtextfx/apidocs/ (java.io.FileNotFoundException: https://github.com/FXMisc/RichTextFX/package-list)

dwalluck avatar Feb 03 '22 02:02 dwalluck

Hey, so I'm unfamiliar with this but had a quick look at the maven docs and did a search on how to fix this. Unfortunately I didn't find a solution so I don't know how to go about it. If anybody has any pointers please reply, or even better submit a PR to fix and I'll gladly merge it.

From what has been posted above it seems like maven is looking for some reference in the RichTextFX github home page ? I understand the #richtextfx fragment reference but am stumped by the /apidocs/ part ?

Jugen avatar Feb 03 '22 17:02 Jugen

I think it simply uses the value of <url>https://github.com/FXMisc/RichTextFX/#richtextfx</url> concatenated with /apidocs/. But why this causes I fatal error preventing my javadoc from being generated, I am not yet sure.

dwalluck avatar Feb 06 '22 01:02 dwalluck

If your project has other dependencies that are on GitHub where the maven doc plugin works correctly, maybe we can have a look at those pages and perhaps get an insight ?

Jugen avatar Feb 07 '22 07:02 Jugen