Class PluginDescriptorBuilder
java.lang.Object
org.apache.maven.plugins.plugin.descriptor.PluginDescriptorBuilder
- Direct Known Subclasses:
EnhancedPluginDescriptorBuilder
Build plugin descriptor object from
plugin.xml
.- Author:
- Jason van Zyl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.plugin.descriptor.PluginDescriptor
org.apache.maven.plugin.descriptor.PluginDescriptor
org.apache.maven.plugin.descriptor.MojoDescriptor
buildComponentDescriptor
(org.codehaus.plexus.configuration.PlexusConfiguration c, org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor) org.codehaus.plexus.configuration.PlexusConfiguration
buildConfiguration
(Reader configuration)
-
Constructor Details
-
PluginDescriptorBuilder
public PluginDescriptorBuilder()
-
-
Method Details
-
build
public org.apache.maven.plugin.descriptor.PluginDescriptor build(Reader reader) throws org.codehaus.plexus.configuration.PlexusConfigurationException - Throws:
org.codehaus.plexus.configuration.PlexusConfigurationException
-
build
public org.apache.maven.plugin.descriptor.PluginDescriptor build(Reader reader, String source) throws org.codehaus.plexus.configuration.PlexusConfigurationException - Throws:
org.codehaus.plexus.configuration.PlexusConfigurationException
-
buildComponentDescriptor
public org.apache.maven.plugin.descriptor.MojoDescriptor buildComponentDescriptor(org.codehaus.plexus.configuration.PlexusConfiguration c, org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor) throws org.codehaus.plexus.configuration.PlexusConfigurationException - Throws:
org.codehaus.plexus.configuration.PlexusConfigurationException
-
buildConfiguration
public org.codehaus.plexus.configuration.PlexusConfiguration buildConfiguration(Reader configuration) throws org.codehaus.plexus.configuration.PlexusConfigurationException - Throws:
org.codehaus.plexus.configuration.PlexusConfigurationException
-