Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addProperty(Properties, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Put a property in properties defined by a name and a value
- addWrapAttribute(XMLWriter, String, String, String, int) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Convenience method to wrap long element tags for a given attribute.
- AntBuildWriter - Class in org.apache.maven.plugin.ant
-
Write Ant build files from
Maven Project
for Ant 1.6.2 or above: build.xml maven-build.xml maven-build.properties - AntBuildWriter(MavenProject, ArtifactResolverWrapper, Settings, boolean, Properties) - Constructor for class org.apache.maven.plugin.ant.AntBuildWriter
- AntBuildWriterUtil - Class in org.apache.maven.plugin.ant
-
Utility class for the
AntBuildWriter
class. - AntBuildWriterUtil() - Constructor for class org.apache.maven.plugin.ant.AntBuildWriterUtil
- AntCleanMojo - Class in org.apache.maven.plugin.ant
-
Clean all Ant build files.
- AntCleanMojo() - Constructor for class org.apache.maven.plugin.ant.AntCleanMojo
- AntMojo - Class in org.apache.maven.plugin.ant
-
Generate Ant build files.
- AntMojo() - Constructor for class org.apache.maven.plugin.ant.AntMojo
- append(StringBuilder, String, int) - Method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
-
Append a description to the buffer by respecting the indentSize and lineLength parameters.
- artifactResolverWrapper - Variable in class org.apache.maven.plugin.ant.AntBuildWriter
- ArtifactResolverWrapper - Class in org.apache.maven.plugin.ant
-
Wrapper object to resolve artifact.
- ArtifactResolverWrapper(ArtifactResolver, ArtifactFactory, ArtifactRepository, List) - Constructor for class org.apache.maven.plugin.ant.ArtifactResolverWrapper
B
D
- DEFAULT_BUILD_FILENAME - Static variable in class org.apache.maven.plugin.ant.AntBuildWriter
-
The default build file name (build.xml)
- DEFAULT_INDENTATION_SIZE - Static variable in class org.apache.maven.plugin.ant.AntBuildWriter
-
The default line indenter
- DEFAULT_LINE_LENGTH - Static variable in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
- DEFAULT_MAVEN_BUILD_FILENAME - Static variable in class org.apache.maven.plugin.ant.AntBuildWriter
-
The default generated build file name
- DEFAULT_MAVEN_PROPERTIES_FILENAME - Static variable in class org.apache.maven.plugin.ant.AntBuildWriter
-
The default build properties file name
- deleteCustomFiles - Variable in class org.apache.maven.plugin.ant.AntCleanMojo
-
Forcing the deletion of the custom
build.xml
. - detail - Variable in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
-
If
true
, display all settable properties for each goal.
E
- execute() - Method in class org.apache.maven.plugin.ant.AntCleanMojo
- execute() - Method in class org.apache.maven.plugin.ant.AntMojo
- execute() - Method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
- executionProperties - Variable in class org.apache.maven.plugin.ant.AntBuildWriter
F
- factory - Variable in class org.apache.maven.plugin.ant.AntMojo
-
Factory for creating artifact objects.
- factory - Variable in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
-
Factory for creating artifact objects
- findNamedChild(Node, String) - Static method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
- findSingleChild(Node, String) - Static method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
G
- getArtifactAbsolutePath(String, String, String) - Method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
-
Return the artifact path in the local repository for an artifact defined by its
groupId
, itsartifactId
and itsversion
. - getCommaSeparatedList(Map[], String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriter
- getFactory() - Method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
- getIndentLevel(String) - Static method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
-
Gets the indentation level of the specified line.
- getInstance(ArtifactResolver, ArtifactFactory, ArtifactRepository, List) - Static method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
- getLocalArtifactPath(Artifact) - Method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
-
Gets the path to the specified artifact relative to the local repository's base directory.
- getLocalRepository() - Method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
- getLocalRepositoryPath() - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Check if the local repository is in the default location:
${user.home}/.m2/repository
. - getMavenCompilerPluginBasicOption(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return the
optionName
value defined in a project for the "maven-compiler-plugin" plugin. - getMavenCompilerPluginOption(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return the map of
optionName
value defined in a project for the "maven-compiler-plugin" plugin. - getMavenCompilerPluginOptions(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return an array of map of
optionName
value defined in a project for the "maven-compiler-plugin" plugin. - getMavenEarPluginBasicOption(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return the
optionName
value defined in a project for the "maven-ear-plugin" plugin. - getMavenJarPluginBasicOption(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return the
optionName
value defined in a project for the "maven-jar-plugin" plugin. - getMavenJavadocPluginBasicOption(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return the
optionName
value defined in a project for the "maven-javadoc-plugin" plugin. - getMavenJavadocPluginOption(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return a map of
optionName
value defined in a project for the "maven-javadoc-plugin" plugin. - getMavenJavadocPluginOptions(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return an array of map of
optionName
value defined in a project for the "maven-javadoc-plugin" plugin. - getMavenPluginBasicOption(MavenProject, String, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return the value for the option
optionName
defined in a project with the givenartifactId
plugin. - getMavenPluginConfigurationsImpl(MavenProject, String, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return a Map for the option
optionName
defined in a project with the givenartifactId
plugin. - getMavenPluginOption(MavenProject, String, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return a Map for the option
optionName
defined in a project with the givenartifactId
plugin. - getMavenPluginOptions(MavenProject, String, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return an array of Map for the option
optionName
defined in a project with the givenartifactId
plugin. - getMavenSurefirePluginBasicOption(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return the
optionName
value defined in a project for the "maven-surefire-plugin" plugin. - getMavenSurefirePluginOption(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return the map of
optionName
value defined in a project for the "maven-surefire-plugin" plugin. - getMavenSurefirePluginOptions(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return an array of map of
optionName
value defined in a project for the "maven-surefire-plugin" plugin. - getMavenWarPluginBasicOption(MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Return the
optionName
value defined in a project for the "maven-war-plugin" plugin. - getProjectRepoDirectory(String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Gets the relative path to a repository that is rooted in the project.
- getPropertyFromExpression(String) - Static method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
- getRemoteRepositories() - Method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
- getResolver() - Method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
- getSelectorList(Map[]) - Static method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Flattens the specified file selector options into a simple string list.
- getSingleChild(Node, String) - Static method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
- getSingularForm(String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Gets the singular form of the specified (English) plural form.
- getTestExcludes() - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Gets the exclude patterns for the unit tests.
- getTestIncludes() - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Gets the include patterns for the unit tests.
- getTextContent(Node) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Gets the text content of the specified node.
- getUninterpolatedSystemPath(Artifact) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
- getValue(Node, String) - Static method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
- goal - Variable in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
-
The name of the goal for which to show help.
H
- HelpMojo - Class in org.apache.maven.plugins.maven_ant_plugin
-
Display help information on maven-ant-plugin.
Callmvn ant:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Constructor for class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
I
- indentSize - Variable in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
-
The number of spaces per indentation level, should be positive.
- isBundlePackaging(MavenProject) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
- isEarPackaging(MavenProject) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
- isEjbPackaging(MavenProject) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
- isElementContent(Node) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Checks whether the specified node has element content or consists only of character data.
- isJarPackaging(MavenProject) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
- isList(Node) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Check if a given
node
is a list of nodes or not. - isMavenPluginPackaging(MavenProject) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
- isNotEmpty(String) - Static method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
- isPomPackaging(MavenProject) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
- isWarPackaging(MavenProject) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
L
- lineLength - Variable in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
-
The maximum length of a display line, should be positive.
- localRepository - Variable in class org.apache.maven.plugin.ant.AntBuildWriter
- localRepository - Variable in class org.apache.maven.plugin.ant.AntMojo
-
The local repository where the artifacts are located.
- localRepository - Variable in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
-
The local repository where the artifacts are located
O
- org.apache.maven.plugin.ant - package org.apache.maven.plugin.ant
- org.apache.maven.plugins.maven_ant_plugin - package org.apache.maven.plugins.maven_ant_plugin
- overwrite - Variable in class org.apache.maven.plugin.ant.AntBuildWriter
- overwrite - Variable in class org.apache.maven.plugin.ant.AntMojo
-
Whether or not to overwrite the
build.xml
file.
P
- PLUGIN_HELP_PATH - Static variable in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
- project - Variable in class org.apache.maven.plugin.ant.AntBuildWriter
- project - Variable in class org.apache.maven.plugin.ant.AntCleanMojo
-
The working project.
- project - Variable in class org.apache.maven.plugin.ant.AntMojo
-
The project to create a build for.
R
- remoteRepositories - Variable in class org.apache.maven.plugin.ant.AntMojo
-
The remote repositories where artifacts are located.
- remoteRepositories - Variable in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
-
The remote repositories where artifacts are located
- removeEmptyCompileSourceRoots(List) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
- repeat(String, int) - Static method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
-
Repeat a String
n
times to form a new string. - resolver - Variable in class org.apache.maven.plugin.ant.AntMojo
-
Used for resolving artifacts.
- resolver - Variable in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
-
Used for resolving artifacts
S
- session - Variable in class org.apache.maven.plugin.ant.AntMojo
-
The current Maven session.
- setFactory(ArtifactFactory) - Method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
- setLocalRepository(ArtifactRepository) - Method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
- setRemoteRepositories(List) - Method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
- setResolver(ArtifactResolver) - Method in class org.apache.maven.plugin.ant.ArtifactResolverWrapper
- settings - Variable in class org.apache.maven.plugin.ant.AntBuildWriter
- settings - Variable in class org.apache.maven.plugin.ant.AntMojo
-
The current user system settings for use in Maven.
T
- toLines(String, int, int, int) - Static method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
-
Splits the specified text into lines of convenient display length.
- toLines(List<String>, String, int, int) - Static method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
-
Adds the specified line to the output sequence, performing line wrapping if necessary.
- toRelative(File, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Relativizes the specified path against the given base directory (if possible).
W
- writeAntTask(XMLWriter, MavenProject, String, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Convenience method to write XML ant task
- writeAntVersionHeader(XMLWriter) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Write comment for the Ant supported version
- writeBuildPathDefinition(XMLWriter) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Write path definition in the writer only for a non-POM project.
- writeBuildPathDefinition(XMLWriter, String, List) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
- writeBuildProperties() - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Generate
maven-build.properties
only for a non-POM project - writeBuildXml() - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Generate an generic
build.xml
if not already exist - writeBuildXmls() - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Generate Ant build XML files
- writeCleanTarget(XMLWriter) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Write clean target in the writer depending the packaging of the project.
- writeCompileTarget(XMLWriter, List) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Write compile target in the writer depending the packaging of the project.
- writeCompileTasks(XMLWriter, String, List, List, String, boolean) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
- writeCompileTestsTarget(XMLWriter, List) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Write compile-test target in the writer depending the packaging of the project.
- writeCopyLib(XMLWriter, MavenProject, ArtifactResolverWrapper, String) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Write copy tasks in an outputDir for EAR and WAR targets for project depencies without
provided
ortest
as scope - writeEarTask(XMLWriter, MavenProject, ArtifactResolverWrapper) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Convenience method to write XML Ant ear task
- writeGeneratedBuildXml() - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Generate an
maven-build.xml
- writeGetDepsTarget(XMLWriter) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Write get-deps target in the writer only for a non-POM project
- writeGoal(StringBuilder, String, Element) - Method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
- writeHeader(XMLWriter) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Write comments in the Ant build file header
- writeIncludesExcludes(XMLWriter, List, List) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Convenience method to write
<include/>
and<exclude/>
- writeJarTask(XMLWriter, MavenProject) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Convenience method to write XML Ant jar task
- writeJavadocTarget(XMLWriter) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Write javadoc target in the writer depending the packaging of the project.
- writeJavadocTask(XMLWriter, MavenProject, ArtifactResolverWrapper) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Convenience method to write XML Ant javadoc task
- writePackageTarget(XMLWriter) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Write package target in the writer depending the packaging of the project.
- writeParameter(StringBuilder, Node, Node) - Method in class org.apache.maven.plugins.maven_ant_plugin.HelpMojo
- writePomParts(XMLWriter) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
- writeProperties(XMLWriter) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Write properties in the writer only for a non-POM project.
- writeTestFilesets(XMLWriter, List, List, List) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Write the
<fileset>
elements for the test compile source roots. - writeTestTargets(XMLWriter, List) - Method in class org.apache.maven.plugin.ant.AntBuildWriter
-
Write test target in the writer depending the packaging of the project.
- writeWarTask(XMLWriter, MavenProject, ArtifactResolverWrapper) - Static method in class org.apache.maven.plugin.ant.AntBuildWriterUtil
-
Convenience method to write XML Ant war task
All Classes and Interfaces|All Packages|Constant Field Values