Commit fe75777
committed
docs: make current javadoc build deterministic
The docs Javadoc script first installs reactor artifacts, then runs the explicit Maven Javadoc goal and copies the generated core API docs.
Running the install phase with Maven parallelism can race module-local annotation processor resolution: examples may try to resolve the current java-driver-mapper-processor snapshot before that module has been installed into the local Maven repository. Run the preliminary install serially so the docs Javadoc target is reproducible from a clean local repository or CI worker.
Also accept the current maven-javadoc-plugin output location, core/target/reports/apidocs, while keeping the previous core/target/site/apidocs path as a fallback. The explicit Javadoc goal passes but writes to reports/apidocs with the current plugin, so copying only site/apidocs makes the docs target fail after successful Javadoc generation.1 parent 91b0937 commit fe75777
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
16 | 24 | | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
20 | | - | |
| 28 | + | |
0 commit comments