Class PluginArtifact
- java.lang.Object
-
- org.apache.maven.artifact.DefaultArtifact
-
- org.apache.maven.project.artifact.PluginArtifact
-
- All Implemented Interfaces:
java.lang.Comparable<Artifact>
,Artifact
,ArtifactWithDependencies
public class PluginArtifact extends DefaultArtifact implements ArtifactWithDependencies
PluginArtifact
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
PluginArtifact.PluginArtifactHandler
-
Field Summary
Fields Modifier and Type Field Description private Plugin
plugin
-
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 Constructor Description PluginArtifact(Plugin plugin, Artifact pluginArtifact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Dependency>
getDependencies()
java.util.List<Dependency>
getManagedDependencies()
-
Methods inherited from class org.apache.maven.artifact.DefaultArtifact
addMetadata, compareTo, equals, getArtifactHandler, getArtifactId, getAvailableVersions, getBaseVersion, getBaseVersionInternal, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getFile, getGroupId, getId, getMetadataList, getRepository, getScope, getSelectedVersion, getType, getVersion, getVersionRange, hasClassifier, hashCode, isOptional, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setArtifactId, setAvailableVersions, setBaseVersion, setBaseVersionInternal, setDependencyFilter, setDependencyTrail, setDownloadUrl, setFile, setGroupId, setOptional, setRelease, setRepository, setResolved, setResolvedVersion, setScope, setVersion, setVersionRange, toString, updateVersion
-
-
-
-
Field Detail
-
plugin
private Plugin plugin
-
-
Method Detail
-
getDependencies
public java.util.List<Dependency> getDependencies()
- Specified by:
getDependencies
in interfaceArtifactWithDependencies
-
getManagedDependencies
public java.util.List<Dependency> getManagedDependencies()
- Specified by:
getManagedDependencies
in interfaceArtifactWithDependencies
-
-