Class WarningResolutionListener
java.lang.Object
org.apache.maven.artifact.resolver.WarningResolutionListener
- All Implemented Interfaces:
ResolutionListener
Deprecated.
Send resolution warning events to the warning log.
-
Field Summary
Fields inherited from interface org.apache.maven.artifact.resolver.ResolutionListener
FINISH_PROCESSING_CHILDREN, INCLUDE_ARTIFACT, MANAGE_ARTIFACT, MANAGE_ARTIFACT_SCOPE, MANAGE_ARTIFACT_SYSTEM_PATH, MANAGE_ARTIFACT_VERSION, OMIT_FOR_CYCLE, OMIT_FOR_NEARER, PROCESS_CHILDREN, RESTRICT_RANGE, ROLE, SELECT_VERSION_FROM_RANGE, TEST_ARTIFACT, UPDATE_SCOPE, UPDATE_SCOPE_CURRENT_POM -
Constructor Summary
ConstructorsConstructorDescriptionWarningResolutionListener(org.codehaus.plexus.logging.Logger logger) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidendProcessChildren(org.apache.maven.artifact.Artifact artifact) Deprecated.voidincludeArtifact(org.apache.maven.artifact.Artifact artifact) Deprecated.voidmanageArtifact(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement) Deprecated.voidomitForCycle(org.apache.maven.artifact.Artifact omitted) Deprecated.voidomitForNearer(org.apache.maven.artifact.Artifact omitted, org.apache.maven.artifact.Artifact kept) Deprecated.voidrestrictRange(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement, org.apache.maven.artifact.versioning.VersionRange newRange) Deprecated.voidselectVersionFromRange(org.apache.maven.artifact.Artifact artifact) Deprecated.voidstartProcessChildren(org.apache.maven.artifact.Artifact artifact) Deprecated.voidtestArtifact(org.apache.maven.artifact.Artifact node) Deprecated.voidupdateScope(org.apache.maven.artifact.Artifact artifact, String scope) Deprecated.voidupdateScopeCurrentPom(org.apache.maven.artifact.Artifact artifact, String scope) Deprecated.This event means that the artifactScope has NOT been updated to a farther node artifactScope because current node is in the first level pom
-
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:
testArtifactin interfaceResolutionListener
-
startProcessChildren
public void startProcessChildren(org.apache.maven.artifact.Artifact artifact) Deprecated.- Specified by:
startProcessChildrenin interfaceResolutionListener
-
endProcessChildren
public void endProcessChildren(org.apache.maven.artifact.Artifact artifact) Deprecated.- Specified by:
endProcessChildrenin interfaceResolutionListener
-
includeArtifact
public void includeArtifact(org.apache.maven.artifact.Artifact artifact) Deprecated.- Specified by:
includeArtifactin interfaceResolutionListener
-
omitForNearer
public void omitForNearer(org.apache.maven.artifact.Artifact omitted, org.apache.maven.artifact.Artifact kept) Deprecated.- Specified by:
omitForNearerin interfaceResolutionListener
-
omitForCycle
public void omitForCycle(org.apache.maven.artifact.Artifact omitted) Deprecated.- Specified by:
omitForCyclein interfaceResolutionListener
-
updateScopeCurrentPom
Deprecated.Description copied from interface:ResolutionListenerThis 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:
updateScopeCurrentPomin interfaceResolutionListener- Parameters:
artifact- current node artifact, the one in the first level pomscope- artifactScope that was ignored because artifact was in first level pom
-
updateScope
Deprecated.- Specified by:
updateScopein interfaceResolutionListener
-
manageArtifact
public void manageArtifact(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement) Deprecated.- Specified by:
manageArtifactin interfaceResolutionListener
-
selectVersionFromRange
public void selectVersionFromRange(org.apache.maven.artifact.Artifact artifact) Deprecated.- Specified by:
selectVersionFromRangein interfaceResolutionListener
-
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:
restrictRangein interfaceResolutionListener
-