CI: Backport Maven and Java changes
This is needed for release in the maven repository VTK 9.4.0
Backports:
- Merge-request: !11588 (merged)
- Merge-request: !11595 (merged)
- Merge-request: !11608 (merged)
- Merge-request: !11693 (merged)
- Merge-request: !11706 (merged)
Edited by Vicente Bolea