Skip to content

Commit aab8987

Browse files
committed
Fix server credentials with id sonatype not found.
See #73
1 parent 37f7916 commit aab8987

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,28 @@
167167
</plugins>
168168
</build>
169169
</profile>
170+
171+
<!-- Profile for deploying to Sonatype OSSRH -->
172+
173+
<profile>
174+
<id>central</id>
175+
<build>
176+
<pluginManagement>
177+
<plugins>
178+
<plugin>
179+
<groupId>org.sonatype.plugins</groupId>
180+
<artifactId>nexus-staging-maven-plugin</artifactId>
181+
<extensions>true</extensions>
182+
<configuration>
183+
<serverId>ossrh</serverId>
184+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
185+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
186+
</configuration>
187+
</plugin>
188+
</plugins>
189+
</pluginManagement>
190+
</build>
191+
</profile>
170192
</profiles>
171193

172194
<scm>

0 commit comments

Comments
 (0)