davidB / scala-maven-plugin

The scala-maven-plugin (previously maven-scala-plugin) is used for compiling/testing/running/documenting scala code in maven.
https://davidb.github.io/scala-maven-plugin/
The Unlicense
554 stars 150 forks source link

Goals Page returns 404 #781

Closed mnd999 closed 1 month ago

mnd999 commented 1 month ago

When I navigate to the goals page in the docs, I get a 404.

slandelle commented 1 month ago

Thanks for reporting. No idea how this could happen, the build has been using the same maven-site-plugin version for years (as they've only released milestones for 2 years) 🤷‍♂️ Honestly, I don't know how to try to re-generate and upload the site without triggering a new release. Maybe @davidB knows?

jozic commented 1 month ago

@slandelle I've recently fixed similar issue for scoverage-maven-plugin by adding maven-plugin-report-plugin https://github.com/scoverage/scoverage-maven-plugin/commit/f0a12205e39896f7fa74a903138ea80ed9120d81

jozic commented 1 month ago

as for regenerating/publishing docs, i've came up with steps 4-8 described here (maybe there's a better way though) https://github.com/scoverage/scoverage-maven-plugin?tab=readme-ov-file#steps

slandelle commented 1 month ago
Capture d’écran 2024-05-18 à 10 48 24

No luck. I'm pretty sure this is a maven bug introduced here when automatically upgrading some plugin.

slandelle commented 1 month ago

Fixed, the reporting plugin must actually be configured in the <reporting> block. Thanks for your help!