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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArtifactDeprecated.private final MavenProjectDeprecated.Fields inherited from interface org.apache.maven.artifact.Artifact
LATEST_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 Summary
Constructors -
Method Summary
Modifier 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.
-
Field Details
-
artifact
Deprecated. -
project
Deprecated.
-
-
Constructor Details
-
ActiveProjectArtifact
Deprecated.
-
-
Method Details
-
getFile
Deprecated. -
getGroupId
Deprecated.- Specified by:
getGroupIdin interfaceArtifact
-
getArtifactId
Deprecated.- Specified by:
getArtifactIdin interfaceArtifact
-
getVersion
Deprecated.- Specified by:
getVersionin interfaceArtifact
-
setVersion
Deprecated.- Specified by:
setVersionin interfaceArtifact
-
getScope
Deprecated. -
getType
Deprecated. -
getClassifier
Deprecated.- Specified by:
getClassifierin interfaceArtifact
-
hasClassifier
public boolean hasClassifier()Deprecated.- Specified by:
hasClassifierin interfaceArtifact
-
setFile
Deprecated. -
getBaseVersion
Deprecated.- Specified by:
getBaseVersionin interfaceArtifact
-
setBaseVersion
Deprecated.- Specified by:
setBaseVersionin interfaceArtifact
-
getId
Deprecated. -
getDependencyConflictId
Deprecated.- Specified by:
getDependencyConflictIdin interfaceArtifact
-
addMetadata
Deprecated.- Specified by:
addMetadatain interfaceArtifact
-
getMetadataList
Deprecated.- Specified by:
getMetadataListin interfaceArtifact
-
setRepository
Deprecated.- Specified by:
setRepositoryin interfaceArtifact
-
getRepository
Deprecated.- Specified by:
getRepositoryin interfaceArtifact
-
updateVersion
Deprecated.- Specified by:
updateVersionin interfaceArtifact
-
getDownloadUrl
Deprecated.- Specified by:
getDownloadUrlin interfaceArtifact
-
setDownloadUrl
Deprecated.- Specified by:
setDownloadUrlin interfaceArtifact
-
getDependencyFilter
Deprecated.- Specified by:
getDependencyFilterin interfaceArtifact
-
setDependencyFilter
Deprecated.- Specified by:
setDependencyFilterin interfaceArtifact
-
getArtifactHandler
Deprecated.- Specified by:
getArtifactHandlerin interfaceArtifact
-
getDependencyTrail
Deprecated.- Specified by:
getDependencyTrailin interfaceArtifact
-
setDependencyTrail
Deprecated.- Specified by:
setDependencyTrailin interfaceArtifact
-
setScope
Deprecated. -
getVersionRange
Deprecated.- Specified by:
getVersionRangein interfaceArtifact
-
setVersionRange
Deprecated.- Specified by:
setVersionRangein interfaceArtifact
-
selectVersion
Deprecated.- Specified by:
selectVersionin interfaceArtifact
-
setGroupId
Deprecated.- Specified by:
setGroupIdin interfaceArtifact
-
setArtifactId
Deprecated.- Specified by:
setArtifactIdin interfaceArtifact
-
isSnapshot
public boolean isSnapshot()Deprecated.- Specified by:
isSnapshotin interfaceArtifact
-
compareTo
Deprecated.- Specified by:
compareToin interfaceComparable<Artifact>
-
setResolved
public void setResolved(boolean resolved) Deprecated.- Specified by:
setResolvedin interfaceArtifact
-
isResolved
public boolean isResolved()Deprecated.- Specified by:
isResolvedin interfaceArtifact
-
setResolvedVersion
Deprecated.- Specified by:
setResolvedVersionin interfaceArtifact
-
setArtifactHandler
Deprecated.- Specified by:
setArtifactHandlerin interfaceArtifact
-
toString
Deprecated. -
isRelease
public boolean isRelease()Deprecated. -
setRelease
public void setRelease(boolean release) Deprecated.- Specified by:
setReleasein interfaceArtifact
-
getAvailableVersions
Deprecated.- Specified by:
getAvailableVersionsin interfaceArtifact
-
setAvailableVersions
Deprecated.- Specified by:
setAvailableVersionsin interfaceArtifact
-
isOptional
public boolean isOptional()Deprecated.- Specified by:
isOptionalin interfaceArtifact
-
getSelectedVersion
Deprecated.- Specified by:
getSelectedVersionin interfaceArtifact- Throws:
OverConstrainedVersionException
-
isSelectedVersionKnown
Deprecated.- Specified by:
isSelectedVersionKnownin interfaceArtifact- Throws:
OverConstrainedVersionException
-
setOptional
public void setOptional(boolean optional) Deprecated.- Specified by:
setOptionalin interfaceArtifact
-
hashCode
public int hashCode()Deprecated. -
equals
Deprecated.
-