Eclipse/Aether migration

Mostly dependency and import changes, plus some refactoring due to changes in the Aether API/SPI

https://issues.sonatype.org/browse/NEXUS-6776
Thanks for the tip, logged as [NEXUS-7680](https://issues.sonatype.org/browse/NEXUS-7680)