public class DependencyTreeResolutionListener extends Object implements ResolutionListener, ResolutionListenerForDepMgmt
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 and Description |
|---|
DependencyTreeResolutionListener(org.codehaus.plexus.logging.Logger logger)
Creates a new dependency tree resolution listener that writes to the specified log.
|
public DependencyTreeResolutionListener(org.codehaus.plexus.logging.Logger logger)
logger - the log to write debug messages topublic void testArtifact(Artifact artifact)
testArtifact in interface ResolutionListenerpublic void startProcessChildren(Artifact artifact)
startProcessChildren in interface ResolutionListenerpublic void endProcessChildren(Artifact artifact)
endProcessChildren in interface ResolutionListenerpublic void includeArtifact(Artifact artifact)
includeArtifact in interface ResolutionListenerpublic void omitForNearer(Artifact omitted, Artifact kept)
omitForNearer in interface ResolutionListenerpublic void updateScope(Artifact artifact, String scope)
updateScope in interface ResolutionListenerpublic void manageArtifact(Artifact artifact, Artifact replacement)
manageArtifact in interface ResolutionListenerpublic void omitForCycle(Artifact artifact)
omitForCycle in interface ResolutionListenerpublic void updateScopeCurrentPom(Artifact artifact, String scopeIgnored)
updateScopeCurrentPom in interface ResolutionListenerpublic void selectVersionFromRange(Artifact artifact)
selectVersionFromRange in interface ResolutionListenerpublic void restrictRange(Artifact artifact, Artifact replacement, org.apache.maven.artifact.versioning.VersionRange versionRange)
restrictRange in interface ResolutionListenerpublic void manageArtifactVersion(Artifact artifact, Artifact replacement)
manageArtifactVersion in interface ResolutionListenerForDepMgmtpublic void manageArtifactScope(Artifact artifact, Artifact replacement)
manageArtifactScope in interface ResolutionListenerForDepMgmtpublic Collection<DependencyNode> getNodes()
CollectingDependencyNodeVisitor
on the root dependency nodepublic DependencyNode getRootNode()
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.