Class WarningResolutionListener
java.lang.Object
org.apache.maven.artifact.resolver.WarningResolutionListener
- All Implemented Interfaces:
ResolutionListener
Send resolution warning events to the warning log.
- Author:
- Brett Porter
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
Constructor Details
-
WarningResolutionListener
public WarningResolutionListener(org.codehaus.plexus.logging.Logger logger)
-
-
Method Details
-
testArtifact
- Specified by:
testArtifact
in interfaceResolutionListener
-
startProcessChildren
- Specified by:
startProcessChildren
in interfaceResolutionListener
-
endProcessChildren
- Specified by:
endProcessChildren
in interfaceResolutionListener
-
includeArtifact
- Specified by:
includeArtifact
in interfaceResolutionListener
-
omitForNearer
- Specified by:
omitForNearer
in interfaceResolutionListener
-
omitForCycle
- Specified by:
omitForCycle
in interfaceResolutionListener
-
updateScopeCurrentPom
- Specified by:
updateScopeCurrentPom
in interfaceResolutionListener
-
updateScope
- Specified by:
updateScope
in interfaceResolutionListener
-
manageArtifact
- Specified by:
manageArtifact
in interfaceResolutionListener
-
selectVersionFromRange
- Specified by:
selectVersionFromRange
in interfaceResolutionListener
-
restrictRange
- Specified by:
restrictRange
in interfaceResolutionListener
-