Goals available for this plugin:
Goal | Description |
---|---|
xml-format:help | Display help information on xml-format-maven-plugin. Call mvn xml-format:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
xml-format:xml-check | Finds the XML files in a project and only check them: no files are changed, but the build will fail if any file does not follow the formatting conventions. |
xml-format:xml-format | Finds the XML files in a project and automatically reformats them. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 8 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>au.com.acegi</groupId> <artifactId>xml-format-maven-plugin</artifactId> <version>3.3.1</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>au.com.acegi</groupId> <artifactId>xml-format-maven-plugin</artifactId> <version>3.3.1</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"