@@ -51,7 +51,7 @@ SPDX-License-Identifier: LGPL-2.0-or-later
5151 <plugin >
5252 <groupId >org.apache.maven.plugins</groupId >
5353 <artifactId >maven-compiler-plugin</artifactId >
54- <version >3.8 .1</version >
54+ <version >3.10 .1</version >
5555 <configuration >
5656 <encoding >UTF-8</encoding >
5757 <failOnWarning >true</failOnWarning >
@@ -66,7 +66,7 @@ SPDX-License-Identifier: LGPL-2.0-or-later
6666
6767 <plugin >
6868 <artifactId >maven-deploy-plugin</artifactId >
69- <version >2.8.2 </version >
69+ <version >3.1.0 </version >
7070 <executions >
7171 <execution >
7272 <id >default-deploy</id >
@@ -81,7 +81,7 @@ SPDX-License-Identifier: LGPL-2.0-or-later
8181 <plugin >
8282 <groupId >org.apache.maven.plugins</groupId >
8383 <artifactId >maven-release-plugin</artifactId >
84- <version >2.5.3 </version >
84+ <version >3.0.0-M7 </version >
8585 <configuration >
8686 <localCheckout >true</localCheckout >
8787 <pushChanges >false</pushChanges >
@@ -97,15 +97,15 @@ SPDX-License-Identifier: LGPL-2.0-or-later
9797 <artifactId >
9898 maven-scm-provider-gitexe
9999 </artifactId >
100- <version >1.9.5 </version >
100+ <version >2.0.0-M3 </version >
101101 </dependency >
102102 </dependencies >
103103 </plugin >
104104
105105 <plugin >
106106 <groupId >org.sonatype.plugins</groupId >
107107 <artifactId >nexus-staging-maven-plugin</artifactId >
108- <version >1.6.7 </version >
108+ <version >1.6.13 </version >
109109 <extensions >true</extensions >
110110 <configuration >
111111 <serverId >ossrh</serverId >
@@ -117,7 +117,7 @@ SPDX-License-Identifier: LGPL-2.0-or-later
117117 <plugin >
118118 <groupId >org.apache.maven.plugins</groupId >
119119 <artifactId >maven-source-plugin</artifactId >
120- <version >3.2.0 </version >
120+ <version >3.2.1 </version >
121121 <executions >
122122 <execution >
123123 <id >attach-sources</id >
@@ -131,18 +131,26 @@ SPDX-License-Identifier: LGPL-2.0-or-later
131131 <plugin >
132132 <groupId >org.apache.maven.plugins</groupId >
133133 <artifactId >maven-javadoc-plugin</artifactId >
134- <version >3.1.1</version >
134+ <version >3.5.0</version >
135+ <executions >
136+ <execution >
137+ <id >attach-javadocs</id >
138+ <goals >
139+ <goal >jar</goal >
140+ </goals >
141+ </execution >
142+ </executions >
135143 </plugin >
136144
137145 <plugin >
138146 <groupId >org.apache.maven.plugins</groupId >
139147 <artifactId >maven-checkstyle-plugin</artifactId >
140- <version >3.1.2 </version >
148+ <version >3.2.1 </version >
141149 <dependencies >
142150 <dependency >
143151 <groupId >com.puppycrawl.tools</groupId >
144152 <artifactId >checkstyle</artifactId >
145- <version >8.41 </version >
153+ <version >9.3 </version >
146154 </dependency >
147155 </dependencies >
148156 <executions >
@@ -195,16 +203,15 @@ SPDX-License-Identifier: LGPL-2.0-or-later
195203 <id >release-sign-artifacts</id >
196204 <activation >
197205 <property >
198- <name >performRelease</name >
199- <value >true</value >
206+ <name >gpg.passphrase</name >
200207 </property >
201208 </activation >
202209 <build >
203210 <plugins >
204211 <plugin >
205212 <groupId >org.apache.maven.plugins</groupId >
206213 <artifactId >maven-gpg-plugin</artifactId >
207- <version >1.6 </version >
214+ <version >3.0.1 </version >
208215 <executions >
209216 <execution >
210217 <id >sign-artifacts</id >
@@ -214,6 +221,14 @@ SPDX-License-Identifier: LGPL-2.0-or-later
214221 </goals >
215222 </execution >
216223 </executions >
224+ <configuration >
225+ <!-- Use gpg.passphrase. Don't ask interactively. -->
226+ <!-- See https://myshittycode.com/2017/08/07/maven-gpg-plugin-prevent-signing-prompt-or-gpg-signing-failed-no-such-file-or-directory-error/ -->
227+ <gpgArguments >
228+ <arg >--pinentry-mode</arg >
229+ <arg >loopback</arg >
230+ </gpgArguments >
231+ </configuration >
217232 </plugin >
218233 </plugins >
219234 </build >
0 commit comments