|
508 | 508 | </configuration> |
509 | 509 | </plugin> |
510 | 510 | <plugin> |
511 | | - <groupId>org.sonatype.plugins</groupId> |
512 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
513 | | - <version>1.7.0</version> |
| 511 | + <groupId>org.sonatype.central</groupId> |
| 512 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 513 | + <version>0.7.0</version> |
514 | 514 | </plugin> |
515 | 515 | <plugin> |
516 | 516 | <groupId>org.apache.maven.plugins</groupId> |
|
1222 | 1222 | </activation> |
1223 | 1223 | <distributionManagement> |
1224 | 1224 | <repository> |
1225 | | - <id>ossrh</id> |
| 1225 | + <id>central</id> |
1226 | 1226 | <name>Eclipse Ditto Repository - Release</name> |
1227 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
| 1227 | + <url>https://central.sonatype.com</url> |
1228 | 1228 | </repository> |
1229 | 1229 | <snapshotRepository> |
1230 | | - <id>ossrh</id> |
| 1230 | + <id>central</id> |
1231 | 1231 | <name>Eclipse Ditto Repository - Snapshots</name> |
1232 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 1232 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
1233 | 1233 | </snapshotRepository> |
1234 | 1234 | </distributionManagement> |
1235 | 1235 | <build> |
1236 | 1236 | <plugins> |
1237 | 1237 | <!-- see doc: http://central.sonatype.org/pages/apache-maven.html --> |
| 1238 | + <!-- see doc: https://eclipse-cbi.github.io/cbi-website/jiro/Nexus-Maven-Central/ --> |
| 1239 | + <!-- see doc: https://central.sonatype.org/publish/publish-portal-maven/#automatic-publishing --> |
1238 | 1240 | <plugin> |
1239 | | - <groupId>org.sonatype.plugins</groupId> |
1240 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 1241 | + <groupId>org.sonatype.central</groupId> |
| 1242 | + <artifactId>central-publishing-maven-plugin</artifactId> |
1241 | 1243 | <extensions>true</extensions> |
1242 | 1244 | <configuration> |
1243 | | - <serverId>ossrh</serverId> |
1244 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
1245 | | - <skipStagingRepositoryClose>false</skipStagingRepositoryClose> |
1246 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
1247 | | - <autoDropAfterRelease>true</autoDropAfterRelease> |
| 1245 | + <publishingServerId>central</publishingServerId> |
| 1246 | + <autoPublish>true</autoPublish> |
| 1247 | + <waitUntil>published</waitUntil> |
| 1248 | + <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> |
| 1249 | + <deploymentName>Ditto Java Client ${revision}</deploymentName> |
1248 | 1250 | </configuration> |
1249 | 1251 | </plugin> |
1250 | 1252 | </plugins> |
|
0 commit comments