Class EnhancedPluginDescriptorBuilder

java.lang.Object
org.apache.maven.plugin.descriptor.PluginDescriptorBuilder
org.apache.maven.plugins.plugin.descriptor.EnhancedPluginDescriptorBuilder

public class EnhancedPluginDescriptorBuilder extends org.apache.maven.plugin.descriptor.PluginDescriptorBuilder
Reads enhanced plugin.xml files as generated by PluginDescriptorFilesGenerator and used by PluginReport. Populates the slightly extended Parameter object EnhancedParameterWrapper. In addition populates all (optional) elements added after Maven Plugin API 3.2.5.
  • Constructor Details

  • Method Details

    • buildConfiguration

      public org.codehaus.plexus.configuration.PlexusConfiguration buildConfiguration(Reader reader) throws org.codehaus.plexus.configuration.PlexusConfigurationException
      Cache the returned configuration for additional evaluation in build(Reader, String).
      Overrides:
      buildConfiguration in class org.apache.maven.plugin.descriptor.PluginDescriptorBuilder
      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
      Overrides:
      build in class org.apache.maven.plugin.descriptor.PluginDescriptorBuilder
      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
      Overrides:
      buildComponentDescriptor in class org.apache.maven.plugin.descriptor.PluginDescriptorBuilder
      Throws:
      org.codehaus.plexus.configuration.PlexusConfigurationException