Class WarningResolutionListener

java.lang.Object
org.apache.maven.artifact.resolver.WarningResolutionListener
All Implemented Interfaces:
ResolutionListener

@Deprecated public class WarningResolutionListener extends Object implements ResolutionListener
Deprecated.
Send resolution warning events to the warning log.
  • Constructor Details

    • WarningResolutionListener

      public WarningResolutionListener(org.codehaus.plexus.logging.Logger logger)
      Deprecated.
  • Method Details

    • testArtifact

      public void testArtifact(org.apache.maven.artifact.Artifact node)
      Deprecated.
      Specified by:
      testArtifact in interface ResolutionListener
    • startProcessChildren

      public void startProcessChildren(org.apache.maven.artifact.Artifact artifact)
      Deprecated.
      Specified by:
      startProcessChildren in interface ResolutionListener
    • endProcessChildren

      public void endProcessChildren(org.apache.maven.artifact.Artifact artifact)
      Deprecated.
      Specified by:
      endProcessChildren in interface ResolutionListener
    • includeArtifact

      public void includeArtifact(org.apache.maven.artifact.Artifact artifact)
      Deprecated.
      Specified by:
      includeArtifact in interface ResolutionListener
    • omitForNearer

      public void omitForNearer(org.apache.maven.artifact.Artifact omitted, org.apache.maven.artifact.Artifact kept)
      Deprecated.
      Specified by:
      omitForNearer in interface ResolutionListener
    • omitForCycle

      public void omitForCycle(org.apache.maven.artifact.Artifact omitted)
      Deprecated.
      Specified by:
      omitForCycle in interface ResolutionListener
    • updateScopeCurrentPom

      public void updateScopeCurrentPom(org.apache.maven.artifact.Artifact artifact, String scope)
      Deprecated.
      Description copied from interface: ResolutionListener
      This event means that the artifactScope has NOT been updated to a farther node artifactScope because current node is in the first level pom
      Specified by:
      updateScopeCurrentPom in interface ResolutionListener
      Parameters:
      artifact - current node artifact, the one in the first level pom
      scope - artifactScope that was ignored because artifact was in first level pom
    • updateScope

      public void updateScope(org.apache.maven.artifact.Artifact artifact, String scope)
      Deprecated.
      Specified by:
      updateScope in interface ResolutionListener
    • manageArtifact

      public void manageArtifact(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement)
      Deprecated.
      Specified by:
      manageArtifact in interface ResolutionListener
    • selectVersionFromRange

      public void selectVersionFromRange(org.apache.maven.artifact.Artifact artifact)
      Deprecated.
      Specified by:
      selectVersionFromRange in interface ResolutionListener
    • restrictRange

      public void restrictRange(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement, org.apache.maven.artifact.versioning.VersionRange newRange)
      Deprecated.
      Specified by:
      restrictRange in interface ResolutionListener