How to use Aether (eclipse) in Maven Plugins using API 3.1.1?
I am developing a new Maven plugin using API v3.1.1 because I need to upgrade to Maven 3.1.1, and need the Aether way of dealing with artifact repositories, among other things retrieving the complete list of artifact versions. I am using Eclipse Aether (0.9.0.M4), NOT Sonatype Aether. I have already read through http://wiki.eclipse.org/Aether and tried the demos http://git.eclipse.org/c/aether/aether-demo.git/tree/ , but I have not been able to understand why the following within a subclass of AbstractMojo doesn't work. Both RepositorySystem repoSystem , RepositorySystemSession repoSession ,