Docs: add Java & Maven varient documentation
Merge pull request #4422 from patheard/docs-variants

Docs: add Java & Maven varient documentation
Resolved merge conflicts