code: public ArtifactResult resolveArtifact( Artifact artifact ) throws ArtifactResolutionException {
          return resolveArtifact(new ArtifactRequest(artifact,remoteRepositories,null));
      }
docs: Resolves a single artifact and returns it.