Package org.apache.maven.plugins.antrun
Class AntrunXmlPlexusConfigurationWriter
- java.lang.Object
-
- org.apache.maven.plugins.antrun.AntrunXmlPlexusConfigurationWriter
-
class AntrunXmlPlexusConfigurationWriter extends java.lang.Object
Write the Ant target Plexus configuration to an XML file.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Set<java.lang.String>
EXCLUDED_ATTRIBUTES
-
Constructor Summary
Constructors Constructor Description AntrunXmlPlexusConfigurationWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(org.codehaus.plexus.configuration.PlexusConfiguration configuration, java.io.File file, java.lang.String customTaskPrefix, java.lang.String antTargetName)
private void
write(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
private void
writeAttributes(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
-
-
-
Method Detail
-
write
public void write(org.codehaus.plexus.configuration.PlexusConfiguration configuration, java.io.File file, java.lang.String customTaskPrefix, java.lang.String antTargetName) throws java.io.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:
java.io.IOException
- In case of problems.
-
write
private void write(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
- Throws:
java.io.IOException
-
writeAttributes
private void writeAttributes(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
- Throws:
java.io.IOException
-
-