Skip to content

Commit

Permalink
build: rename sonatype profile to central
Browse files Browse the repository at this point in the history
  • Loading branch information
edgar-espina-wpp committed Mar 7, 2024
1 parent 7914400 commit 878e965
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,19 +228,6 @@
</java>
</configuration>
</plugin>

<!-- Deploy plugin -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -363,7 +350,7 @@
</profile>

<profile>
<id>sonatype</id>
<id>central</id>
<build>
<plugins>
<!-- Source -->
Expand Down Expand Up @@ -408,9 +395,28 @@
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>

<!-- Deploy plugin -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down Expand Up @@ -493,6 +499,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
<pre-commit-hook>src${file.separator}etc${file.separator}formatter.sh</pre-commit-hook>
<mustache-specs>handlebars${file.separator}src${file.separator}test${file.separator}resources${file.separator}mustache</mustache-specs>
<junit.version>5.10.2</junit.version>
Expand Down

0 comments on commit 878e965

Please sign in to comment.