Class PluginDescriptor
java.lang.Object
org.codehaus.plexus.component.repository.ComponentSetDescriptor
org.apache.maven.plugin.descriptor.PluginDescriptor
public class PluginDescriptor
extends org.codehaus.plexus.component.repository.ComponentSetDescriptor
- Version:
- $Id: PluginDescriptor.java 743587 2009-02-12 01:32:50Z jdcasey $
- Author:
- Jason van Zyl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMojo
(MojoDescriptor mojoDescriptor) static String
constructPluginKey
(String groupId, String artifactId, String version) boolean
org.codehaus.classworlds.ClassRealm
static String
static String
static String
getGoalPrefixFromArtifactId
(String artifactId) Parse maven-...-plugin.getId()
getLifecycleMapping
(String lifecycle) getMojos()
getName()
org.apache.maven.artifact.Artifact
int
hashCode()
boolean
void
setArtifactId
(String artifactId) void
setArtifacts
(List artifacts) void
setClassRealm
(org.codehaus.classworlds.ClassRealm classRealm) void
setDescription
(String description) void
setGoalPrefix
(String goalPrefix) void
setGroupId
(String groupId) void
setInheritedByDefault
(boolean inheritedByDefault) void
setIntroducedDependencyArtifacts
(Set introducedDependencyArtifacts) void
void
setPluginArtifact
(org.apache.maven.artifact.Artifact pluginArtifact) void
void
setVersion
(String version) Methods inherited from class org.codehaus.plexus.component.repository.ComponentSetDescriptor
addComponentDescriptor, addDependency, getComponents, getDependencies, isIsolatedRealm, setComponents, setDependencies, setId, setIsolatedRealm, toString
-
Constructor Details
-
PluginDescriptor
public PluginDescriptor()
-
-
Method Details
-
getMojos
-
addMojo
- Throws:
DuplicateMojoDescriptorException
-
getGroupId
-
setGroupId
-
getArtifactId
-
setArtifactId
-
constructPluginKey
-
getPluginLookupKey
-
getId
- Overrides:
getId
in classorg.codehaus.plexus.component.repository.ComponentSetDescriptor
-
getDefaultPluginArtifactId
-
getDefaultPluginGroupId
-
getGoalPrefixFromArtifactId
Parse maven-...-plugin. -
getGoalPrefix
-
setGoalPrefix
-
setVersion
-
getVersion
-
setSource
- Overrides:
setSource
in classorg.codehaus.plexus.component.repository.ComponentSetDescriptor
-
getSource
- Overrides:
getSource
in classorg.codehaus.plexus.component.repository.ComponentSetDescriptor
-
isInheritedByDefault
public boolean isInheritedByDefault() -
setInheritedByDefault
public void setInheritedByDefault(boolean inheritedByDefault) -
getArtifacts
-
setArtifacts
-
getArtifactMap
-
equals
-
hashCode
public int hashCode() -
getMojo
-
getLifecycleMapping
public Lifecycle getLifecycleMapping(String lifecycle) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException - Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
setClassRealm
public void setClassRealm(org.codehaus.classworlds.ClassRealm classRealm) -
getClassRealm
public org.codehaus.classworlds.ClassRealm getClassRealm() -
setIntroducedDependencyArtifacts
-
getIntroducedDependencyArtifacts
-
setName
-
getName
-
setDescription
-
getDescription
-
getPluginArtifact
public org.apache.maven.artifact.Artifact getPluginArtifact() -
setPluginArtifact
public void setPluginArtifact(org.apache.maven.artifact.Artifact pluginArtifact)
-