File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 9494 <auto-service .version>1.0.1</auto-service .version>
9595 <maven-javadoc-plugin .version>3.6.3</maven-javadoc-plugin .version>
9696 <maven-source-plugin .version>3.2.1</maven-source-plugin .version>
97+ <central-publishing-maven-plugin .version>0.8.0</central-publishing-maven-plugin .version>
9798 </properties >
9899
99100 <dependencyManagement >
301302 <distributionManagement >
302303 <snapshotRepository >
303304 <id >sonatype-nexus-snapshots</id >
304- <name >Sonatype Nexus Snapshots</name >
305- <url >https://oss.sonatype.org/content/repositories/snapshots/</url >
305+ <url >https://central.sonatype.com/repository/maven-snapshots/</url >
306306 </snapshotRepository >
307- <repository >
308- <id >sonatype-nexus-staging</id >
309- <name >Nexus Release Repository</name >
310- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
311- </repository >
312307 </distributionManagement >
313308
314309 <profiles >
315310 <profile >
316311 <id >sonatype-oss-release</id >
317312 <build >
318313 <plugins >
314+ <plugin >
315+ <groupId >org.sonatype.central</groupId >
316+ <artifactId >central-publishing-maven-plugin</artifactId >
317+ <version >${central-publishing-maven-plugin.version} </version >
318+ <extensions >true</extensions >
319+ <configuration >
320+ <publishingServerId >central</publishingServerId >
321+ </configuration >
322+ </plugin >
319323 <plugin >
320324 <groupId >org.apache.maven.plugins</groupId >
321325 <artifactId >maven-source-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments