|
76 | 76 | <maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version> |
77 | 77 | <checkstyle.version>10.21.2</checkstyle.version> |
78 | 78 | <spring-javaformat-checkstyle.version>0.0.43</spring-javaformat-checkstyle.version> |
79 | | - <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> |
| 79 | + <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
80 | 80 | <node.version>v22.12.0</node.version> |
81 | 81 | <jolokia-support-spring.version>2.2.2</jolokia-support-spring.version> |
82 | 82 | </properties> |
|
150 | 150 | <configuration> |
151 | 151 | <configLocation>src/checkstyle/checkstyle.xml</configLocation> |
152 | 152 | <headerLocation>src/checkstyle/checkstyle-header.txt</headerLocation> |
153 | | - <encoding>UTF-8</encoding> |
154 | 153 | <consoleOutput>true</consoleOutput> |
155 | 154 | <failOnViolation>true</failOnViolation> |
156 | 155 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
|
388 | 387 | <version>${jacoco-maven-plugin.version}</version> |
389 | 388 | </plugin> |
390 | 389 | <plugin> |
391 | | - <groupId>org.sonatype.plugins</groupId> |
392 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
393 | | - <version>${nexus-staging-maven-plugin.version}</version> |
| 390 | + <groupId>org.sonatype.central</groupId> |
| 391 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 392 | + <version>${central-publishing-maven-plugin.version}</version> |
394 | 393 | </plugin> |
395 | 394 | </plugins> |
396 | 395 | </pluginManagement> |
|
462 | 461 | </plugin> |
463 | 462 |
|
464 | 463 | <plugin> |
465 | | - <groupId>org.apache.maven.plugins</groupId> |
466 | | - <artifactId>maven-deploy-plugin</artifactId> |
467 | | - <configuration> |
468 | | - <skip>true</skip> |
469 | | - </configuration> |
470 | | - </plugin> |
471 | | - <plugin> |
472 | | - <groupId>org.sonatype.plugins</groupId> |
473 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
474 | | - <executions> |
475 | | - <execution> |
476 | | - <id>deploy-to-sonatype</id> |
477 | | - <phase>deploy</phase> |
478 | | - <goals> |
479 | | - <goal>deploy</goal> |
480 | | - <goal>release</goal> |
481 | | - </goals> |
482 | | - </execution> |
483 | | - </executions> |
| 464 | + <groupId>org.sonatype.central</groupId> |
| 465 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 466 | + <extensions>true</extensions> |
484 | 467 | <configuration> |
485 | | - <serverId>oss.sonatype.org</serverId> |
486 | | - <nexusUrl>https://oss.sonatype.org</nexusUrl> |
| 468 | + <publishingServerId>central</publishingServerId> |
| 469 | + <autoPublish>true</autoPublish> |
487 | 470 | </configuration> |
488 | 471 | </plugin> |
489 | 472 | </plugins> |
|
559 | 542 | <name>GitHub Packages</name> |
560 | 543 | <url>https://maven.pkg.github.com/codecentric/spring-boot-admin</url> |
561 | 544 | </snapshotRepository> |
562 | | - <repository> |
563 | | - <id>sonatype-nexus-staging</id> |
564 | | - <name>Nexus Release Repository</name> |
565 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
566 | | - </repository> |
567 | 545 | </distributionManagement> |
568 | 546 | </project> |
0 commit comments