The javadoc jobs can use -Dcache.recordSuffix=javadoc to produce augmented state files with a different name. A simple glob like can be used **/target/state-javadoc.xml to archive only the new state.
The release job can download all javadoc artifacts, without conflicts with the state files (unless the javadoc jobs overlap). The javadoc state files can be loaded with -Dcache.loadSuffixes=javadoc, they will be merged with the default state files.
Introduce a new mechanism that can be used to aggregate partial caches.
E.g.
The javadoc jobs can use
-Dcache.recordSuffix=javadoc
to produce augmented state files with a different name. A simple glob like can be used**/target/state-javadoc.xml
to archive only the new state.The release job can download all javadoc artifacts, without conflicts with the state files (unless the javadoc jobs overlap). The javadoc state files can be loaded with
-Dcache.loadSuffixes=javadoc
, they will be merged with the default state files.