Interface ResolutionEventListener


public interface ResolutionEventListener
  • Field Details

  • Method Details

    • clear

      default void clear()
    • downloadMetadata

      default void downloadMetadata(GroupArtifactVersion gav)
    • download

      default void download(GroupArtifactVersion gav)
    • downloadSuccess

      default void downloadSuccess(ResolvedGroupArtifactVersion gav, @Nullable ResolvedPom containing)
    • downloadError

      default void downloadError(GroupArtifactVersion gav, List<String> attemptedUris, @Nullable Pom containing)
      Parameters:
      gav - - GAV coordinate of the dependency which failed to download
      attemptedUris - - The URIs which were attempted, in the order they were attempted, before resolution was determined to have failed
      containing - - The pom containing the dependency which failed to resolve, if resolution was attempted from such a context
    • parent

      default void parent(Pom parent, Pom containing)
    • dependency

      default void dependency(Scope scope, ResolvedDependency resolvedDependency, ResolvedPom containing)
    • bomImport

      default void bomImport(ResolvedGroupArtifactVersion gav, Pom containing)
    • property

      default void property(String key, String value, Pom containing)
    • dependencyManagement

      default void dependencyManagement(ManagedDependency dependencyManagement, Pom containing)
    • repository

      default void repository(MavenRepository mavenRepository, @Nullable ResolvedPom containing)
    • repositoryAccessFailed

      default void repositoryAccessFailed(String uri, Throwable e)
    • repositoryAccessFailedPreviously

      default void repositoryAccessFailedPreviously(String uri)
      This is called if a previous failure to access a repository was cached and used. Useful to log when a persistent maven cache is used to debug issues where repositories are not being attempted for downloads.
      Parameters:
      uri - The repository URI which was not attempted to access