public class PluginDescriptor extends ComponentSetDescriptor implements Cloneable
Constructor and Description |
---|
PluginDescriptor() |
addComponentDescriptor, addDependency, getComponents, getDependencies, isIsolatedRealm, setComponents, setDependencies, setId, setIsolatedRealm, toString
public PluginDescriptor()
public List<MojoDescriptor> getMojos()
public void addMojo(MojoDescriptor mojoDescriptor) throws DuplicateMojoDescriptorException
DuplicateMojoDescriptorException
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String artifactId)
public static String constructPluginKey(String groupId, String artifactId, String version)
public String getPluginLookupKey()
public static String getDefaultPluginArtifactId(String id)
public static String getDefaultPluginGroupId()
public static String getGoalPrefixFromArtifactId(String artifactId)
public String getGoalPrefix()
public void setGoalPrefix(String goalPrefix)
public void setVersion(String version)
public String getVersion()
public boolean isInheritedByDefault()
public void setInheritedByDefault(boolean inheritedByDefault)
public List<Artifact> getArtifacts()
maven-project
.null
.public void setArtifacts(List<Artifact> artifacts)
public Map<String,Artifact> getArtifactMap()
null
getArtifacts()
public MojoDescriptor getMojo(String goal)
public void setClassRealm(org.codehaus.plexus.classworlds.realm.ClassRealm classRealm)
public org.codehaus.plexus.classworlds.realm.ClassRealm getClassRealm()
public void setIntroducedDependencyArtifacts(Set<Artifact> introducedDependencyArtifacts)
public Set<Artifact> getIntroducedDependencyArtifacts()
public void setDescription(String description)
public String getDescription()
public void setRequiredMavenVersion(String requiredMavenVersion)
public String getRequiredMavenVersion()
public Artifact getPluginArtifact()
public void setPluginArtifact(Artifact pluginArtifact)
public Lifecycle getLifecycleMapping(String lifecycleId) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
public PluginDescriptor clone()
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.