Class ArtifactResolutionResult
java.lang.Object
org.apache.maven.artifact.resolver.ArtifactResolutionResult
Deprecated.
Specific problems during resolution that we want to account for:
- missing metadata
- version range violations
- version circular dependencies
- missing artifacts
- network/transfer errors
- file system errors: permissions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addArtifact
(Artifact artifact) Deprecated.Deprecated.Deprecated.Deprecated.addMissingArtifact
(Artifact artifact) Deprecated.Deprecated.TODO this needs to accept aOverConstrainedVersionException
as returned bygetVersionRangeViolation(int)
but it's not used like that in DefaultLegacyArtifactCollectorDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getVersionRangeViolation
(int i) Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.void
setArtifactResolutionNodes
(Set<ResolutionNode> resolutionNodes) Deprecated.void
setArtifacts
(Set<Artifact> artifacts) Deprecated.setOriginatingArtifact
(Artifact originatingArtifact) Deprecated.setRepositories
(List<ArtifactRepository> repositories) Deprecated.setUnresolvedArtifacts
(List<Artifact> unresolvedArtifacts) Deprecated.toString()
Deprecated.
-
Constructor Details
-
ArtifactResolutionResult
public ArtifactResolutionResult()Deprecated.
-
-
Method Details
-
getOriginatingArtifact
Deprecated. -
setOriginatingArtifact
Deprecated. -
addArtifact
Deprecated. -
getArtifacts
Deprecated. -
setArtifacts
Deprecated. -
getArtifactResolutionNodes
Deprecated. -
setArtifactResolutionNodes
Deprecated. -
hasMissingArtifacts
public boolean hasMissingArtifacts()Deprecated. -
getMissingArtifacts
Deprecated. -
addMissingArtifact
Deprecated. -
setUnresolvedArtifacts
Deprecated. -
isSuccess
public boolean isSuccess()Deprecated. -
hasExceptions
public boolean hasExceptions()Deprecated. -
getExceptions
Deprecated. -
hasVersionRangeViolations
public boolean hasVersionRangeViolations()Deprecated. -
addVersionRangeViolation
Deprecated.TODO this needs to accept aOverConstrainedVersionException
as returned bygetVersionRangeViolation(int)
but it's not used like that in DefaultLegacyArtifactCollector- Parameters:
e
- an exception- Returns:
this
-
getVersionRangeViolation
Deprecated. -
getVersionRangeViolations
Deprecated. -
hasMetadataResolutionExceptions
public boolean hasMetadataResolutionExceptions()Deprecated. -
addMetadataResolutionException
Deprecated. -
getMetadataResolutionException
Deprecated. -
getMetadataResolutionExceptions
Deprecated. -
hasErrorArtifactExceptions
public boolean hasErrorArtifactExceptions()Deprecated. -
addErrorArtifactException
Deprecated. -
getErrorArtifactExceptions
Deprecated. -
hasCircularDependencyExceptions
public boolean hasCircularDependencyExceptions()Deprecated. -
addCircularDependencyException
Deprecated. -
getCircularDependencyException
Deprecated. -
getCircularDependencyExceptions
Deprecated. -
getRepositories
Deprecated. -
setRepositories
Deprecated. -
toString
Deprecated.
-