|
113 | 113 | <url>https://github.com/davidB/${project.artifactId}/issues#issue/</url>
|
114 | 114 | </issueManagement>
|
115 | 115 |
|
116 |
| - <distributionManagement> |
117 |
| - <repository> |
118 |
| - <id>sonatype-nexus-staging</id> |
119 |
| - <name>Nexus Release Repository</name> |
120 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
121 |
| - </repository> |
122 |
| - <snapshotRepository> |
123 |
| - <id>sonatype-nexus-snapshots</id> |
124 |
| - <name>Sonatype Nexus Snapshots</name> |
125 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
126 |
| - </snapshotRepository> |
127 |
| - </distributionManagement> |
128 | 116 | <properties>
|
129 | 117 | <encoding>UTF-8</encoding>
|
130 | 118 | <github.global.server>github</github.global.server>
|
|
133 | 121 | <maven.version.min>3.8.1</maven.version.min>
|
134 | 122 | <maven.version.max>3.9</maven.version.max>
|
135 | 123 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
136 |
| - <sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl> |
137 | 124 | <last.scala2_12.release>2.12.20</last.scala2_12.release>
|
138 | 125 | <last.scala2_13.release>2.13.16</last.scala2_13.release>
|
139 | 126 | </properties>
|
|
304 | 291 | </dependencies>
|
305 | 292 |
|
306 | 293 | <repositories>
|
307 |
| - <repository> |
308 |
| - <releases> |
309 |
| - <enabled>false</enabled> |
310 |
| - </releases> |
311 |
| - <snapshots> |
312 |
| - <enabled>true</enabled> |
313 |
| - </snapshots> |
314 |
| - <id>sonatype-nexus-snapshots</id> |
315 |
| - <name>Sonatype Nexus Snapshots</name> |
316 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
317 |
| - </repository> |
318 | 294 | <repository>
|
319 | 295 | <snapshots>
|
320 | 296 | <enabled>false</enabled>
|
|
435 | 411 | <artifactId>animal-sniffer-maven-plugin</artifactId>
|
436 | 412 | <version>1.24</version>
|
437 | 413 | </plugin>
|
438 |
| - <plugin> |
439 |
| - <groupId>org.sonatype.plugins</groupId> |
440 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
441 |
| - <version>1.7.0</version> |
442 |
| - </plugin> |
443 | 414 | </plugins>
|
444 | 415 | </pluginManagement>
|
445 | 416 | <plugins>
|
|
544 | 515 | <artifactId>maven-release-plugin</artifactId>
|
545 | 516 | <configuration>
|
546 | 517 | <releaseProfiles>release</releaseProfiles>
|
547 |
| - <goals>install animal-sniffer:check site deploy nexus-staging:release</goals> |
| 518 | + <goals>install animal-sniffer:check deploy</goals> |
548 | 519 | <useReleaseProfile>false</useReleaseProfile>
|
549 | 520 | <autoVersionSubmodules>true</autoVersionSubmodules>
|
550 | 521 | <tagNameFormat>@{project.version}</tagNameFormat>
|
|
596 | 567 | </signature>
|
597 | 568 | </configuration>
|
598 | 569 | </plugin>
|
599 |
| - <plugin> |
600 |
| - <groupId>org.sonatype.plugins</groupId> |
601 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
602 |
| - <extensions>true</extensions> |
603 |
| - <configuration> |
604 |
| - <serverId>sonatype-nexus-snapshots</serverId> |
605 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
606 |
| - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
607 |
| - </configuration> |
608 |
| - </plugin> |
| 570 | + <plugin> |
| 571 | + <groupId>org.sonatype.central</groupId> |
| 572 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 573 | + <version>0.7.0</version> |
| 574 | + <extensions>true</extensions> |
| 575 | + <configuration> |
| 576 | + <publishingServerId>central</publishingServerId> |
| 577 | + <autoPublish>true</autoPublish> |
| 578 | + <waitUntil>published</waitUntil> |
| 579 | + </configuration> |
| 580 | + </plugin> |
609 | 581 | </plugins>
|
610 | 582 | </build>
|
611 | 583 | <reporting>
|
|
0 commit comments