code: public void resolveFromRepositories( Artifact artifact, List remoteRepositories,
                                           ArtifactRepository localRepository )
              throws MojoExecutionException
      {
          try
          {
              artifactResolver.resolve( artifact, remoteRepositories, localRepository );
          }
          catch ( ArtifactResolutionException e )
          {
              throw new MojoExecutionException( "Could not resolv artifact: " + artifact, e );
          }
          catch ( ArtifactNotFoundException e )
          {
              throw new MojoExecutionException( "Could not find artifact: " + artifact, e );
          }
      }
docs: {@inheritDoc}