gha: docs build `Compile JavaDoc` step error message
For the docs build workflow when we compile the Java docs there is a red error message seen at the next link under heading Compile JavaDoc right at the end of the messages
https://github.com/apache/sedona/actions/runs/14141493590/job/39623420701?pr=1889
It shows as:
Error: Error fetching link: /home/runner/work/sedona/sedona/common/target/target/apidocs/package-list. Ignored it.
I am not sure about this issue. Could be a path issue or missing file etc. You can read up on the javadoc tool here:
https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javadoc.html
And this is a very long page and if you search for the term package-list it appears in many places.
The next link has the example package-list file:
https://docs.oracle.com/javase/8/docs/api/package-list
And the relevant line in our workflow:
https://github.com/apache/sedona/blob/141a36829f888ba28f004faafd5c34c6f2895fae/.github/workflows/docs.yml#L45
Opened PR #2157 to fix the JavaDoc package-list error by updating the workflow copy path. Also restored missing Spotless and Scalastyle config files for successful builds. Please review!
@jbampton i fixed the issue can you please review once.