Tabnine Logo
ArtifactResolutionException.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.eclipse.aether.resolution.ArtifactResolutionException
constructor

Best Java code snippets using org.eclipse.aether.resolution.ArtifactResolutionException.<init> (Showing top 3 results out of 315)

origin: net.oneandone.maven/embedded

public FileNode resolve(Artifact artifact, List<RemoteRepository> remoteRepositories) throws ArtifactResolutionException {
  ArtifactRequest request;
  ArtifactResult result;
  request = new ArtifactRequest(artifact, remoteRepositories, null);
  result = repositorySystem.resolveArtifact(repositorySession, request);
  if (!result.isResolved()) {
    throw new ArtifactResolutionException(new ArrayList<ArtifactResult>()); // TODO
  }
  return world.file(result.getArtifact().getFile());
}
origin: org.apache.maven.resolver/maven-resolver-impl

throw new ArtifactResolutionException( results );
origin: org.eclipse.aether/aether-impl

throw new ArtifactResolutionException( results );
org.eclipse.aether.resolutionArtifactResolutionException<init>

Javadoc

Creates a new exception with the specified results.

Popular methods of ArtifactResolutionException

  • getMessage
  • getCause
  • getResults
    Gets the resolution results at the point the exception occurred. Despite being incomplete, callers m
  • printStackTrace
  • getResult
    Gets the first result from #getResults(). This is a convenience method for cases where callers know

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Path (java.nio.file)
  • Permission (java.security)
    Legacy security code; do not use.
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now