Skip to content

Commit 72db7b2

Browse files
committed
pom.xml(sortpom-maven-plugin): add.
Use `mvn sortpom:sort` to sort pom.xml. @see https://github.com/Ekryd/sortpom No functional changes.
1 parent 257c2d2 commit 72db7b2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
<coveralls.plugin.version>2.2.0</coveralls.plugin.version>
6060
<javadoc.plugin.version>2.10.4</javadoc.plugin.version>
6161
<enforcer.plugin.version>1.4.1</enforcer.plugin.version>
62+
<sortpom.plugin.version>2.4.0</sortpom.plugin.version>
6263

6364
<!--
6465
Definitions and redefinitions of default values from spring-boot-dependencies:
@@ -795,6 +796,20 @@
795796
</executions>
796797
</plugin>
797798

799+
<plugin>
800+
<groupId>com.github.ekryd.sortpom</groupId>
801+
<artifactId>sortpom-maven-plugin</artifactId>
802+
<version>${sortpom.plugin.version}</version>
803+
<configuration>
804+
<lineSeparator>\n</lineSeparator>
805+
<predefinedSortOrder>default_0_4_0</predefinedSortOrder>
806+
<keepBlankLines>true</keepBlankLines>
807+
<indentBlankLines>true</indentBlankLines>
808+
<!-- Use tabs instead of spaces for indentation -->
809+
<nrOfIndentSpace>-1</nrOfIndentSpace>
810+
</configuration>
811+
</plugin>
812+
798813
</plugins>
799814

800815
</build>

0 commit comments

Comments
 (0)