Class DebugResolutionListener
java.lang.Object
org.apache.maven.artifact.resolver.DebugResolutionListener
- All Implemented Interfaces:
ResolutionListener
,ResolutionListenerForDepMgmt
@Deprecated
public class DebugResolutionListener
extends Object
implements ResolutionListener, ResolutionListenerForDepMgmt
Deprecated.
Send resolution events to the debug 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
ConstructorDescriptionDebugResolutionListener
(org.codehaus.plexus.logging.Logger logger) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
endProcessChildren
(Artifact artifact) Deprecated.void
includeArtifact
(Artifact artifact) Deprecated.void
manageArtifact
(Artifact artifact, Artifact replacement) Deprecated.The logic used here used to be a copy of the logic used in the DefaultArtifactCollector, and this method was called right before the actual version/artifactScope changes were done.void
manageArtifactScope
(Artifact artifact, Artifact replacement) Deprecated.void
manageArtifactSystemPath
(Artifact artifact, Artifact replacement) Deprecated.void
manageArtifactVersion
(Artifact artifact, Artifact replacement) Deprecated.void
omitForCycle
(Artifact omitted) Deprecated.void
omitForNearer
(Artifact omitted, Artifact kept) Deprecated.void
restrictRange
(Artifact artifact, Artifact replacement, VersionRange newRange) Deprecated.void
selectVersionFromRange
(Artifact artifact) Deprecated.void
startProcessChildren
(Artifact artifact) Deprecated.void
testArtifact
(Artifact node) Deprecated.void
updateScope
(Artifact artifact, String scope) Deprecated.void
updateScopeCurrentPom
(Artifact artifact, String ignoredScope) 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
-
DebugResolutionListener
public DebugResolutionListener(org.codehaus.plexus.logging.Logger logger) Deprecated.
-
-
Method Details
-
testArtifact
Deprecated.- Specified by:
testArtifact
in interfaceResolutionListener
-
startProcessChildren
Deprecated.- Specified by:
startProcessChildren
in interfaceResolutionListener
-
endProcessChildren
Deprecated.- Specified by:
endProcessChildren
in interfaceResolutionListener
-
includeArtifact
Deprecated.- Specified by:
includeArtifact
in interfaceResolutionListener
-
omitForNearer
Deprecated.- Specified by:
omitForNearer
in interfaceResolutionListener
-
omitForCycle
Deprecated.- Specified by:
omitForCycle
in interfaceResolutionListener
-
updateScopeCurrentPom
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 interfaceResolutionListener
- Parameters:
artifact
- current node artifact, the one in the first level pomignoredScope
- artifactScope that was ignored because artifact was in first level pom
-
updateScope
Deprecated.- Specified by:
updateScope
in interfaceResolutionListener
-
selectVersionFromRange
Deprecated.- Specified by:
selectVersionFromRange
in interfaceResolutionListener
-
restrictRange
Deprecated.- Specified by:
restrictRange
in interfaceResolutionListener
-
manageArtifact
Deprecated.The logic used here used to be a copy of the logic used in the DefaultArtifactCollector, and this method was called right before the actual version/artifactScope changes were done. However, a different set of conditionals (and more information) is needed to be able to determine when and if the version and/or artifactScope changes. See the two added methods, manageArtifactVersion and manageArtifactScope.- Specified by:
manageArtifact
in interfaceResolutionListener
-
manageArtifactVersion
Deprecated.- Specified by:
manageArtifactVersion
in interfaceResolutionListenerForDepMgmt
-
manageArtifactScope
Deprecated.- Specified by:
manageArtifactScope
in interfaceResolutionListenerForDepMgmt
-
manageArtifactSystemPath
Deprecated.- Specified by:
manageArtifactSystemPath
in interfaceResolutionListenerForDepMgmt
-