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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendProcessChildren(Artifact artifact) voidincludeArtifact(Artifact artifact) voidmanageArtifact(Artifact artifact, Artifact replacement) voidomitForCycle(Artifact omitted) voidomitForNearer(Artifact omitted, Artifact kept) voidrestrictRange(Artifact artifact, Artifact replacement, VersionRange newRange) voidselectVersionFromRange(Artifact artifact) voidstartProcessChildren(Artifact artifact) voidtestArtifact(Artifact node) voidupdateScope(Artifact artifact, String scope) voidupdateScopeCurrentPom(Artifact artifact, String scope) 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)
-
-
Method Details
-
testArtifact
- Specified by:
testArtifactin interfaceResolutionListener
-
startProcessChildren
- Specified by:
startProcessChildrenin interfaceResolutionListener
-
endProcessChildren
- Specified by:
endProcessChildrenin interfaceResolutionListener
-
includeArtifact
- Specified by:
includeArtifactin interfaceResolutionListener
-
omitForNearer
- Specified by:
omitForNearerin interfaceResolutionListener
-
omitForCycle
- Specified by:
omitForCyclein interfaceResolutionListener
-
updateScopeCurrentPom
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
- Specified by:
updateScopein interfaceResolutionListener
-
manageArtifact
- Specified by:
manageArtifactin interfaceResolutionListener
-
selectVersionFromRange
- Specified by:
selectVersionFromRangein interfaceResolutionListener
-
restrictRange
- Specified by:
restrictRangein interfaceResolutionListener
-