NEXUS-6027: Remove deprecated classes

Revival of the branch plus some more.

Issue
https://issues.sonatype.org/browse/NEXUS-6027

CI
https://bamboo.zion.sonatype.com/browse/NX-OSSF72