Skip to content

Commit

Permalink
Fix server credentials with id sonatype not found.
Browse files Browse the repository at this point in the history
See #73
  • Loading branch information
junghoon-vans committed Aug 23, 2023
1 parent 37f7916 commit aab8987
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,28 @@
</plugins>
</build>
</profile>

<!-- Profile for deploying to Sonatype OSSRH -->

<profile>
<id>central</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>

<scm>
Expand Down

0 comments on commit aab8987

Please sign in to comment.