File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 </scm >
5151
5252 <distributionManagement >
53- <snapshotRepository >
54- <id >oss</id >
55- <name >Sonatype Nexus Snapshots</name >
56- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
57- </snapshotRepository >
5853 <repository >
59- <id >oss </id >
60- <name >Nexus Release Repository</name >
61- <url >https://oss .sonatype.org/service/local/staging/deploy/maven2/ </url >
54+ <id >central </id >
55+ <name >Central Repository</name >
56+ <url >https://central .sonatype.com/api/v1/publisher </url >
6257 </repository >
58+ <snapshotRepository >
59+ <id >central</id >
60+ <name >Central Repository Snapshots</name >
61+ <url >https://central.sonatype.com/api/v1/publisher</url >
62+ </snapshotRepository >
6363 </distributionManagement >
6464
6565 <issueManagement >
303303 </executions >
304304 </plugin >
305305 <plugin >
306- <groupId >org.sonatype.plugins </groupId >
307- <artifactId >nexus-staging -maven-plugin</artifactId >
308- <version >1.6.8 </version >
306+ <groupId >org.sonatype.central </groupId >
307+ <artifactId >central-publishing -maven-plugin</artifactId >
308+ <version >0.9.0 </version >
309309 <extensions >true</extensions >
310310 <configuration >
311- <serverId >sonatype-nexus-staging</ serverId >
312- <nexusUrl >https://oss.sonatype.org/</ nexusUrl >
313- <autoReleaseAfterClose >true</ autoReleaseAfterClose >
311+ <publishingServerId >central</ publishingServerId >
312+ <autoPublish >true</ autoPublish >
313+ <waitUntil >published</ waitUntil >
314314 </configuration >
315315 </plugin >
316316 </plugins >
You can’t perform that action at this time.
0 commit comments