File tree Expand file tree Collapse file tree 2 files changed +7
-19
lines changed
Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 2121 with :
2222 java-version : ' 8'
2323 distribution : ' temurin'
24- server-id : ossrh
24+ server-id : central
2525 server-username : MAVEN_USERNAME
2626 server-password : MAVEN_PASSWORD
2727 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 330330 </dependencies >
331331 </dependencyManagement >
332332
333- <distributionManagement >
334- <snapshotRepository >
335- <id >ossrh</id >
336- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
337- </snapshotRepository >
338- <repository >
339- <id >ossrh</id >
340- <name >OSSRH Repository</name >
341- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
342- </repository >
343- </distributionManagement >
344-
345333 <profiles >
346334 <profile >
347335 <id >doclint-java8-disable</id >
431419
432420 <plugins >
433421 <plugin >
434- <groupId >org.sonatype.plugins </groupId >
435- <artifactId >nexus-staging -maven-plugin</artifactId >
436- <version >1.6.3 </version >
422+ <groupId >org.sonatype.central </groupId >
423+ <artifactId >central-publishing -maven-plugin</artifactId >
424+ <version >0.7.0 </version >
437425 <extensions >true</extensions >
438426 <configuration >
439- <serverId >ossrh</ serverId >
440- <nexusUrl >https://oss.sonatype.org/</ nexusUrl >
441- <autoReleaseAfterClose >true</autoReleaseAfterClose >
427+ <deploymentName >Release WxJava: ${project.version} </ deploymentName >
428+ <publishingServerId >central</ publishingServerId >
429+ <autoPublish >true</autoPublish >
442430 </configuration >
443431 </plugin >
444432 <plugin >
You can’t perform that action at this time.
0 commit comments