Package org.apache.maven.plugins.antrun
Class AntrunXmlPlexusConfigurationWriter
java.lang.Object
org.apache.maven.plugins.antrun.AntrunXmlPlexusConfigurationWriter
Write the Ant target Plexus configuration to an XML file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(org.codehaus.plexus.configuration.PlexusConfiguration configuration, File file, String customTaskPrefix, 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)
-
Field Details
-
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
-