Introduced special ci profile to archive JavaDoc.

This allows releasing without the distribute profile being active as this causes issues on multi-module projects.