Due to access changes for the releases and snapshots repos, it may be that doc builds fail trying to download artifacts.
The task is to make sure that the branches we are sustaining continue to build correctly:
- Check that repo IDs are aligned with the settings.xml IDs. This ensures appropriate credentials are used to connect to the repo when downloading artifacts. (Make sure settings.xml is obtained per https://wikis.forgerock.org/confluence/display/REPLAN/Artifactory+FAQ.)
- Remove the directories under ~/.m2/repository/ that hold artifacts required for the doc build.
- Build as for a release.
Once everything is working locally and any PRs are resolved, also run a test release build to be sure that the release build also works on Jenkins.