|
32 | 32 | <maven.war.plugin.version>3.1.0</maven.war.plugin.version> |
33 | 33 | <maven.assembly.plugin.version>3.3.0</maven.assembly.plugin.version> |
34 | 34 | <maven.surefire.plugin.version>3.1.2</maven.surefire.plugin.version> |
35 | | - <nexus.staging.maven.plugin.version>1.6.14</nexus.staging.maven.plugin.version> |
| 35 | + <central.publishing.maven.plugin.version>0.7.0</central.publishing.maven.plugin.version> |
36 | 36 | <maven.sonar.plugin.version>3.7.0.1746</maven.sonar.plugin.version> |
37 | 37 | <!-- git --> |
38 | 38 | <git.commit.id.plugin.version>3.0.1</git.commit.id.plugin.version> |
|
289 | 289 | </executions> |
290 | 290 | </plugin> |
291 | 291 | <plugin> |
292 | | - <groupId>org.sonatype.plugins</groupId> |
293 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
294 | | - <version>${nexus.staging.maven.plugin.version}</version> |
| 292 | + <groupId>org.sonatype.central</groupId> |
| 293 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 294 | + <version>${central.publishing.maven.plugin.version}</version> |
295 | 295 | <extensions>true</extensions> |
296 | | - <executions> |
297 | | - <execution> |
298 | | - <id>default-deploy</id> |
299 | | - <phase>deploy</phase> |
300 | | - <goals> |
301 | | - <goal>deploy</goal> |
302 | | - </goals> |
303 | | - </execution> |
304 | | - </executions> |
305 | 296 | <configuration> |
306 | | - <serverId>ossrh</serverId> |
307 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
308 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 297 | + <publishingServerId>ossrh</publishingServerId> |
| 298 | + <autoPublish>false</autoPublish> |
309 | 299 | </configuration> |
310 | 300 | </plugin> |
311 | 301 | <plugin> |
|
411 | 401 |
|
412 | 402 | <repositories> |
413 | 403 | <repository> |
414 | | - <id>ossrh</id> |
415 | | - <name>CentralRepository</name> |
416 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 404 | + <id>ossrh-central</id> |
| 405 | + <name>MavenCentralRepository</name> |
| 406 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
417 | 407 | <layout>default</layout> |
418 | 408 | <snapshots> |
419 | 409 | <enabled>true</enabled> |
|
433 | 423 | <distributionManagement> |
434 | 424 | <snapshotRepository> |
435 | 425 | <id>ossrh</id> |
436 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 426 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
437 | 427 | </snapshotRepository> |
438 | 428 | <repository> |
439 | 429 | <id>ossrh</id> |
440 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 430 | + <url>https://central.sonatype.com/api/v1/publisher</url> |
441 | 431 | </repository> |
442 | 432 | </distributionManagement> |
443 | 433 |
|
|
0 commit comments