Skip to content

Commit a0fca38

Browse files
committed
update new maven repositories
1 parent 66733e7 commit a0fca38

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

pom.xml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@
122122

123123
<distributionManagement>
124124
<snapshotRepository>
125-
<id>ossrh</id>
126-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
125+
<id>central</id>
126+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
127127
</snapshotRepository>
128128
<repository>
129-
<id>ossrh</id>
130-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
129+
<id>central</id>
130+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
131131
</repository>
132132
</distributionManagement>
133133

@@ -178,14 +178,13 @@
178178
</plugin>
179179

180180
<plugin>
181-
<groupId>org.sonatype.plugins</groupId>
182-
<artifactId>nexus-staging-maven-plugin</artifactId>
183-
<version>1.6.7</version>
181+
<groupId>org.sonatype.central</groupId>
182+
<artifactId>central-publishing-maven-plugin</artifactId>
183+
<version>0.9.0</version>
184184
<extensions>true</extensions>
185185
<configuration>
186-
<serverId>ossrh</serverId>
187-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
188-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
186+
<publishingServerId>central</publishingServerId>
187+
<autoPublish>true</autoPublish>
189188
</configuration>
190189
</plugin>
191190
<plugin>

0 commit comments

Comments
 (0)