Skip to content

Commit 72ec541

Browse files
committed
feat: publish to new server
1 parent f2c3b35 commit 72ec541

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

pom.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,27 @@
6161

6262
<build>
6363
<plugins>
64-
<plugin>
64+
<!-- <plugin>
6565
<groupId>org.sonatype.plugins</groupId>
6666
<artifactId>nexus-staging-maven-plugin</artifactId>
6767
<version>1.6.13</version>
6868
<extensions>true</extensions>
6969
<configuration>
7070
<serverId>ossrh</serverId>
71-
<nexusUrl>https://ossrh-staging-api.central.sonatype.com</nexusUrl>
71+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
7272
<autoReleaseAfterClose>true</autoReleaseAfterClose>
7373
</configuration>
74+
</plugin> -->
75+
<plugin>
76+
<groupId>org.sonatype.central</groupId>
77+
<artifactId>central-publishing-maven-plugin</artifactId>
78+
<version>0.9.0</version>
79+
<extensions>true</extensions>
80+
<configuration>
81+
<publishingServerId>ossrh</publishingServerId>
82+
</configuration>
7483
</plugin>
84+
7585
<plugin>
7686
<groupId>org.apache.maven.plugins</groupId>
7787
<artifactId>maven-source-plugin</artifactId>

0 commit comments

Comments
 (0)