|
48 | 48 |
|
49 | 49 | <distributionManagement> |
50 | 50 | <snapshotRepository> |
51 | | - <id>ossrh</id> |
52 | | - <name>Sonatype Nexus Snapshots</name> |
53 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 51 | + <id>central</id> |
| 52 | + <name>Maven Central Snapshots</name> |
| 53 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
54 | 54 | </snapshotRepository> |
55 | 55 | <repository> |
56 | | - <id>ossrh</id> |
57 | | - <name>Nexus Release Repository</name> |
58 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 56 | + <id>central</id> |
| 57 | + <name>Maven Central Release Repository</name> |
| 58 | + <url>https://ossrh-staging-api.central.sonatype.com/service/local/</url> |
59 | 59 | </repository> |
60 | 60 | </distributionManagement> |
61 | 61 |
|
|
208 | 208 | <plugin> |
209 | 209 | <groupId>com.diffplug.spotless</groupId> |
210 | 210 | <artifactId>spotless-maven-plugin</artifactId> |
211 | | - <version>2.43.0</version> |
| 211 | + <version>2.46.1</version> |
212 | 212 | <configuration> |
213 | 213 | <upToDateChecking> |
214 | 214 | <enabled>true</enabled> |
|
284 | 284 | <plugin> |
285 | 285 | <groupId>org.codehaus.mojo</groupId> |
286 | 286 | <artifactId>exec-maven-plugin</artifactId> |
287 | | - <version>3.3.0</version> |
| 287 | + <version>3.5.1</version> |
288 | 288 | <executions> |
289 | 289 | <execution> |
290 | 290 | <phase>initialize</phase> |
|
405 | 405 | </executions> |
406 | 406 | </plugin> |
407 | 407 |
|
408 | | - <!-- Deploy plugin --> |
409 | 408 | <plugin> |
410 | | - <groupId>org.sonatype.plugins</groupId> |
411 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
412 | | - <version>1.7.0</version> |
| 409 | + <groupId>org.sonatype.central</groupId> |
| 410 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 411 | + <version>0.8.0</version> |
413 | 412 | <extensions>true</extensions> |
414 | 413 | <configuration> |
415 | | - <serverId>ossrh</serverId> |
416 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
417 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 414 | + <publishingServerId>central</publishingServerId> |
| 415 | + <autoPublish>true</autoPublish> |
418 | 416 | </configuration> |
419 | 417 | </plugin> |
420 | 418 | </plugins> |
|
0 commit comments