|
86 | 86 | </issueManagement> |
87 | 87 | <repositories> |
88 | 88 | <repository> |
89 | | - <id>sonatype-nexus-snapshots</id> |
90 | | - <name>Sonatype Nexus Snapshots</name> |
91 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 89 | + <name>Central Portal Snapshots</name> |
| 90 | + <id>central-portal-snapshots</id> |
| 91 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
92 | 92 | <releases> |
93 | | - <enabled>false</enabled> |
| 93 | + <enabled>false</enabled> |
94 | 94 | </releases> |
95 | 95 | <snapshots> |
96 | | - <enabled>true</enabled> |
| 96 | + <enabled>true</enabled> |
97 | 97 | </snapshots> |
98 | 98 | </repository> |
99 | 99 | </repositories> |
100 | 100 | <distributionManagement> |
101 | 101 | <snapshotRepository> |
102 | | - <id>sonatype-nexus-snapshots</id> |
| 102 | + <id>central</id> |
103 | 103 | <name>Sonatype Nexus Snapshots</name> |
104 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 104 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
105 | 105 | </snapshotRepository> |
106 | | - <repository> |
107 | | - <id>sonatype-nexus-staging</id> |
108 | | - <name>Nexus Release Repository</name> |
109 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
110 | | - </repository> |
111 | 106 | </distributionManagement> |
112 | 107 | <prerequisites> |
113 | 108 | <maven>3.5.0</maven> |
|
518 | 513 | <mavenExecutorId>forked-path</mavenExecutorId> |
519 | 514 | <useReleaseProfile>false</useReleaseProfile> |
520 | 515 | <tagNameFormat>v@{project.version}</tagNameFormat> |
521 | | - <goals>deploy nexus-staging:release</goals> |
| 516 | + <goals>deploy</goals> |
522 | 517 | <arguments>-Ptaimos-oss-release</arguments> |
523 | 518 | </configuration> |
524 | 519 | </plugin> |
525 | | - <plugin> |
526 | | - <groupId>org.sonatype.plugins</groupId> |
527 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
528 | | - <version>1.6.14</version> |
529 | | - <extensions>true</extensions> |
530 | | - <configuration> |
531 | | - <serverId>sonatype-nexus-staging</serverId> |
532 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
533 | | - </configuration> |
534 | | - </plugin> |
535 | 520 | <plugin> |
536 | 521 | <groupId>org.apache.maven.plugins</groupId> |
537 | 522 | <artifactId>maven-javadoc-plugin</artifactId> |
|
639 | 624 | </execution> |
640 | 625 | </executions> |
641 | 626 | </plugin> |
| 627 | + <plugin> |
| 628 | + <groupId>org.sonatype.central</groupId> |
| 629 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 630 | + <version>0.9.0</version> |
| 631 | + <extensions>true</extensions> |
| 632 | + <configuration> |
| 633 | + <publishingServerId>central</publishingServerId> |
| 634 | + <!--<autoPublish>true</autoPublish>--> |
| 635 | + <!--<waitUntil>published</waitUntil>--> |
| 636 | + </configuration> |
| 637 | + </plugin> |
642 | 638 | </plugins> |
643 | 639 | </build> |
644 | 640 | </profile> |
|
0 commit comments