Class ActiveProjectArtifact
java.lang.Object
org.apache.maven.project.artifact.ActiveProjectArtifact
- All Implemented Interfaces:
- Comparable<Artifact>,- Artifact
Deprecated.
Wraps an active project instance to be able to receive updates from its artifact without affecting the original
 attributes of this artifact.
 TODO I think this exposes a design flaw in that the immutable and mutable parts of an artifact are in one class and
 should be split. ie scope, file, etc depend on the context of use, whereas everything else is immutable.
- 
Field SummaryFields inherited from interface org.apache.maven.artifact.ArtifactLATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_COMPILE_PLUS_RUNTIME, SCOPE_IMPORT, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_RUNTIME_PLUS_SYSTEM, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_VERSION, VERSION_FILE_PATTERN
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddMetadata(ArtifactMetadata metadata) Deprecated.intDeprecated.booleanDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getFile()Deprecated.Deprecated.getId()Deprecated.Deprecated.Deprecated.getScope()Deprecated.Deprecated.getType()Deprecated.Deprecated.Deprecated.booleanDeprecated.inthashCode()Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.voidselectVersion(String version) Deprecated.voidsetArtifactHandler(ArtifactHandler handler) Deprecated.voidsetArtifactId(String artifactId) Deprecated.voidsetAvailableVersions(List<ArtifactVersion> versions) Deprecated.voidsetBaseVersion(String baseVersion) Deprecated.voidsetDependencyFilter(ArtifactFilter artifactFilter) Deprecated.voidsetDependencyTrail(List<String> dependencyTrail) Deprecated.voidsetDownloadUrl(String downloadUrl) Deprecated.voidDeprecated.voidsetGroupId(String groupId) Deprecated.voidsetOptional(boolean optional) Deprecated.voidsetRelease(boolean release) Deprecated.voidsetRepository(ArtifactRepository remoteRepository) Deprecated.voidsetResolved(boolean resolved) Deprecated.voidsetResolvedVersion(String version) Deprecated.voidDeprecated.voidsetVersion(String version) Deprecated.voidsetVersionRange(VersionRange newRange) Deprecated.toString()Deprecated.voidupdateVersion(String version, ArtifactRepository localRepository) Deprecated.
- 
Constructor Details- 
ActiveProjectArtifactDeprecated.
 
- 
- 
Method Details- 
getFileDeprecated.
- 
getGroupIdDeprecated.- Specified by:
- getGroupIdin interface- Artifact
 
- 
getArtifactIdDeprecated.- Specified by:
- getArtifactIdin interface- Artifact
 
- 
getVersionDeprecated.- Specified by:
- getVersionin interface- Artifact
 
- 
setVersionDeprecated.- Specified by:
- setVersionin interface- Artifact
 
- 
getScopeDeprecated.
- 
getTypeDeprecated.
- 
getClassifierDeprecated.- Specified by:
- getClassifierin interface- Artifact
 
- 
hasClassifierpublic boolean hasClassifier()Deprecated.- Specified by:
- hasClassifierin interface- Artifact
 
- 
setFileDeprecated.
- 
getBaseVersionDeprecated.- Specified by:
- getBaseVersionin interface- Artifact
 
- 
setBaseVersionDeprecated.- Specified by:
- setBaseVersionin interface- Artifact
 
- 
getIdDeprecated.
- 
getDependencyConflictIdDeprecated.- Specified by:
- getDependencyConflictIdin interface- Artifact
 
- 
addMetadataDeprecated.- Specified by:
- addMetadatain interface- Artifact
 
- 
getMetadataListDeprecated.- Specified by:
- getMetadataListin interface- Artifact
 
- 
setRepositoryDeprecated.- Specified by:
- setRepositoryin interface- Artifact
 
- 
getRepositoryDeprecated.- Specified by:
- getRepositoryin interface- Artifact
 
- 
updateVersionDeprecated.- Specified by:
- updateVersionin interface- Artifact
 
- 
getDownloadUrlDeprecated.- Specified by:
- getDownloadUrlin interface- Artifact
 
- 
setDownloadUrlDeprecated.- Specified by:
- setDownloadUrlin interface- Artifact
 
- 
getDependencyFilterDeprecated.- Specified by:
- getDependencyFilterin interface- Artifact
 
- 
setDependencyFilterDeprecated.- Specified by:
- setDependencyFilterin interface- Artifact
 
- 
getArtifactHandlerDeprecated.- Specified by:
- getArtifactHandlerin interface- Artifact
 
- 
getDependencyTrailDeprecated.- Specified by:
- getDependencyTrailin interface- Artifact
 
- 
setDependencyTrailDeprecated.- Specified by:
- setDependencyTrailin interface- Artifact
 
- 
setScopeDeprecated.
- 
getVersionRangeDeprecated.- Specified by:
- getVersionRangein interface- Artifact
 
- 
setVersionRangeDeprecated.- Specified by:
- setVersionRangein interface- Artifact
 
- 
selectVersionDeprecated.- Specified by:
- selectVersionin interface- Artifact
 
- 
setGroupIdDeprecated.- Specified by:
- setGroupIdin interface- Artifact
 
- 
setArtifactIdDeprecated.- Specified by:
- setArtifactIdin interface- Artifact
 
- 
isSnapshotpublic boolean isSnapshot()Deprecated.- Specified by:
- isSnapshotin interface- Artifact
 
- 
compareToDeprecated.- Specified by:
- compareToin interface- Comparable<Artifact>
 
- 
setResolvedpublic void setResolved(boolean resolved) Deprecated.- Specified by:
- setResolvedin interface- Artifact
 
- 
isResolvedpublic boolean isResolved()Deprecated.- Specified by:
- isResolvedin interface- Artifact
 
- 
setResolvedVersionDeprecated.- Specified by:
- setResolvedVersionin interface- Artifact
 
- 
setArtifactHandlerDeprecated.- Specified by:
- setArtifactHandlerin interface- Artifact
 
- 
toStringDeprecated.
- 
isReleasepublic boolean isRelease()Deprecated.
- 
setReleasepublic void setRelease(boolean release) Deprecated.- Specified by:
- setReleasein interface- Artifact
 
- 
getAvailableVersionsDeprecated.- Specified by:
- getAvailableVersionsin interface- Artifact
 
- 
setAvailableVersionsDeprecated.- Specified by:
- setAvailableVersionsin interface- Artifact
 
- 
isOptionalpublic boolean isOptional()Deprecated.- Specified by:
- isOptionalin interface- Artifact
 
- 
getSelectedVersionDeprecated.- Specified by:
- getSelectedVersionin interface- Artifact
- Throws:
- OverConstrainedVersionException
 
- 
isSelectedVersionKnownDeprecated.- Specified by:
- isSelectedVersionKnownin interface- Artifact
- Throws:
- OverConstrainedVersionException
 
- 
setOptionalpublic void setOptional(boolean optional) Deprecated.- Specified by:
- setOptionalin interface- Artifact
 
- 
hashCodepublic int hashCode()Deprecated.
- 
equalsDeprecated.
 
-