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 20
20
java-version : 11
21
21
distribution : corretto
22
22
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
24
24
server-username : MAVEN_USERNAME
25
25
server-password : MAVEN_PASSWORD
26
26
settings-path : ${{ github.workspace }} # Location for settings.xml file
Original file line number Diff line number Diff line change 34
34
<distributionManagement >
35
35
<snapshotRepository >
36
36
<id >central</id >
37
- <url >https://central.sonatype.com/content/repositories/ snapshots</url >
37
+ <url >https://central.sonatype.com/repository/maven- snapshots/ </url >
38
38
</snapshotRepository >
39
39
<repository >
40
40
<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 >
42
42
</repository >
43
43
</distributionManagement >
44
44
381
381
</executions >
382
382
</plugin >
383
383
<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 >
387
387
<extensions >true</extensions >
388
388
<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 >
394
393
</configuration >
395
394
</plugin >
396
395
</plugins >
You can’t perform that action at this time.
0 commit comments