Skip to content
Björn Ekryd edited this page May 19, 2024 · 26 revisions
Releasedate Version Change
2009-09-03 0.1.1 First working version.
2009-09-12 0.2.0 All custom parameters implemented.
2009-10-01 0.2.1 Solved strange dependency for qdox. Generated runtime exception under Linux.
2009-10-06 0.2.3 Read sortOrderFile from executing path or classpath.
2010-08-07 0.3.0 Added parameter to set indentation.
2010-08-20 0.3.1 Added parameters to sort dependencies and plugins.
2011-11-19 0.3.2 Removed non-Central dependencies. Preparing for hosting in Central. Added signed jars.
2011-11-21 0.4.0 The plugin is now hosted in Central.
2011-12-10 1.0.0 Changed the default sort order according to newer maven documentation.
Added predefined sort order profiles.
Added parameter to control handling of empty xml elements.
2011-12-14 1.1.0 Removed the additional blank row at the end a sorted pomfile.
2012-02-16 1.2.0 Added parameter to sort properties.
2012-02-22 1.2.1 The Mojo has been marked as @threadSafe
2012-05-24 1.3.0 Added parameter to keep blank lines.
2012-06-17 1.3.1 Added parameter to control indentation for blank lines.
2012-06-19 1.3.2 Fixed a bug where text was deleted if surrounding tags where not the on same line.
2012-08-28 2.0.0 Added goal to verify if xml elements are sorted regardless of formatting.
2012-09-23 2.1.0 The parameters sortDependencies and sortPlugins are remade for greater flexibility.
2013-08-22 2.2 URLs can now be used as sortOrderFile to allow a centralized file.
2013-10-13 2.2.1 Corrected strange line separators when using xml:space="preserve"
2013-10-13 2.3.0 Ignore sections in pom.xml where SortPom should not sort elements
2015-04-06 2.4.0 Changed artifactId and groupId to indicate move to GitHub
2017-03-18 2.6.0 Added parameter ignoreLineSeparators to force sorting if only line breaks differ.
2017-03-29 2.7.0 Added parameter violationFilename to write to a separate violation file when verifying.
2017-04-02 2.8.0 Added parameter sortModules to sort modules alphabetically.
2018-09-20 2.9.0 Updated the default order to match Maven xsd. The parent element will get artifactId and groupId switched
2018-10-10 2.10.0 Added M2E lifecycle metadata so that Eclipse users will not get 'Plugin execution not covered by lifecycle configuration' error anymore.
2020-02-03 2.11.0 Added parameter keepTimestamp to retain the file creation time for a sorted pom file.
2020-07-02 2.12.0 Added parameter spaceBeforeCloseEmptyElement to control the space before self-closing xml tags.
2021-01-16 2.13.1 Added parameter sortExecutions and verifyFailOn.
2021-03-18 2.14.0 Added parameter indentSchemaLocation to break apart project declaration at the top of the pom
2021-04-06 2.15.0 Added parameter sortDependencyExclusions to sort dependency exclusions by groupId and/or artifactId
2021-04-20 3.0.0 THIS IS A BREAKING CHANGE! The predefined sort order is now according to the recommended pom order (as decided in 2008). Blank lines in the POM are now kept by default. If dependencies are sorted by SCOPE, then imported bom-files will be sorted towards the top.
2021-12-30 3.0.1 Fixed bug where ignoreLineSeparators was not respected during the 'verify' goal.
2022-05-22 3.1.0 Dropped support for Java 8. Updated underlying xml framework due to vulnerabilities. Updated other libraries and plugins.
2022-05-24 3.1.2 Fixed two bugs: Whitespace removed from multiple lines of text within XML tags
2022-05-29 3.1.3 Fix formatting if text and other content is placed together in a xml tag
2022-07-17 3.2.0 Added parameter sortDependencyManagement where dependency management can be sorted independently of dependencies
2023-01-29 3.2.1 Dependency updates. No new functionality
2023-07-24 3.3.0 Added parameter for quiet output from the plugin
2024-02-20 3.4.0 Added parameter for omitting newline at end of file
2024-03-10 3.4.1 Solves a bug, where whitespace was removed even if xml:space="preserve" was used
2024-05-19 4.0.0 Indentation for attributes are now 2 * indent size, and the parameter indentSchemaLocation has been deprecated in favor of indentAttribute.
Clone this wiki locally