title: For a Maven 3 plugin what is the latest way to resolve a artifact
body: <p>What is the latest way of resolving an Artifact within a Maven 3.2.5 plugin.   ArtifactResolver and ArtifactFactory(depreciated) are in the compat library which implies that there is a newer/better way of resolution,  but I can not find any examples, docs or searches that do not use the above.</p>
  
  <p>Thanks</p>
  
  <p>Michael</p>