Package org.apache.maven.tools.plugin
Class ExtendedPluginDescriptor
java.lang.Object
org.codehaus.plexus.component.repository.ComponentSetDescriptor
org.apache.maven.plugin.descriptor.PluginDescriptor
org.apache.maven.tools.plugin.ExtendedPluginDescriptor
- All Implemented Interfaces:
Cloneable
Extensions to
PluginDescriptor
not supported by Maven 3.2.5.
This is a wrapper around an existing PluginDescriptor.-
Constructor Summary
ConstructorDescriptionExtendedPluginDescriptor
(org.apache.maven.plugin.descriptor.PluginDescriptor delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMojo
(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor) void
org.apache.maven.plugin.descriptor.PluginDescriptor
clone()
boolean
List
<org.apache.maven.artifact.Artifact> org.codehaus.plexus.classworlds.realm.ClassRealm
getId()
Set
<org.apache.maven.artifact.Artifact> org.apache.maven.plugin.descriptor.MojoDescriptor
List
<org.apache.maven.plugin.descriptor.MojoDescriptor> getMojos()
getName()
org.apache.maven.model.Plugin
org.apache.maven.artifact.Artifact
int
hashCode()
boolean
void
setArtifactId
(String artifactId) void
setArtifacts
(List<org.apache.maven.artifact.Artifact> artifacts) void
setClassRealm
(org.codehaus.plexus.classworlds.realm.ClassRealm classRealm) void
setDescription
(String description) void
setGoalPrefix
(String goalPrefix) void
setGroupId
(String groupId) void
setInheritedByDefault
(boolean inheritedByDefault) void
setIntroducedDependencyArtifacts
(Set<org.apache.maven.artifact.Artifact> introducedDependencyArtifacts) void
void
setPlugin
(org.apache.maven.model.Plugin plugin) void
setPluginArtifact
(org.apache.maven.artifact.Artifact pluginArtifact) void
setRequiredJavaVersion
(String requiredJavaVersion) void
setRequiredMavenVersion
(String requiredMavenVersion) void
void
setVersion
(String version) Methods inherited from class org.apache.maven.plugin.descriptor.PluginDescriptor
constructPluginKey, getDefaultPluginArtifactId, getDefaultPluginGroupId, getGoalPrefixFromArtifactId, getLifecycleMapping
Methods inherited from class org.codehaus.plexus.component.repository.ComponentSetDescriptor
addComponentDescriptor, addDependency, getComponents, getDependencies, isIsolatedRealm, setComponents, setDependencies, setId, setIsolatedRealm, toString
-
Constructor Details
-
ExtendedPluginDescriptor
-
-
Method Details
-
setRequiredJavaVersion
-
getRequiredJavaVersion
-
equals
- Overrides:
equals
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
hashCode
- Overrides:
hashCode
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getMojos
- Overrides:
getMojos
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
addMojo
public void addMojo(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor) throws org.apache.maven.plugin.descriptor.DuplicateMojoDescriptorException - Overrides:
addMojo
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
- Throws:
org.apache.maven.plugin.descriptor.DuplicateMojoDescriptorException
-
addMojos
public void addMojos(List<org.apache.maven.plugin.descriptor.MojoDescriptor> mojos) throws org.apache.maven.plugin.descriptor.DuplicateMojoDescriptorException - Throws:
org.apache.maven.plugin.descriptor.DuplicateMojoDescriptorException
-
getGroupId
- Overrides:
getGroupId
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setGroupId
- Overrides:
setGroupId
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getArtifactId
- Overrides:
getArtifactId
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setArtifactId
- Overrides:
setArtifactId
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getPluginLookupKey
- Overrides:
getPluginLookupKey
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getId
- Overrides:
getId
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getGoalPrefix
- Overrides:
getGoalPrefix
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setGoalPrefix
- Overrides:
setGoalPrefix
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setVersion
- Overrides:
setVersion
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getVersion
- Overrides:
getVersion
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setSource
- Overrides:
setSource
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getSource
- Overrides:
getSource
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
isInheritedByDefault
- Overrides:
isInheritedByDefault
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setInheritedByDefault
- Overrides:
setInheritedByDefault
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getArtifacts
- Overrides:
getArtifacts
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setArtifacts
- Overrides:
setArtifacts
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getArtifactMap
- Overrides:
getArtifactMap
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getMojo
- Overrides:
getMojo
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setClassRealm
- Overrides:
setClassRealm
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getClassRealm
- Overrides:
getClassRealm
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setIntroducedDependencyArtifacts
public void setIntroducedDependencyArtifacts(Set<org.apache.maven.artifact.Artifact> introducedDependencyArtifacts) - Overrides:
setIntroducedDependencyArtifacts
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getIntroducedDependencyArtifacts
- Overrides:
getIntroducedDependencyArtifacts
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setName
- Overrides:
setName
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getName
- Overrides:
getName
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setDescription
- Overrides:
setDescription
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getDescription
- Overrides:
getDescription
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setRequiredMavenVersion
- Overrides:
setRequiredMavenVersion
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getRequiredMavenVersion
- Overrides:
getRequiredMavenVersion
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setPlugin
- Overrides:
setPlugin
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getPlugin
- Overrides:
getPlugin
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
getPluginArtifact
- Overrides:
getPluginArtifact
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
setPluginArtifact
- Overrides:
setPluginArtifact
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-
clone
- Overrides:
clone
in classorg.apache.maven.plugin.descriptor.PluginDescriptor
-