Interface ResolutionListener


public interface ResolutionListener
Listens to the resolution process and handles events.
Author:
Brett Porter
  • Field Details

  • Method Details

    • testArtifact

      void testArtifact(org.apache.maven.artifact.Artifact node)
    • startProcessChildren

      void startProcessChildren(org.apache.maven.artifact.Artifact artifact)
    • endProcessChildren

      void endProcessChildren(org.apache.maven.artifact.Artifact artifact)
    • includeArtifact

      void includeArtifact(org.apache.maven.artifact.Artifact artifact)
    • omitForNearer

      void omitForNearer(org.apache.maven.artifact.Artifact omitted, org.apache.maven.artifact.Artifact kept)
    • updateScope

      void updateScope(org.apache.maven.artifact.Artifact artifact, String scope)
    • manageArtifact

      @Deprecated void manageArtifact(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement)
      Deprecated.
    • omitForCycle

      void omitForCycle(org.apache.maven.artifact.Artifact artifact)
    • updateScopeCurrentPom

      void updateScopeCurrentPom(org.apache.maven.artifact.Artifact artifact, String ignoredScope)
      This event means that the artifactScope has NOT been updated to a farther node artifactScope because current node is in the first level pom
      Parameters:
      artifact - current node artifact, the one in the first level pom
      ignoredScope - artifactScope that was ignored because artifact was in first level pom
    • selectVersionFromRange

      void selectVersionFromRange(org.apache.maven.artifact.Artifact artifact)
    • restrictRange

      void restrictRange(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement, org.apache.maven.artifact.versioning.VersionRange newRange)