|
89 | 89 |
|
90 | 90 | <distributionManagement> |
91 | 91 | <repository> |
92 | | - <id>sonatype-nexus-staging</id> |
93 | | - <name>Sonatype Staging Repository</name> |
94 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
| 92 | + <id>central</id> |
| 93 | + <url>https://central.sonatype.com</url> |
95 | 94 | </repository> |
96 | 95 | <snapshotRepository> |
97 | | - <id>sonatype-nexus-snapshots</id> |
98 | | - <name>Sonatype Snapshot Repository</name> |
99 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 96 | + <id>central</id> |
| 97 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
100 | 98 | </snapshotRepository> |
101 | 99 | </distributionManagement> |
102 | 100 |
|
|
134 | 132 | <snapshots> |
135 | 133 | <enabled>true</enabled> |
136 | 134 | </snapshots> |
137 | | - <id>sonatype-nexus-snapshots</id> |
138 | | - <name>Sonatype Snapshot Repository</name> |
139 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 135 | + <id>central-snapshots</id> |
| 136 | + <name>Central Snapshot Repository</name> |
| 137 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
140 | 138 | </repository> |
141 | 139 | </repositories> |
142 | 140 |
|
|
326 | 324 | <version>3.0.0-M1</version> |
327 | 325 | </plugin> |
328 | 326 | <plugin> |
329 | | - <groupId>org.sonatype.plugins</groupId> |
330 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
331 | | - <version>1.6.8</version> |
| 327 | + <groupId>org.sonatype.central</groupId> |
| 328 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 329 | + <version>0.9.0</version> |
332 | 330 | <extensions>true</extensions> |
333 | 331 | <configuration> |
334 | | - <serverId>ossrh</serverId> |
335 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 332 | + <publishingServerId>central</publishingServerId> |
| 333 | + <autoPublish>true</autoPublish> |
| 334 | + <waitUntil>published</waitUntil> |
336 | 335 | </configuration> |
337 | 336 | </plugin> |
338 | 337 | <plugin> |
|
410 | 409 | <plugin> |
411 | 410 | <groupId>org.apache.maven.plugins</groupId> |
412 | 411 | <artifactId>maven-gpg-plugin</artifactId> |
413 | | - <version>1.6</version> |
| 412 | + <version>3.2.8</version> |
| 413 | + <configuration> |
| 414 | + <bestPractices>true</bestPractices> |
| 415 | + </configuration> |
414 | 416 | <executions> |
415 | 417 | <execution> |
416 | 418 | <id>sign-artifacts</id> |
|
0 commit comments