|
27 | 27 | <surefire-version>3.0.0-M3</surefire-version> |
28 | 28 | <jacoco-plugin-version>0.8.5</jacoco-plugin-version> |
29 | 29 | <maven-deploy-plugin-version>3.0.0-M1</maven-deploy-plugin-version> |
30 | | - <nexus-staging-plugin-version>1.6.8</nexus-staging-plugin-version> |
| 30 | + <central-publishing-plugin-version>0.7.0</central-publishing-plugin-version> |
31 | 31 | <maven-gpg-plugin-version>1.6</maven-gpg-plugin-version> |
32 | 32 | <maven-source-plugin-version>3.1.0</maven-source-plugin-version> |
33 | 33 | <maven-shade-plugin-version>3.2.2</maven-shade-plugin-version> |
|
191 | 191 | <version>${maven-deploy-plugin-version}</version> |
192 | 192 | </plugin> |
193 | 193 | <plugin> |
194 | | - <groupId>org.sonatype.plugins</groupId> |
195 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
196 | | - <version>${nexus-staging-plugin-version}</version> |
| 194 | + <groupId>org.sonatype.central</groupId> |
| 195 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 196 | + <version>${central-publishing-plugin-version}</version> |
197 | 197 | </plugin> |
198 | 198 | <plugin> |
199 | 199 | <groupId>org.apache.maven.plugins</groupId> |
|
470 | 470 | <!-- For this profile, we'll get dependencies from maven central --> |
471 | 471 | <repositories></repositories> |
472 | 472 |
|
473 | | - <distributionManagement> |
474 | | - <snapshotRepository> |
475 | | - <!-- We don't deploy snapshot releases --> |
476 | | - </snapshotRepository> |
477 | | - <repository> |
478 | | - <!-- This is where the nexus staging plugin will publish artifacts --> |
479 | | - <id>ossrh</id> |
480 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
481 | | - </repository> |
482 | | - </distributionManagement> |
483 | | - |
484 | 473 | <build> |
485 | 474 | <plugins> |
486 | 475 | <plugin> |
487 | | - <groupId>org.sonatype.plugins</groupId> |
488 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 476 | + <groupId>org.sonatype.central</groupId> |
| 477 | + <artifactId>central-publishing-maven-plugin</artifactId> |
489 | 478 | <extensions>true</extensions> |
490 | 479 | <configuration> |
491 | | - <serverId>ossrh</serverId> |
492 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
493 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
494 | | - <keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure> |
| 480 | + <publishingServerId>central</publishingServerId> |
495 | 481 | </configuration> |
496 | 482 | </plugin> |
497 | 483 | <plugin> |
|
0 commit comments