Skip to content

Commit f616cd9

Browse files
guanxucilayaperumalg
authored andcommitted
chore: clean up parent pom.xml
- Define the `spring-javaformat-checkstyle.version` property in <properties> - Format the `maven-gpg-plugin` plugin in the `sonatype` profile Signed-off-by: guanxu <[email protected]>
1 parent bb91c5f commit f616cd9

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

pom.xml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@
357357
<maven-checkstyle-plugin.failsOnError>true</maven-checkstyle-plugin.failsOnError>
358358
<maven-checkstyle-plugin.failOnViolation>true</maven-checkstyle-plugin.failOnViolation>
359359
<puppycrawl-tools-checkstyle.version>9.3</puppycrawl-tools-checkstyle.version>
360+
<spring-javaformat-checkstyle.version>0.0.43</spring-javaformat-checkstyle.version>
360361
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
361362

362363
<disable.checks>false</disable.checks>
@@ -392,7 +393,7 @@
392393
<dependency>
393394
<groupId>io.spring.javaformat</groupId>
394395
<artifactId>spring-javaformat-checkstyle</artifactId>
395-
<version>0.0.43</version>
396+
<version>${spring-javaformat-checkstyle.version}</version>
396397
</dependency>
397398
</dependencies>
398399
<executions>
@@ -891,23 +892,23 @@
891892
</properties>
892893
<build>
893894
<plugins>
894-
<plugin>
895-
<groupId>org.apache.maven.plugins</groupId>
896-
<artifactId>maven-gpg-plugin</artifactId>
897-
<version>${maven-gpg-plugin.version}</version>
898-
<executions>
899-
<execution>
900-
<id>sign-artifacts</id>
901-
<phase>verify</phase>
902-
<goals>
903-
<goal>sign</goal>
904-
</goals>
905-
</execution>
906-
</executions>
907-
<configuration>
908-
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
909-
</configuration>
910-
</plugin>
895+
<plugin>
896+
<groupId>org.apache.maven.plugins</groupId>
897+
<artifactId>maven-gpg-plugin</artifactId>
898+
<version>${maven-gpg-plugin.version}</version>
899+
<executions>
900+
<execution>
901+
<id>sign-artifacts</id>
902+
<phase>verify</phase>
903+
<goals>
904+
<goal>sign</goal>
905+
</goals>
906+
</execution>
907+
</executions>
908+
<configuration>
909+
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
910+
</configuration>
911+
</plugin>
911912
<plugin>
912913
<groupId>org.sonatype.central</groupId>
913914
<artifactId>central-publishing-maven-plugin</artifactId>

0 commit comments

Comments
 (0)