Skip to content

Commit c78e3a3

Browse files
migrate from ossrh to maven central publishing
1 parent 4ef1ec9 commit c78e3a3

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

pom.xml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,6 @@
7373
<tag>HEAD</tag>
7474
</scm>
7575

76-
<distributionManagement>
77-
<snapshotRepository>
78-
<id>ossrh</id>
79-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
80-
</snapshotRepository>
81-
</distributionManagement>
82-
8376
<issueManagement>
8477
<url>https://github.com/brettwooldridge/HikariCP/issues</url>
8578
</issueManagement>
@@ -692,17 +685,14 @@
692685
</executions>
693686
</plugin>
694687

695-
<!-- nexus-staging-maven-plugin replaces the standard maven-deploy-plugin for releases and
696-
is useful for ensuring artifacts are all-or-nothing, as well as allowing artifacts to
697-
be reviewed before they're made public -->
698688
<plugin>
699-
<groupId>org.sonatype.plugins</groupId>
700-
<artifactId>nexus-staging-maven-plugin</artifactId>
689+
<groupId>org.sonatype.central</groupId>
690+
<artifactId>central-publishing-maven-plugin</artifactId>
691+
<version>0.7.0</version>
701692
<extensions>true</extensions>
702693
<configuration>
703-
<autoReleaseAfterClose>${autoReleaseStagedArtifacts}</autoReleaseAfterClose>
704-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
705-
<serverId>ossrh</serverId>
694+
<publishingServerId>central</publishingServerId>
695+
<autoPublish>false</autoPublish>
706696
</configuration>
707697
</plugin>
708698
</plugins>

0 commit comments

Comments
 (0)