Interface ResolutionListener
-
public interface ResolutionListenerListens to the resolution process and handles events.- Author:
- Brett Porter
-
-
Field Summary
Fields Modifier and Type Field Description static intFINISH_PROCESSING_CHILDRENstatic intINCLUDE_ARTIFACTstatic intMANAGE_ARTIFACTDeprecated.static intMANAGE_ARTIFACT_SCOPEstatic intMANAGE_ARTIFACT_SYSTEM_PATHstatic intMANAGE_ARTIFACT_VERSIONstatic intOMIT_FOR_CYCLEstatic intOMIT_FOR_NEARERstatic intPROCESS_CHILDRENstatic intRESTRICT_RANGEstatic java.lang.StringROLEstatic intSELECT_VERSION_FROM_RANGEstatic intTEST_ARTIFACTstatic intUPDATE_SCOPEstatic intUPDATE_SCOPE_CURRENT_POMthis event means that the artifactScope has NOT been updated to a farther node artifactScope because current node is in the first level pom
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidendProcessChildren(org.apache.maven.artifact.Artifact artifact)voidincludeArtifact(org.apache.maven.artifact.Artifact artifact)voidmanageArtifact(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement)Deprecated.voidomitForCycle(org.apache.maven.artifact.Artifact artifact)voidomitForNearer(org.apache.maven.artifact.Artifact omitted, org.apache.maven.artifact.Artifact kept)voidrestrictRange(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement, org.apache.maven.artifact.versioning.VersionRange newRange)voidselectVersionFromRange(org.apache.maven.artifact.Artifact artifact)voidstartProcessChildren(org.apache.maven.artifact.Artifact artifact)voidtestArtifact(org.apache.maven.artifact.Artifact node)voidupdateScope(org.apache.maven.artifact.Artifact artifact, java.lang.String scope)voidupdateScopeCurrentPom(org.apache.maven.artifact.Artifact artifact, java.lang.String ignoredScope)This event means that the artifactScope has NOT been updated to a farther node artifactScope because current node is in the first level pom
-
-
-
Field Detail
-
ROLE
static final java.lang.String ROLE
-
TEST_ARTIFACT
static final int TEST_ARTIFACT
- See Also:
- Constant Field Values
-
PROCESS_CHILDREN
static final int PROCESS_CHILDREN
- See Also:
- Constant Field Values
-
FINISH_PROCESSING_CHILDREN
static final int FINISH_PROCESSING_CHILDREN
- See Also:
- Constant Field Values
-
INCLUDE_ARTIFACT
static final int INCLUDE_ARTIFACT
- See Also:
- Constant Field Values
-
OMIT_FOR_NEARER
static final int OMIT_FOR_NEARER
- See Also:
- Constant Field Values
-
UPDATE_SCOPE
static final int UPDATE_SCOPE
- See Also:
- Constant Field Values
-
MANAGE_ARTIFACT
@Deprecated static final int MANAGE_ARTIFACT
Deprecated.- See Also:
- Constant Field Values
-
OMIT_FOR_CYCLE
static final int OMIT_FOR_CYCLE
- See Also:
- Constant Field Values
-
UPDATE_SCOPE_CURRENT_POM
static final int UPDATE_SCOPE_CURRENT_POM
this event means that the artifactScope has NOT been updated to a farther node artifactScope because current node is in the first level pom- See Also:
- Constant Field Values
-
SELECT_VERSION_FROM_RANGE
static final int SELECT_VERSION_FROM_RANGE
- See Also:
- Constant Field Values
-
RESTRICT_RANGE
static final int RESTRICT_RANGE
- See Also:
- Constant Field Values
-
MANAGE_ARTIFACT_VERSION
static final int MANAGE_ARTIFACT_VERSION
- See Also:
- Constant Field Values
-
MANAGE_ARTIFACT_SCOPE
static final int MANAGE_ARTIFACT_SCOPE
- See Also:
- Constant Field Values
-
MANAGE_ARTIFACT_SYSTEM_PATH
static final int MANAGE_ARTIFACT_SYSTEM_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
testArtifact
void testArtifact(org.apache.maven.artifact.Artifact node)
-
startProcessChildren
void startProcessChildren(org.apache.maven.artifact.Artifact artifact)
-
endProcessChildren
void endProcessChildren(org.apache.maven.artifact.Artifact artifact)
-
includeArtifact
void includeArtifact(org.apache.maven.artifact.Artifact artifact)
-
omitForNearer
void omitForNearer(org.apache.maven.artifact.Artifact omitted, org.apache.maven.artifact.Artifact kept)
-
updateScope
void updateScope(org.apache.maven.artifact.Artifact artifact, java.lang.String scope)
-
manageArtifact
@Deprecated void manageArtifact(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement)Deprecated.
-
omitForCycle
void omitForCycle(org.apache.maven.artifact.Artifact artifact)
-
updateScopeCurrentPom
void updateScopeCurrentPom(org.apache.maven.artifact.Artifact artifact, java.lang.String ignoredScope)This event means that the artifactScope has NOT been updated to a farther node artifactScope because current node is in the first level pom- Parameters:
artifact- current node artifact, the one in the first level pomignoredScope- artifactScope that was ignored because artifact was in first level pom
-
selectVersionFromRange
void selectVersionFromRange(org.apache.maven.artifact.Artifact artifact)
-
restrictRange
void restrictRange(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.Artifact replacement, org.apache.maven.artifact.versioning.VersionRange newRange)
-
-