Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fork of with enhancements
branch: master


Maven XML Formatter Plugin

This is a fork of the original Maven xml-formatter plugin. This fork ensures the plugin will not overwrite original files unless an actual change has occurred.

You do not need to clone this GitHub repository to use the fork. You can use it immediately by making two simple changes to your project's pom.xml.

First, declare this project as a plugin repository:

    <name>Maven2 XML Formatter Plugin repository</name>

Second, enable the plugin. Example configuration settings are shown below which will cause reformatting any time a test is run, but of course you can attach it to any lifecycle phase. Please refer to the original documentation for more configuration options.


Ticket 2 has been logged against the original project so they can incorporate these changes. As such, please check the ticket for updates before using this fork.

Something went wrong with that request. Please try again.