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 245245 </plugin >
246246 </plugins >
247247 </build >
248+
249+ <profiles >
250+ <profile >
251+ <id >ossrh</id >
252+ <build >
253+ <plugins >
254+ <plugin >
255+ <groupId >org.apache.maven.plugins</groupId >
256+ <artifactId >maven-gpg-plugin</artifactId >
257+ <version >3.0.1</version >
258+ <executions >
259+ <execution >
260+ <id >sign-artifacts</id >
261+ <phase >verify</phase >
262+ <goals >
263+ <goal >sign</goal >
264+ </goals >
265+ <configuration >
266+ <!-- Fixes "gpg: signing failed: Inappropriate ioctl for device" -->
267+ <!-- Prevent `gpg` from using pinentry programs -->
268+ <gpgArguments >
269+ <arg >--pinentry-mode</arg >
270+ <arg >loopback</arg >
271+ </gpgArguments >
272+ </configuration >
273+ </execution >
274+ </executions >
275+ </plugin >
276+
277+ <plugin >
278+ <groupId >org.sonatype.plugins</groupId >
279+ <artifactId >nexus-staging-maven-plugin</artifactId >
280+ <version >1.6.8</version >
281+ <extensions >true</extensions >
282+ <configuration >
283+ <serverId >ossrh</serverId >
284+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
285+ <!-- Sometimes OSSRH is really slow -->
286+ <stagingProgressTimeoutMinutes >30</stagingProgressTimeoutMinutes >
287+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
288+ </configuration >
289+ </plugin >
290+ </plugins >
291+ </build >
292+ </profile >
293+ </profiles >
248294
249295</project >
You can’t perform that action at this time.
0 commit comments