Skip to content

Commit d4ebda9

Browse files
committed
Switch to central publishing for Maven deployments
- Migrate from `nexus-staging-maven-plugin` to `central-publishing-maven-plugin` for streamlining publishing workflows - Update plugin configuration and dependencies to ensure compatibility with the new publishing setup
1 parent 8583c22 commit d4ebda9

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎pom.xml‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,12 @@
115115
</configuration>
116116
</plugin>
117117
<plugin>
118-
<groupId>org.sonatype.plugins</groupId>
119-
<artifactId>nexus-staging-maven-plugin</artifactId>
120-
<version>1.7.0</version>
118+
<groupId>org.sonatype.central</groupId>
119+
<artifactId>central-publishing-maven-plugin</artifactId>
120+
<version>0.9.0</version>
121121
<extensions>true</extensions>
122122
<configuration>
123-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
124-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
125-
<serverId>ossrh</serverId>
123+
<publishingServerId>central</publishingServerId>
126124
</configuration>
127125
</plugin>
128126
</plugins>

0 commit comments

Comments
 (0)