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 Summary
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
ConstructorDescriptionAttachedArtifact
(Artifact parent, String type, String classifier, ArtifactHandler artifactHandler) Deprecated.AttachedArtifact
(Artifact parent, String type, ArtifactHandler artifactHandler) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetadata
(ArtifactMetadata metadata) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getScope()
Deprecated.Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.void
setArtifactId
(String artifactId) Deprecated.void
setAvailableVersions
(List<ArtifactVersion> availableVersions) Deprecated.void
setBaseVersion
(String baseVersion) Deprecated.void
setDownloadUrl
(String downloadUrl) Deprecated.void
setGroupId
(String groupId) Deprecated.void
setRelease
(boolean release) Deprecated.void
setRepository
(ArtifactRepository repository) Deprecated.void
Deprecated.void
setVersion
(String version) Deprecated.void
setVersionRange
(VersionRange range) Deprecated.Methods inherited from class org.apache.maven.artifact.DefaultArtifact
compareTo, 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
-
AttachedArtifact
public AttachedArtifact(Artifact parent, String type, String classifier, ArtifactHandler artifactHandler) Deprecated. -
AttachedArtifact
Deprecated.
-
-
Method Details
-
setArtifactId
Deprecated.- Specified by:
setArtifactId
in interfaceArtifact
- Overrides:
setArtifactId
in classDefaultArtifact
-
getAvailableVersions
Deprecated.- Specified by:
getAvailableVersions
in interfaceArtifact
- Overrides:
getAvailableVersions
in classDefaultArtifact
-
setAvailableVersions
Deprecated.- Specified by:
setAvailableVersions
in interfaceArtifact
- Overrides:
setAvailableVersions
in classDefaultArtifact
-
getBaseVersion
Deprecated.- Specified by:
getBaseVersion
in interfaceArtifact
- Overrides:
getBaseVersion
in classDefaultArtifact
-
setBaseVersion
Deprecated.- Specified by:
setBaseVersion
in interfaceArtifact
- Overrides:
setBaseVersion
in classDefaultArtifact
-
getDownloadUrl
Deprecated.- Specified by:
getDownloadUrl
in interfaceArtifact
- Overrides:
getDownloadUrl
in classDefaultArtifact
-
setDownloadUrl
Deprecated.- Specified by:
setDownloadUrl
in interfaceArtifact
- Overrides:
setDownloadUrl
in classDefaultArtifact
-
setGroupId
Deprecated.- Specified by:
setGroupId
in interfaceArtifact
- Overrides:
setGroupId
in classDefaultArtifact
-
getRepository
Deprecated.- Specified by:
getRepository
in interfaceArtifact
- Overrides:
getRepository
in classDefaultArtifact
-
setRepository
Deprecated.- Specified by:
setRepository
in interfaceArtifact
- Overrides:
setRepository
in classDefaultArtifact
-
getScope
Deprecated.- Specified by:
getScope
in interfaceArtifact
- Overrides:
getScope
in classDefaultArtifact
-
setScope
Deprecated.- Specified by:
setScope
in interfaceArtifact
- Overrides:
setScope
in classDefaultArtifact
-
getVersion
Deprecated.- Specified by:
getVersion
in interfaceArtifact
- Overrides:
getVersion
in classDefaultArtifact
-
setVersion
Deprecated.- Specified by:
setVersion
in interfaceArtifact
- Overrides:
setVersion
in classDefaultArtifact
-
getVersionRange
Deprecated.- Specified by:
getVersionRange
in interfaceArtifact
- Overrides:
getVersionRange
in classDefaultArtifact
-
setVersionRange
Deprecated.- Specified by:
setVersionRange
in interfaceArtifact
- Overrides:
setVersionRange
in classDefaultArtifact
-
isRelease
public boolean isRelease()Deprecated.- Specified by:
isRelease
in interfaceArtifact
- Overrides:
isRelease
in classDefaultArtifact
-
setRelease
public void setRelease(boolean release) Deprecated.- Specified by:
setRelease
in interfaceArtifact
- Overrides:
setRelease
in classDefaultArtifact
-
isSnapshot
public boolean isSnapshot()Deprecated.- Specified by:
isSnapshot
in interfaceArtifact
- Overrides:
isSnapshot
in classDefaultArtifact
-
addMetadata
Deprecated.- Specified by:
addMetadata
in interfaceArtifact
- Overrides:
addMetadata
in classDefaultArtifact
-
getMetadataList
Deprecated.- Specified by:
getMetadataList
in interfaceArtifact
- Overrides:
getMetadataList
in classDefaultArtifact
-