Skip to content

Commit

Permalink
Merge pull request #551 from hazendaz/master
Browse files Browse the repository at this point in the history
Make sort pom now run as formatter as most now sorted / add couple impsort as found in projects
  • Loading branch information
hazendaz authored Nov 9, 2023
2 parents efbe329 + 9550be8 commit d20f4c6
Showing 1 changed file with 13 additions and 21 deletions.
34 changes: 13 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
<formatter.config>eclipse-formatter-config-2space.xml</formatter.config>
<gcu.product>${project.name}</gcu.product>
<html.javadocType>-html5</html.javadocType>
<impsortGroups>au,ch,com,de,io,jakarta,java,javassist,javax,lombok,mockit,net,nl,ognl,org</impsortGroups>
<impsortGroups>au,ch,com,config,de,examples,io,jakarta,java,javassist,javax,lombok,mockit,net,nl,ognl,org</impsortGroups>
<module.name>org.mybatis.parent</module.name>
<spotbugs.onlyAnalyze />

Expand Down Expand Up @@ -1203,6 +1203,18 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>sort</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down Expand Up @@ -1308,26 +1320,6 @@
</build>
</profile>

<profile>
<id>sort</id>
<build>
<plugins>
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>sort</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>license</id>
<activation>
Expand Down

0 comments on commit d20f4c6

Please sign in to comment.