Skip to content

Commit 878e965

Browse files
build: rename sonatype profile to central
1 parent 7914400 commit 878e965

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

pom.xml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -228,19 +228,6 @@
228228
</java>
229229
</configuration>
230230
</plugin>
231-
232-
<!-- Deploy plugin -->
233-
<plugin>
234-
<groupId>org.sonatype.plugins</groupId>
235-
<artifactId>nexus-staging-maven-plugin</artifactId>
236-
<version>1.6.13</version>
237-
<extensions>true</extensions>
238-
<configuration>
239-
<serverId>ossrh</serverId>
240-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
241-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
242-
</configuration>
243-
</plugin>
244231
</plugins>
245232
</build>
246233

@@ -363,7 +350,7 @@
363350
</profile>
364351

365352
<profile>
366-
<id>sonatype</id>
353+
<id>central</id>
367354
<build>
368355
<plugins>
369356
<!-- Source -->
@@ -408,9 +395,28 @@
408395
<goals>
409396
<goal>sign</goal>
410397
</goals>
398+
<configuration>
399+
<gpgArguments>
400+
<arg>--pinentry-mode</arg>
401+
<arg>loopback</arg>
402+
</gpgArguments>
403+
</configuration>
411404
</execution>
412405
</executions>
413406
</plugin>
407+
408+
<!-- Deploy plugin -->
409+
<plugin>
410+
<groupId>org.sonatype.plugins</groupId>
411+
<artifactId>nexus-staging-maven-plugin</artifactId>
412+
<version>1.6.13</version>
413+
<extensions>true</extensions>
414+
<configuration>
415+
<serverId>ossrh</serverId>
416+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
417+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
418+
</configuration>
419+
</plugin>
414420
</plugins>
415421
</build>
416422
</profile>
@@ -493,6 +499,7 @@
493499
<maven.compiler.source>17</maven.compiler.source>
494500
<maven.compiler.target>17</maven.compiler.target>
495501
<maven.compiler.release>17</maven.compiler.release>
502+
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
496503
<pre-commit-hook>src${file.separator}etc${file.separator}formatter.sh</pre-commit-hook>
497504
<mustache-specs>handlebars${file.separator}src${file.separator}test${file.separator}resources${file.separator}mustache</mustache-specs>
498505
<junit.version>5.10.2</junit.version>

0 commit comments

Comments
 (0)