Class AntrunXmlPlexusConfigurationWriter

java.lang.Object
org.apache.maven.plugins.antrun.AntrunXmlPlexusConfigurationWriter

class AntrunXmlPlexusConfigurationWriter extends Object
Write the Ant target Plexus configuration to an XML file.
  • Field Details

    • EXCLUDED_ATTRIBUTES

      private static final Set<String> EXCLUDED_ATTRIBUTES
  • Constructor Details

    • AntrunXmlPlexusConfigurationWriter

      AntrunXmlPlexusConfigurationWriter()
  • Method Details

    • write

      public void write(org.codehaus.plexus.configuration.PlexusConfiguration configuration, File file, String customTaskPrefix, String antTargetName) throws IOException
      Parameters:
      configuration - PlexusConfiguration
      file - File to write the Plexus configuration to.
      customTaskPrefix - Prefix to use for the custom Ant tasks. Empty if no prefix should be used.
      antTargetName - Name of the default Ant target.
      Throws:
      IOException - In case of problems.
    • write

      private void write(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Throws:
      IOException
    • writeAttributes

      private void writeAttributes(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Throws:
      IOException