Class DefaultArtifactResolver

java.lang.Object
io.quarkus.bom.resolver.DefaultArtifactResolver
All Implemented Interfaces:
ArtifactResolver

public class DefaultArtifactResolver extends Object implements ArtifactResolver
This class wraps the underlying Maven artifact resolver and may keep an artifact info cache, e.g. artifacts that aren't resolvable.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.aether.resolution.ArtifactDescriptorResult
    describe(org.eclipse.aether.artifact.Artifact a)
     
     
    org.eclipse.aether.resolution.ArtifactResult
    resolve(org.eclipse.aether.artifact.Artifact a)
     
    org.eclipse.aether.resolution.ArtifactResult
    resolve(org.eclipse.aether.artifact.Artifact a, List<org.eclipse.aether.repository.RemoteRepository> repos)
     
    org.eclipse.aether.resolution.ArtifactResult
    resolveOrNull(org.eclipse.aether.artifact.Artifact a)
     
    io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getBaseDir

      public Path getBaseDir()
      Specified by:
      getBaseDir in interface ArtifactResolver
    • resolve

      public org.eclipse.aether.resolution.ArtifactResult resolve(org.eclipse.aether.artifact.Artifact a)
      Specified by:
      resolve in interface ArtifactResolver
    • resolve

      public org.eclipse.aether.resolution.ArtifactResult resolve(org.eclipse.aether.artifact.Artifact a, List<org.eclipse.aether.repository.RemoteRepository> repos)
      Specified by:
      resolve in interface ArtifactResolver
    • resolveOrNull

      public org.eclipse.aether.resolution.ArtifactResult resolveOrNull(org.eclipse.aether.artifact.Artifact a)
      Specified by:
      resolveOrNull in interface ArtifactResolver
    • underlyingResolver

      public io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver underlyingResolver()
      Specified by:
      underlyingResolver in interface ArtifactResolver
    • describe

      public org.eclipse.aether.resolution.ArtifactDescriptorResult describe(org.eclipse.aether.artifact.Artifact a)
      Specified by:
      describe in interface ArtifactResolver