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$
- Author:
- Jason van Zyl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMojo(MojoDescriptor mojoDescriptor) static StringconstructPluginKey(String groupId, String artifactId, String version) booleanorg.codehaus.classworlds.ClassRealmstatic Stringstatic Stringstatic StringgetGoalPrefixFromArtifactId(String artifactId) Parse maven-...-plugin.getId()getLifecycleMapping(String lifecycle) getMojos()getName()org.apache.maven.artifact.ArtifactinthashCode()booleanvoidsetArtifactId(String artifactId) voidsetArtifacts(List artifacts) voidsetClassRealm(org.codehaus.classworlds.ClassRealm classRealm) voidsetDescription(String description) voidsetGoalPrefix(String goalPrefix) voidsetGroupId(String groupId) voidsetInheritedByDefault(boolean inheritedByDefault) voidsetIntroducedDependencyArtifacts(Set introducedDependencyArtifacts) voidvoidsetPluginArtifact(org.apache.maven.artifact.Artifact pluginArtifact) voidvoidsetVersion(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
-
getDefaultPluginArtifactId
-
getDefaultPluginGroupId
-
getGoalPrefixFromArtifactId
Parse maven-...-plugin. -
getGoalPrefix
-
setGoalPrefix
-
setVersion
-
getVersion
-
setSource
-
getSource
-
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:
IOExceptionorg.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)
-