public class AntBuildWriter extends Object
Maven Project for Ant 1.6.2 or above:
 | Modifier and Type | Field and Description | 
|---|---|
| protected static String | DEFAULT_BUILD_FILENAMEThe default build file name (build.xml) | 
| protected static int | DEFAULT_INDENTATION_SIZEThe default line indenter | 
| protected static String | DEFAULT_MAVEN_BUILD_FILENAMEThe default generated build file name | 
| protected static String | DEFAULT_MAVEN_PROPERTIES_FILENAMEThe default build properties file name | 
| Constructor and Description | 
|---|
| AntBuildWriter(MavenProject project,
              ArtifactResolverWrapper artifactResolverWrapper,
              Settings settings,
              boolean overwrite,
              Properties executionProperties) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | writeBuildProperties()Generate  maven-build.propertiesonly for a non-POM project | 
| protected void | writeBuildXmls()Generate Ant build XML files | 
protected static final int DEFAULT_INDENTATION_SIZE
protected static final String DEFAULT_BUILD_FILENAME
protected static final String DEFAULT_MAVEN_BUILD_FILENAME
protected static final String DEFAULT_MAVEN_PROPERTIES_FILENAME
public AntBuildWriter(MavenProject project, ArtifactResolverWrapper artifactResolverWrapper, Settings settings, boolean overwrite, Properties executionProperties)
project - MavenProjectartifactResolverWrapper - ArtifactResolverWrappersettings - Settingsoverwrite - true/false to overwrite or not.executionProperties - Propertiesprotected void writeBuildXmls()
                       throws IOException
IOException - In case of an error.protected void writeBuildProperties()
                             throws IOException
maven-build.properties only for a non-POM projectIOException - In case of an failure IOExceptionDEFAULT_MAVEN_PROPERTIES_FILENAMECopyright © 2002–2019 The Apache Software Foundation. All rights reserved.