Skip to content

Commit 6f0f2ac

Browse files
authored
chore(deps): bump build plugins and curl4j, gate GPG signing on release profile (#20)
- Bump maven-compiler-plugin 3.14.0 -> 3.15.0 - Bump maven-javadoc-plugin 3.11.2 -> 3.12.0 - Bump maven-surefire-plugin 3.5.3 -> 3.5.5 - Bump jacoco-maven-plugin 0.8.13 -> 0.8.14 - Bump formatter-maven-plugin 2.26.0 -> 2.29.0 - Bump central-publishing-maven-plugin 0.7.0 -> 0.10.0 - Bump maven-gpg-plugin 3.2.7 -> 3.2.8 and move it under a release profile (bestPractices enabled), so non-release builds no longer require a GPG key - Bump curl4j 1.3.0 -> 1.3.2
1 parent 1363e65 commit 6f0f2ac

1 file changed

Lines changed: 33 additions & 21 deletions

File tree

pom.xml

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@
4646
<plugins>
4747
<plugin>
4848
<artifactId>maven-compiler-plugin</artifactId>
49-
<version>3.14.0</version>
49+
<version>3.15.0</version>
5050
<configuration>
5151
<release>17</release>
5252
<encoding>UTF-8</encoding>
5353
</configuration>
5454
</plugin>
5555
<plugin>
5656
<artifactId>maven-javadoc-plugin</artifactId>
57-
<version>3.11.2</version>
57+
<version>3.12.0</version>
5858
<configuration>
5959
<encoding>UTF-8</encoding>
6060
<docencoding>UTF-8</docencoding>
@@ -64,15 +64,15 @@
6464
<plugin>
6565
<groupId>org.apache.maven.plugins</groupId>
6666
<artifactId>maven-surefire-plugin</artifactId>
67-
<version>3.5.3</version>
67+
<version>3.5.5</version>
6868
<configuration>
6969
<useSystemClassLoader>false</useSystemClassLoader>
7070
</configuration>
7171
</plugin>
7272
<plugin>
7373
<groupId>org.jacoco</groupId>
7474
<artifactId>jacoco-maven-plugin</artifactId>
75-
<version>0.8.13</version>
75+
<version>0.8.14</version>
7676
<executions>
7777
<execution>
7878
<goals>
@@ -113,7 +113,7 @@
113113
<plugin>
114114
<groupId>net.revelc.code.formatter</groupId>
115115
<artifactId>formatter-maven-plugin</artifactId>
116-
<version>2.26.0</version>
116+
<version>2.29.0</version>
117117
<executions>
118118
<execution>
119119
<goals>
@@ -125,31 +125,43 @@
125125
<configFile>https://www.codelibs.org/assets/formatter/eclipse-formatter-1.0.xml</configFile>
126126
</configuration>
127127
</plugin>
128-
<plugin>
129-
<groupId>org.apache.maven.plugins</groupId>
130-
<artifactId>maven-gpg-plugin</artifactId>
131-
<version>3.2.7</version>
132-
<executions>
133-
<execution>
134-
<id>sign-artifacts</id>
135-
<phase>verify</phase>
136-
<goals>
137-
<goal>sign</goal>
138-
</goals>
139-
</execution>
140-
</executions>
141-
</plugin>
142128
<plugin>
143129
<groupId>org.sonatype.central</groupId>
144130
<artifactId>central-publishing-maven-plugin</artifactId>
145-
<version>0.7.0</version>
131+
<version>0.10.0</version>
146132
<extensions>true</extensions>
147133
<configuration>
148134
<publishingServerId>central</publishingServerId>
149135
</configuration>
150136
</plugin>
151137
</plugins>
152138
</build>
139+
<profiles>
140+
<profile>
141+
<id>release</id>
142+
<build>
143+
<plugins>
144+
<plugin>
145+
<groupId>org.apache.maven.plugins</groupId>
146+
<artifactId>maven-gpg-plugin</artifactId>
147+
<version>3.2.8</version>
148+
<executions>
149+
<execution>
150+
<id>sign-artifacts</id>
151+
<phase>verify</phase>
152+
<goals>
153+
<goal>sign</goal>
154+
</goals>
155+
<configuration>
156+
<bestPractices>true</bestPractices>
157+
</configuration>
158+
</execution>
159+
</executions>
160+
</plugin>
161+
</plugins>
162+
</build>
163+
</profile>
164+
</profiles>
153165
<repositories>
154166
<repository>
155167
<id>snapshots.central.sonatype.com</id>
@@ -176,7 +188,7 @@
176188
<dependency>
177189
<groupId>org.codelibs</groupId>
178190
<artifactId>curl4j</artifactId>
179-
<version>1.3.0</version>
191+
<version>1.3.2</version>
180192
</dependency>
181193
<dependency>
182194
<groupId>org.junit.jupiter</groupId>

0 commit comments

Comments
 (0)