File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ jobs:
202202 distribution : ' temurin'
203203 java-version : ' 11'
204204 java-package : jdk
205- server-id : ossrh # Value of the distributionManagement/repository/id field of the pom.xml
205+ server-id : central # Value of the distributionManagement/repository/id field of the pom.xml
206206 server-username : MAVEN_CENTRAL_USERNAME # env variable for username in deploy (1)
207207 server-password : MAVEN_CENTRAL_PASSWORD # env variable for token in deploy (2)
208208 - name : Get Project Version
Original file line number Diff line number Diff line change 185185 </plugin >
186186
187187 <plugin >
188- <groupId >org.sonatype.plugins </groupId >
189- <artifactId >nexus-staging -maven-plugin</artifactId >
190- <version >1 .7.0</version >
188+ <groupId >org.sonatype.central </groupId >
189+ <artifactId >central-publishing -maven-plugin</artifactId >
190+ <version >0 .7.0</version >
191191 <extensions >true</extensions >
192192 <configuration >
193- <serverId >ossrh</ serverId >
194- <nexusUrl >https://oss.sonatype.org/</ nexusUrl >
195- <autoReleaseAfterClose >true</ autoReleaseAfterClose >
193+ <publishingServerId >central</ publishingServerId >
194+ <autoPublish >true</ autoPublish >
195+ <waitUntil >published</ waitUntil >
196196 </configuration >
197197 </plugin >
198198
266266
267267 <distributionManagement >
268268 <snapshotRepository >
269- <id >ossrh </id >
269+ <id >central </id >
270270 <url >https://oss.sonatype.org/content/repositories/snapshots</url >
271271 </snapshotRepository >
272272 </distributionManagement >
You can’t perform that action at this time.
0 commit comments