|
51 | 51 |
|
52 | 52 | <repositories> |
53 | 53 | <repository> |
54 | | - <id>oss-sonatype</id> |
55 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 54 | + <id>central-portal-snapshots</id> |
| 55 | + <name>Central Portal Snapshots</name> |
| 56 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 57 | + <releases> |
| 58 | + <enabled>false</enabled> |
| 59 | + </releases> |
56 | 60 | <snapshots> |
57 | 61 | <enabled>true</enabled> |
58 | 62 | </snapshots> |
59 | 63 | </repository> |
60 | | - <repository> |
61 | | - <id>oss-sonatype-public</id> |
62 | | - <url>https://oss.sonatype.org/content/groups/public/</url> |
63 | | - </repository> |
64 | 64 | </repositories> |
65 | 65 |
|
66 | 66 | <distributionManagement> |
67 | 67 | <snapshotRepository> |
68 | | - <id>ossrh</id> |
69 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
70 | | - </snapshotRepository> |
| 68 | + <id>central-portal-snapshots</id> |
| 69 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 70 | + </snapshotRepository> |
71 | 71 | <repository> |
72 | | - <id>ossrh</id> |
73 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 72 | + <id>central-portal-snapshots</id> |
| 73 | + <url>https://central.sonatype.com</url> |
74 | 74 | </repository> |
75 | 75 | </distributionManagement> |
76 | 76 |
|
|
502 | 502 | <version>3.2.4</version> |
503 | 503 | </plugin> |
504 | 504 | <plugin> |
505 | | - <groupId>org.sonatype.plugins</groupId> |
506 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
507 | | - <version>1.6.13</version> |
508 | | - <extensions>true</extensions> |
| 505 | + <groupId>org.sonatype.central</groupId> |
| 506 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 507 | + <version>0.9.0</version> <extensions>true</extensions> |
509 | 508 | <configuration> |
510 | | - <serverId>ossrh</serverId> |
511 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 509 | + <publishingServerId>central</publishingServerId> |
512 | 510 | </configuration> |
513 | 511 | </plugin> |
514 | 512 | <plugin> |
|
668 | 666 | <groupId>org.apache.maven.plugins</groupId> |
669 | 667 | <artifactId>maven-gpg-plugin</artifactId> |
670 | 668 | </plugin> |
671 | | - <plugin> |
672 | | - <groupId>org.sonatype.plugins</groupId> |
673 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
674 | | - </plugin> |
675 | 669 | </plugins> |
676 | 670 | </build> |
677 | 671 | </profile> |
|
0 commit comments