Constructor and Description |
---|
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 String getId()
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 void setSource(String source)
public String getSource()
public boolean isInheritedByDefault()
public void setInheritedByDefault(boolean inheritedByDefault)
public List<Artifact> getArtifacts()
maven-project
.null
.public Map<String,Artifact> getArtifactMap()
null
getArtifacts()
public MojoDescriptor getMojo(String goal)
public void setClassRealm(ClassRealm classRealm)
public ClassRealm getClassRealm()
public void setIntroducedDependencyArtifacts(Set<Artifact> introducedDependencyArtifacts)
public void setName(String name)
public String getName()
public void setDescription(String description)
public String getDescription()
public void setRequiredMavenVersion(String requiredMavenVersion)
public String getRequiredMavenVersion()
public void setPlugin(Plugin plugin)
public Plugin getPlugin()
public Artifact getPluginArtifact()
public void setPluginArtifact(Artifact pluginArtifact)
public Lifecycle getLifecycleMapping(String lifecycleId) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public PluginDescriptor clone()
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.