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_FILENAME
The default build file name (build.xml)
|
protected static int |
DEFAULT_INDENTATION_SIZE
The default line indenter
|
protected static String |
DEFAULT_MAVEN_BUILD_FILENAME
The default generated build file name
|
protected static String |
DEFAULT_MAVEN_PROPERTIES_FILENAME
The default build properties file name
|
| Constructor and Description |
|---|
AntBuildWriter(org.apache.maven.project.MavenProject project,
ArtifactResolverWrapper artifactResolverWrapper,
org.apache.maven.settings.Settings settings,
boolean overwrite,
Properties executionProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeBuildProperties()
Generate
maven-build.properties only 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(org.apache.maven.project.MavenProject project,
ArtifactResolverWrapper artifactResolverWrapper,
org.apache.maven.settings.Settings settings,
boolean overwrite,
Properties executionProperties)
project - artifactResolverWrapper - settings - overwrite - protected void writeBuildXmls()
throws IOException
IOExceptionprotected void writeBuildProperties()
throws IOException
maven-build.properties only for a non-POM projectIOExceptionDEFAULT_MAVEN_PROPERTIES_FILENAMECopyright © 2002–2024 The Apache Software Foundation. All rights reserved.