Javadoc tests currently compare documentation against a prospero/manifest-aligned server zip, which can result in false positives when artifact versions differ between the source code (devtag) and the final manifest. e.g. JBEAP-29515
Root Cause: Build Process Architecture
The current build process creates javadocs and the final server at different stages, leading to version misalignment:
- Build server in PNC - Javadocs are generated here from source code (devtag)
- Build components (e.g., hibernate)
- Build set manifest
- Build plugins and feature packs (prospero, EAP maven plugin)
- Create final manifest - Set manifest merged with other manifests
- Create server zip with prospero - Uses the final manifest
The javadocs are created from source code in step 1, but the server zip is built with potentially different artifact versions from the final manifest in step 6.
After discussions with rh-ee-rnovelli it seems solution would require new PNC build with final manifest ( this would result in new server version). Luckily amount of false positives is small so setting lower priority