FXMisc / RichTextFX

Rich-text area for JavaFX
BSD 2-Clause "Simplified" License
1.21k stars 237 forks source link

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

Open dwalluck opened 2 years ago

dwalluck commented 2 years ago

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)

Jugen commented 2 years ago

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 ?

dwalluck commented 2 years ago

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.

Jugen commented 2 years ago

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 ?