public class WarningResolutionListener extends Object implements ResolutionListener
FINISH_PROCESSING_CHILDREN, INCLUDE_ARTIFACT, MANAGE_ARTIFACT, MANAGE_ARTIFACT_SCOPE, 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 |
|---|
WarningResolutionListener(org.codehaus.plexus.logging.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
endProcessChildren(Artifact artifact) |
void |
includeArtifact(Artifact artifact) |
void |
manageArtifact(Artifact artifact,
Artifact replacement) |
void |
omitForCycle(Artifact omitted) |
void |
omitForNearer(Artifact omitted,
Artifact kept) |
void |
restrictRange(Artifact artifact,
Artifact replacement,
VersionRange newRange) |
void |
selectVersionFromRange(Artifact artifact) |
void |
startProcessChildren(Artifact artifact) |
void |
testArtifact(Artifact node) |
void |
updateScope(Artifact artifact,
String scope) |
void |
updateScopeCurrentPom(Artifact artifact,
String scope)
This event means that the scope has NOT been updated to a farther node scope because current
node is in the first level pom
|
public WarningResolutionListener(org.codehaus.plexus.logging.Logger logger)
public void testArtifact(Artifact node)
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 omitForCycle(Artifact omitted)
omitForCycle in interface ResolutionListenerpublic void updateScopeCurrentPom(Artifact artifact, String scope)
ResolutionListenerupdateScopeCurrentPom in interface ResolutionListenerartifact - current node artifact, the one in the first level pomscope - scope that was ignored because artifact was in first level pompublic void updateScope(Artifact artifact, String scope)
updateScope in interface ResolutionListenerpublic void manageArtifact(Artifact artifact, Artifact replacement)
manageArtifact in interface ResolutionListenerpublic void selectVersionFromRange(Artifact artifact)
selectVersionFromRange in interface ResolutionListenerpublic void restrictRange(Artifact artifact, Artifact replacement, VersionRange newRange)
restrictRange in interface ResolutionListenerCopyright © 2001-2021 The Apache Software Foundation. All Rights Reserved.