File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797 <maven-site-plugin .version>3.9.0</maven-site-plugin .version>
9898 <maven-source-plugin .version>3.2.1</maven-source-plugin .version>
9999 <maven-surefire-plugin .version>2.22.2</maven-surefire-plugin .version>
100- <nexus-staging -maven-plugin .version>1.6.8</ nexus-staging -maven-plugin .version>
100+ <central-publishing -maven-plugin .version>0.8.0</ central-publishing -maven-plugin .version>
101101
102102 <!-- libraries. -->
103103 <gson .version>2.14.0</gson .version>
107107 <slf4j .version>1.7.36</slf4j .version>
108108 </properties >
109109
110- <distributionManagement >
111- <snapshotRepository >
112- <id >ossrh</id >
113- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
114- </snapshotRepository >
115- </distributionManagement >
116-
117110 <build >
118111 <plugins >
119112
215208 </executions >
216209 </plugin >
217210
218- <!-- Staging for Maven Central. -->
211+ <!-- Publishing to Maven Central via the Central Portal . -->
219212 <plugin >
220- <groupId >org.sonatype.plugins </groupId >
221- <artifactId >nexus-staging -maven-plugin</artifactId >
222- <version >${nexus-staging -maven-plugin.version} </version >
213+ <groupId >org.sonatype.central </groupId >
214+ <artifactId >central-publishing -maven-plugin</artifactId >
215+ <version >${central-publishing -maven-plugin.version} </version >
223216 <extensions >true</extensions >
224217 <configuration >
225- <serverId >ossrh</serverId >
226- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
227- <autoReleaseAfterClose >false</autoReleaseAfterClose >
218+ <publishingServerId >central</publishingServerId >
219+ <autoPublish >false</autoPublish >
228220 </configuration >
229221 </plugin >
230222
You can’t perform that action at this time.
0 commit comments