WIP: [NEXUS-6027] Remove deprecated classes and apis

https://issues.sonatype.org/browse/NEXUS-6027
https://bamboo.zion.sonatype.com/browse/NX-OSSF14