This repository was archived by the owner on Jun 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 215215
216216 </plugins >
217217 </build >
218+
219+ <profiles >
220+ <profile >
221+ <id >ossrh</id >
222+ <build >
223+ <plugins >
224+ <plugin >
225+ <groupId >org.apache.maven.plugins</groupId >
226+ <artifactId >maven-gpg-plugin</artifactId >
227+ <version >3.0.1</version >
228+ <executions >
229+ <execution >
230+ <id >sign-artifacts</id >
231+ <phase >verify</phase >
232+ <goals >
233+ <goal >sign</goal >
234+ </goals >
235+ <configuration >
236+ <!-- Fixes "gpg: signing failed: Inappropriate ioctl for device" -->
237+ <!-- Prevent `gpg` from using pinentry programs -->
238+ <gpgArguments >
239+ <arg >--pinentry-mode</arg >
240+ <arg >loopback</arg >
241+ </gpgArguments >
242+ </configuration >
243+ </execution >
244+ </executions >
245+ </plugin >
246+
247+ <plugin >
248+ <groupId >org.sonatype.plugins</groupId >
249+ <artifactId >nexus-staging-maven-plugin</artifactId >
250+ <version >1.6.8</version >
251+ <extensions >true</extensions >
252+ <configuration >
253+ <serverId >ossrh</serverId >
254+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
255+ <!-- Sometimes OSSRH is really slow -->
256+ <stagingProgressTimeoutMinutes >30</stagingProgressTimeoutMinutes >
257+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
258+ </configuration >
259+ </plugin >
260+ </plugins >
261+ </build >
262+ </profile >
263+ </profiles >
218264
219265</project >
You can’t perform that action at this time.
0 commit comments