|
60 | 60 | <system>github</system> |
61 | 61 | <url>https://github.com/openapitools/openapi-generator/issues</url> |
62 | 62 | </issueManagement> |
63 | | - <distributionManagement> |
64 | | - <snapshotRepository> |
65 | | - <id>ossrh</id> |
66 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
67 | | - </snapshotRepository> |
68 | | - <repository> |
69 | | - <id>ossrh</id> |
70 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
71 | | - </repository> |
72 | | - </distributionManagement> |
73 | 63 | <licenses> |
74 | 64 | <license> |
75 | 65 | <name>Apache License 2.0</name> |
|
436 | 426 | <profiles> |
437 | 427 | <profile> |
438 | 428 | <id>release</id> |
| 429 | + <distributionManagement> |
| 430 | + <repository> |
| 431 | + <id>central</id> |
| 432 | + <name>Central Repository OSSRH</name> |
| 433 | + <url>https://central.sonatype.com/</url> |
| 434 | + </repository> |
| 435 | + <snapshotRepository> |
| 436 | + <id>central</id> |
| 437 | + <name>Central Repository OSSRG Snapshots</name> |
| 438 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 439 | + <snapshots> |
| 440 | + <enabled>true</enabled> |
| 441 | + </snapshots> |
| 442 | + </snapshotRepository> |
| 443 | + </distributionManagement> |
439 | 444 | <build> |
440 | 445 | <plugins> |
441 | 446 | <plugin> |
442 | 447 | <groupId>org.apache.maven.plugins</groupId> |
443 | 448 | <artifactId>maven-gpg-plugin</artifactId> |
444 | 449 | <version>1.6</version> |
| 450 | + <configuration> |
| 451 | + <gpgArguments> |
| 452 | + <arg>--pinentry-mode</arg> |
| 453 | + <arg>loopback</arg> |
| 454 | + </gpgArguments> |
| 455 | + </configuration> |
445 | 456 | <executions> |
446 | 457 | <execution> |
447 | 458 | <id>sign-artifacts</id> |
|
453 | 464 | </executions> |
454 | 465 | </plugin> |
455 | 466 | <plugin> |
456 | | - <groupId>org.sonatype.plugins</groupId> |
457 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
458 | | - <version>1.6.8</version> |
| 467 | + <groupId>org.sonatype.central</groupId> |
| 468 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 469 | + <version>0.8.0</version> |
459 | 470 | <extensions>true</extensions> |
460 | 471 | <configuration> |
461 | | - <serverId>ossrh</serverId> |
462 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
463 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 472 | + <publishingServerId>central</publishingServerId> |
| 473 | + <autoPublish>true</autoPublish> |
| 474 | + <checksums>required</checksums> |
464 | 475 | </configuration> |
465 | 476 | </plugin> |
466 | 477 | </plugins> |
|
0 commit comments