|
489 | 489 | </executions> |
490 | 490 | </plugin> |
491 | 491 |
|
492 | | - |
493 | 492 | <plugin> |
494 | 493 | <groupId>com.diffplug.spotless</groupId> |
495 | 494 | <artifactId>spotless-maven-plugin</artifactId> |
|
598 | 597 | </executions> |
599 | 598 | </plugin> |
600 | 599 |
|
| 600 | + <plugin> |
| 601 | + <groupId>org.sonatype.central</groupId> |
| 602 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 603 | + <version>0.7.0</version> |
| 604 | + <extensions>true</extensions> |
| 605 | + <configuration> |
| 606 | + <publishingServerId>central</publishingServerId> |
| 607 | + <autoPublish>true</autoPublish> |
| 608 | + </configuration> |
| 609 | + </plugin> |
| 610 | + |
601 | 611 | <!-- must stay at the end to execute last --> |
602 | 612 | <plugin> |
603 | 613 | <groupId>org.apache.maven.plugins</groupId> |
|
650 | 660 | <gpg.skip>false</gpg.skip> |
651 | 661 | <spotbugs.skip>true</spotbugs.skip> |
652 | 662 | </properties> |
653 | | - <distributionManagement> |
654 | | - <snapshotRepository> |
655 | | - <id>ossrh</id> |
656 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
657 | | - </snapshotRepository> |
658 | | - </distributionManagement> |
659 | 663 | </profile> |
660 | 664 |
|
661 | 665 | <profile> |
|
665 | 669 | <gpg.skip>false</gpg.skip> |
666 | 670 | <spotbugs.skip>true</spotbugs.skip> |
667 | 671 | </properties> |
668 | | - <build> |
669 | | - <plugins> |
670 | | - |
671 | | - <plugin> |
672 | | - <groupId>org.sonatype.plugins</groupId> |
673 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
674 | | - <version>${nexus-staging-maven-plugin.version}</version> |
675 | | - <extensions>true</extensions> |
676 | | - <configuration> |
677 | | - <serverId>ossrh</serverId> |
678 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
679 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
680 | | - <stagingProgressTimeoutMinutes>20</stagingProgressTimeoutMinutes> |
681 | | - </configuration> |
682 | | - </plugin> |
683 | | - </plugins> |
684 | | - </build> |
685 | | - <distributionManagement> |
686 | | - <repository> |
687 | | - <id>ossrh</id> |
688 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
689 | | - </repository> |
690 | | - </distributionManagement> |
691 | 672 | </profile> |
692 | 673 |
|
693 | 674 | </profiles> |
|
0 commit comments