File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 2020 java-version : 11
2121 distribution : corretto
2222 cache : maven
23- server-id : ossrh # Value of distributionManagement.repository.id field of pom.xml
23+ server-id : central # Value of distributionManagement.repository.id field of pom.xml
2424 server-username : MAVEN_USERNAME
2525 server-password : MAVEN_PASSWORD
2626 settings-path : ${{ github.workspace }} # Location for settings.xml file
Original file line number Diff line number Diff line change 3434 <distributionManagement >
3535 <snapshotRepository >
3636 <id >central</id >
37- <url >https://central.sonatype.com/content/repositories/ snapshots</url >
37+ <url >https://central.sonatype.com/repository/maven- snapshots/ </url >
3838 </snapshotRepository >
3939 <repository >
4040 <id >central</id >
41- <url >https://central.sonatype.com/service/local/staging/deploy/maven2 /</url >
41+ <url >https://central.sonatype.com/repository/maven-releases /</url >
4242 </repository >
4343 </distributionManagement >
4444
381381 </executions >
382382 </plugin >
383383 <plugin >
384- <groupId >org.sonatype.plugins </groupId >
385- <artifactId >nexus-staging -maven-plugin</artifactId >
386- <version >1.6.13 </version >
384+ <groupId >org.sonatype.central </groupId >
385+ <artifactId >central-publishing -maven-plugin</artifactId >
386+ <version >0.8.0 </version >
387387 <extensions >true</extensions >
388388 <configuration >
389- <serverId >central</serverId >
390- <nexusUrl >https://central.sonatype.com/</nexusUrl >
391- <autoReleaseAfterClose >true</autoReleaseAfterClose >
392- <connectTimeout >600000</connectTimeout >
393- <readTimeout >600000</readTimeout >
389+ <publishingServerId >central</publishingServerId >
390+ <deploymentName >github-java-client</deploymentName >
391+ <autoPublish >true</autoPublish >
392+ <waitUntil >published</waitUntil >
394393 </configuration >
395394 </plugin >
396395 </plugins >
You can’t perform that action at this time.
0 commit comments