Skip to content

Commit 0741c10

Browse files
authored
Merge pull request #140 from IBM/update-packages
patch: Update pom.xml
2 parents 7aae0e9 + 175e741 commit 0741c10

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

pom.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -426,12 +426,20 @@
426426

427427
<!-- For this profile, we'll get dependencies from maven central -->
428428
<repositories></repositories>
429+
429430
<distributionManagement>
430431
<repository>
431432
<!-- This is where the nexus staging plugin will publish artifacts -->
432-
<id>ossrh</id>
433-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
433+
<id>central</id>
434+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
434435
</repository>
436+
<!-- Optional: add snapshots if you publish SNAPSHOT versions -->
437+
<!--
438+
<snapshotRepository>
439+
<id>central</id>
440+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
441+
</snapshotRepository>
442+
-->
435443
</distributionManagement>
436444

437445
<build>
@@ -441,8 +449,8 @@
441449
<artifactId>nexus-staging-maven-plugin</artifactId>
442450
<extensions>true</extensions>
443451
<configuration>
444-
<serverId>ossrh</serverId>
445-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
452+
<serverId>central</serverId>
453+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
446454
<autoReleaseAfterClose>true</autoReleaseAfterClose>
447455
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
448456
</configuration>

0 commit comments

Comments
 (0)