|
21 | 21 |
|
22 | 22 | <groupId>io.github.ascopes.jct</groupId> |
23 | 23 | <artifactId>java-compiler-testing-parent</artifactId> |
24 | | - <version>5.0.2-SNAPSHOT</version> |
| 24 | + <version>5.0.2-rc2-SNAPSHOT</version> |
25 | 25 | <packaging>pom</packaging> |
26 | 26 |
|
27 | 27 | <name>Java Compiler Testing parent project</name> |
|
57 | 57 |
|
58 | 58 | <distributionManagement> |
59 | 59 | <repository> |
60 | | - <id>ossrh</id> |
61 | | - <name>Maven Central Releases</name> |
62 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 60 | + <id>central</id> |
| 61 | + <name>Maven Central</name> |
| 62 | + <url>https://central.sonatype.com</url> |
63 | 63 | </repository> |
64 | | - <snapshotRepository> |
65 | | - <id>ossrh</id> |
66 | | - <name>Maven Central Snapshots</name> |
67 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
68 | | - </snapshotRepository> |
69 | 64 | </distributionManagement> |
70 | 65 |
|
71 | 66 | <issueManagement> |
|
104 | 99 | <slf4j.version>2.0.17</slf4j.version> |
105 | 100 |
|
106 | 101 | <!-- Plugins --> |
| 102 | + <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
107 | 103 | <jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version> |
108 | 104 | <license-maven-plugin.version>5.0.0</license-maven-plugin.version> |
109 | 105 | <maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version> |
|
119 | 115 | <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version> |
120 | 116 | <maven-source-plugin.version>3.3.1</maven-source-plugin.version> |
121 | 117 | <maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version> |
122 | | - <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> |
123 | 118 |
|
124 | 119 | <!-- Plugin dependencies --> |
125 | 120 | <checkstyle.version>10.23.0</checkstyle.version> |
|
684 | 679 | and then triggering a "closure" operation that will promote it to |
685 | 680 | the public Maven repository. |
686 | 681 | --> |
687 | | - <groupId>org.sonatype.plugins</groupId> |
688 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
689 | | - <version>${nexus-staging-maven-plugin.version}</version> |
| 682 | + <groupId>org.sonatype.central</groupId> |
| 683 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 684 | + <version>${central-publishing-maven-plugin.version}</version> |
690 | 685 | <extensions>true</extensions> |
691 | 686 | <configuration> |
692 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
693 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
694 | | - <serverId>ossrh</serverId> |
695 | | - <stagingProgressTimeoutMinutes>10</stagingProgressTimeoutMinutes> |
| 687 | + <autoPublish>true</autoPublish> |
| 688 | + <publishingServerId>central</publishingServerId> |
| 689 | + <waitUntil>published</waitUntil> |
696 | 690 | </configuration> |
697 | 691 | </plugin> |
698 | 692 | </plugins> |
|
0 commit comments