Skip to content

Commit

Permalink
build: Add sortpom
Browse files Browse the repository at this point in the history
Signed-off-by: unknowIfGuestInDream <[email protected]>
  • Loading branch information
unknowIfGuestInDream committed Jun 9, 2024
1 parent 67892ae commit 1641015
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
<git-commit-id-maven-plugin.version>8.0.2</git-commit-id-maven-plugin.version>
<versions-maven-plugin.version>2.16.2</versions-maven-plugin.version>
<sortpom-maven-plugin.version>4.0.0</sortpom-maven-plugin.version>
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
<!-- if you update the checkstyle version make sure you update the google_checks.xml inside the repository -->
<checkstyle.version>10.17.0</checkstyle.version>
Expand Down Expand Up @@ -1475,6 +1476,17 @@
<wtpversion>2.0</wtpversion>
</configuration>
</plugin>
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>sort</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

<pluginManagement>
Expand Down Expand Up @@ -1685,6 +1697,11 @@
<artifactId>maven-eclipse-plugin</artifactId>
<version>${maven-eclipse-plugin.version}</version>
</plugin>
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
<version>${sortpom-maven-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down

0 comments on commit 1641015

Please sign in to comment.