WIP: [NEXUS-6027] kill deprecated code

https://issues.sonatype.org/browse/NEXUS-6027

references:

* https://github.com/sonatype/nexus-oss/pull/243
* https://github.com/sonatype/nexus-pro/pull/142