Skip to content

Commit fd8b93c

Browse files
committed
build: apply sortpom-maven-plugin
Normalize the project's POM by applying sortpom:sort
1 parent 177cc74 commit fd8b93c

1 file changed

Lines changed: 41 additions & 41 deletions

File tree

pom.xml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@
5454
<tag>HEAD</tag>
5555
</scm>
5656

57+
<issueManagement>
58+
<system>GitHub Issues</system>
59+
<url>https://github.com/Devskiller/jfairy/issues</url>
60+
</issueManagement>
61+
62+
<ciManagement>
63+
<system>GitHub Actions</system>
64+
<url>https://github.com/SkillPanel/jfairy/actions</url>
65+
</ciManagement>
66+
5767
<distributionManagement>
5868
<repository>
5969
<id>central</id>
@@ -67,16 +77,6 @@
6777
</snapshotRepository>
6878
</distributionManagement>
6979

70-
<issueManagement>
71-
<system>GitHub Issues</system>
72-
<url>https://github.com/Devskiller/jfairy/issues</url>
73-
</issueManagement>
74-
75-
<ciManagement>
76-
<system>GitHub Actions</system>
77-
<url>https://github.com/SkillPanel/jfairy/actions</url>
78-
</ciManagement>
79-
8080
<properties>
8181
<revision>0.8.3-SNAPSHOT</revision>
8282

@@ -200,18 +200,18 @@
200200

201201
<pluginManagement>
202202
<plugins>
203-
<plugin>
204-
<groupId>com.github.ekryd.sortpom</groupId>
205-
<artifactId>sortpom-maven-plugin</artifactId>
206-
<version>${dep.plugin.sortpom.version}</version>
207-
<configuration>
208-
<createBackupFile>false</createBackupFile>
209-
<expandEmptyElements>false</expandEmptyElements>
210-
<nrOfIndentSpace>-1</nrOfIndentSpace>
211-
</configuration>
212-
</plugin>
213-
</plugins>
214-
</pluginManagement>
203+
<plugin>
204+
<groupId>com.github.ekryd.sortpom</groupId>
205+
<artifactId>sortpom-maven-plugin</artifactId>
206+
<version>${dep.plugin.sortpom.version}</version>
207+
<configuration>
208+
<createBackupFile>false</createBackupFile>
209+
<expandEmptyElements>false</expandEmptyElements>
210+
<nrOfIndentSpace>-1</nrOfIndentSpace>
211+
</configuration>
212+
</plugin>
213+
</plugins>
214+
</pluginManagement>
215215

216216
<plugins>
217217
<plugin>
@@ -226,10 +226,10 @@
226226
<executions>
227227
<execution>
228228
<id>add-test-source</id>
229-
<phase>generate-test-sources</phase>
230229
<goals>
231230
<goal>add-test-source</goal>
232231
</goals>
232+
<phase>generate-test-sources</phase>
233233
<configuration>
234234
<sources>
235235
<source>${project.basedir}/src/test/java</source>
@@ -278,13 +278,6 @@
278278
<groupId>org.codehaus.gmavenplus</groupId>
279279
<artifactId>gmavenplus-plugin</artifactId>
280280
<version>${dep.plugin.gmavenplus.version}</version>
281-
<executions>
282-
<execution>
283-
<goals>
284-
<goal>compileTests</goal>
285-
</goals>
286-
</execution>
287-
</executions>
288281
<configuration>
289282
<testSources>
290283
<testSource>
@@ -295,6 +288,13 @@
295288
</testSource>
296289
</testSources>
297290
</configuration>
291+
<executions>
292+
<execution>
293+
<goals>
294+
<goal>compileTests</goal>
295+
</goals>
296+
</execution>
297+
</executions>
298298
</plugin>
299299

300300
<plugin>
@@ -349,10 +349,10 @@
349349
<executions>
350350
<execution>
351351
<id>checkstyle-check</id>
352-
<phase>verify</phase>
353352
<goals>
354353
<goal>check</goal>
355354
</goals>
355+
<phase>verify</phase>
356356
</execution>
357357
</executions>
358358
</plugin>
@@ -397,17 +397,17 @@
397397
<executions>
398398
<execution>
399399
<id>flatten</id>
400-
<phase>prepare-package</phase>
401400
<goals>
402401
<goal>flatten</goal>
403402
</goals>
403+
<phase>prepare-package</phase>
404404
</execution>
405405
<execution>
406406
<id>flatten-clean</id>
407-
<phase>clean</phase>
408407
<goals>
409408
<goal>clean</goal>
410409
</goals>
410+
<phase>clean</phase>
411411
</execution>
412412
</executions>
413413
</plugin>
@@ -487,7 +487,7 @@
487487
</properties>
488488
</profile>
489489

490-
<!-- profile to fail the build on Error Prone findings
490+
<!-- profile to fail the build on Error Prone findings
491491
mvn clean compile -D check.fail-errorprone=true
492492
https://errorprone.info/bugpattern/IncompatibleModifiers -->
493493
<profile>
@@ -524,10 +524,10 @@
524524
<executions>
525525
<execution>
526526
<id>sign-artifacts</id>
527-
<phase>verify</phase>
528527
<goals>
529528
<goal>sign</goal>
530529
</goals>
530+
<phase>verify</phase>
531531
</execution>
532532
</executions>
533533
</plugin>
@@ -565,20 +565,20 @@
565565
<artifactId>central-publishing-maven-plugin</artifactId>
566566
<version>${dep.plugin.central-publishing.version}</version>
567567
<extensions>true</extensions>
568+
<configuration>
569+
<publishingServerId>central</publishingServerId>
570+
<autoPublish>true</autoPublish>
571+
<waitUntil>published</waitUntil>
572+
</configuration>
568573
<executions>
569574
<execution>
570575
<id>central-publish</id>
571-
<phase>deploy</phase>
572576
<goals>
573577
<goal>publish</goal>
574578
</goals>
579+
<phase>deploy</phase>
575580
</execution>
576581
</executions>
577-
<configuration>
578-
<publishingServerId>central</publishingServerId>
579-
<autoPublish>true</autoPublish>
580-
<waitUntil>published</waitUntil>
581-
</configuration>
582582
</plugin>
583583
</plugins>
584584
</build>

0 commit comments

Comments
 (0)