构造函数和描述 |
---|
PluginDescriptor() |
public List<MojoDescriptor> getMojos()
public void addMojo(MojoDescriptor mojoDescriptor) throws DuplicateMojoDescriptorException
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String artifactId)
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(org.codehaus.plexus.classworlds.realm.ClassRealm classRealm)
public org.codehaus.plexus.classworlds.realm.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()
版权所有 © 2001–2022 Apache 软件基金会。版权所有。