Class AttachedArtifact
java.lang.Object
org.apache.maven.artifact.DefaultArtifact
org.apache.maven.project.artifact.AttachedArtifact
- All Implemented Interfaces:
- Comparable<Artifact>,- Artifact
Deprecated.
Warning: This is an internal utility class that is only public for technical reasons, it is not part
 of the public API. In particular, this class can be changed or deleted without prior notice. Use
 
MavenProjectHelper.attachArtifact(org.apache.maven.project.MavenProject, java.io.File, java.lang.String) instead.- 
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 SummaryConstructorsConstructorDescriptionAttachedArtifact(Artifact parent, String type, String classifier, ArtifactHandler artifactHandler) Deprecated.AttachedArtifact(Artifact parent, String type, ArtifactHandler artifactHandler) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddMetadata(ArtifactMetadata metadata) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getScope()Deprecated.Deprecated.Deprecated.booleanDeprecated.booleanDeprecated.voidsetArtifactId(String artifactId) Deprecated.voidsetAvailableVersions(List<ArtifactVersion> availableVersions) Deprecated.voidsetBaseVersion(String baseVersion) Deprecated.voidsetDownloadUrl(String downloadUrl) Deprecated.voidsetGroupId(String groupId) Deprecated.voidsetRelease(boolean release) Deprecated.voidsetRepository(ArtifactRepository repository) Deprecated.voidDeprecated.voidsetVersion(String version) Deprecated.voidsetVersionRange(VersionRange range) Deprecated.Methods inherited from class org.apache.maven.artifact.DefaultArtifactcompareTo, equals, getArtifactHandler, getArtifactId, getBaseVersionInternal, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getFile, getGroupId, getId, getSelectedVersion, getType, hasClassifier, hashCode, isOptional, isResolved, isSelectedVersionKnown, selectVersion, setArtifactHandler, setBaseVersionInternal, setDependencyFilter, setDependencyTrail, setFile, setOptional, setResolved, setResolvedVersion, toString, updateVersion
- 
Constructor Details- 
AttachedArtifactpublic AttachedArtifact(Artifact parent, String type, String classifier, ArtifactHandler artifactHandler) Deprecated.
- 
AttachedArtifactDeprecated.
 
- 
- 
Method Details- 
setArtifactIdDeprecated.- Specified by:
- setArtifactIdin interface- Artifact
- Overrides:
- setArtifactIdin class- DefaultArtifact
 
- 
getAvailableVersionsDeprecated.- Specified by:
- getAvailableVersionsin interface- Artifact
- Overrides:
- getAvailableVersionsin class- DefaultArtifact
 
- 
setAvailableVersionsDeprecated.- Specified by:
- setAvailableVersionsin interface- Artifact
- Overrides:
- setAvailableVersionsin class- DefaultArtifact
 
- 
getBaseVersionDeprecated.- Specified by:
- getBaseVersionin interface- Artifact
- Overrides:
- getBaseVersionin class- DefaultArtifact
 
- 
setBaseVersionDeprecated.- Specified by:
- setBaseVersionin interface- Artifact
- Overrides:
- setBaseVersionin class- DefaultArtifact
 
- 
getDownloadUrlDeprecated.- Specified by:
- getDownloadUrlin interface- Artifact
- Overrides:
- getDownloadUrlin class- DefaultArtifact
 
- 
setDownloadUrlDeprecated.- Specified by:
- setDownloadUrlin interface- Artifact
- Overrides:
- setDownloadUrlin class- DefaultArtifact
 
- 
setGroupIdDeprecated.- Specified by:
- setGroupIdin interface- Artifact
- Overrides:
- setGroupIdin class- DefaultArtifact
 
- 
getRepositoryDeprecated.- Specified by:
- getRepositoryin interface- Artifact
- Overrides:
- getRepositoryin class- DefaultArtifact
 
- 
setRepositoryDeprecated.- Specified by:
- setRepositoryin interface- Artifact
- Overrides:
- setRepositoryin class- DefaultArtifact
 
- 
getScopeDeprecated.- Specified by:
- getScopein interface- Artifact
- Overrides:
- getScopein class- DefaultArtifact
 
- 
setScopeDeprecated.- Specified by:
- setScopein interface- Artifact
- Overrides:
- setScopein class- DefaultArtifact
 
- 
getVersionDeprecated.- Specified by:
- getVersionin interface- Artifact
- Overrides:
- getVersionin class- DefaultArtifact
 
- 
setVersionDeprecated.- Specified by:
- setVersionin interface- Artifact
- Overrides:
- setVersionin class- DefaultArtifact
 
- 
getVersionRangeDeprecated.- Specified by:
- getVersionRangein interface- Artifact
- Overrides:
- getVersionRangein class- DefaultArtifact
 
- 
setVersionRangeDeprecated.- Specified by:
- setVersionRangein interface- Artifact
- Overrides:
- setVersionRangein class- DefaultArtifact
 
- 
isReleasepublic boolean isRelease()Deprecated.- Specified by:
- isReleasein interface- Artifact
- Overrides:
- isReleasein class- DefaultArtifact
 
- 
setReleasepublic void setRelease(boolean release) Deprecated.- Specified by:
- setReleasein interface- Artifact
- Overrides:
- setReleasein class- DefaultArtifact
 
- 
isSnapshotpublic boolean isSnapshot()Deprecated.- Specified by:
- isSnapshotin interface- Artifact
- Overrides:
- isSnapshotin class- DefaultArtifact
 
- 
addMetadataDeprecated.- Specified by:
- addMetadatain interface- Artifact
- Overrides:
- addMetadatain class- DefaultArtifact
 
- 
getMetadataListDeprecated.- Specified by:
- getMetadataListin interface- Artifact
- Overrides:
- getMetadataListin class- DefaultArtifact
 
 
-