File tree Expand file tree Collapse file tree 3 files changed +16
-18
lines changed Expand file tree Collapse file tree 3 files changed +16
-18
lines changed Original file line number Diff line number Diff line change 22
22
java-version : ' 8'
23
23
distribution : ' temurin'
24
24
cache : ' maven'
25
- server-id : ossrh
25
+ server-id : central
26
26
server-username : MAVEN_USERNAME
27
27
server-password : MAVEN_PASSWORD
28
28
- name : mvn offline
33
33
mvn --no-transfer-progress deploy
34
34
env :
35
35
MAVEN_USERNAME : ${{secrets.OSSH_USERNAME}}
36
- MAVEN_PASSWORD : ${{secrets.OSSH_TOKEN}}
36
+ MAVEN_PASSWORD : ${{secrets.OSSH_TOKEN}}
Original file line number Diff line number Diff line change 20
20
java-version : ' 8'
21
21
distribution : ' temurin'
22
22
cache : ' maven'
23
- server-id : ossrh
23
+ server-id : central
24
24
server-username : MAVEN_USERNAME
25
25
server-password : MAVEN_PASSWORD
26
26
Original file line number Diff line number Diff line change 3
3
4
4
<groupId >io.lettuce</groupId >
5
5
<artifactId >lettuce-core</artifactId >
6
- <version >7.0.0.BUILD -SNAPSHOT</version >
6
+ <version >7.0.0-SNAPSHOT</version >
7
7
<packaging >jar</packaging >
8
8
9
9
<name >Lettuce</name >
94
94
</scm >
95
95
96
96
<distributionManagement >
97
- <snapshotRepository >
98
- <id >ossrh</id >
99
- <name >Sonatype Nexus Snapshots</name >
100
- <url >https://oss.sonatype.org/content/repositories/snapshots/</url >
101
- </snapshotRepository >
102
97
<repository >
103
- <id >ossrh</id >
104
- <name >Nexus Release Repository</name >
105
- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
98
+ <id >central</id >
99
+ <url >https://central.sonatype.com/api/v1/publisher/deployments/upload/</url >
106
100
</repository >
101
+ <snapshotRepository >
102
+ <id >central</id >
103
+ <url >https://central.sonatype.com/repository/maven-snapshots/</url >
104
+ </snapshotRepository >
107
105
</distributionManagement >
108
106
109
107
<dependencyManagement >
973
971
</plugin >
974
972
975
973
<plugin >
976
- <groupId >org.sonatype.plugins </groupId >
977
- <artifactId >nexus-staging -maven-plugin</artifactId >
978
- <version >1.6.13 </version >
974
+ <groupId >org.sonatype.central </groupId >
975
+ <artifactId >central-publishing -maven-plugin</artifactId >
976
+ <version >0.8.0 </version >
979
977
<extensions >true</extensions >
980
978
<configuration >
981
- <serverId >ossrh</ serverId >
982
- <nexusUrl >https://oss.sonatype.org/</ nexusUrl >
983
- <autoReleaseAfterClose >true</ autoReleaseAfterClose >
979
+ <publishingServerId >central</ publishingServerId >
980
+ <autoPublish >true</ autoPublish >
981
+ <waitUntil >published</ waitUntil >
984
982
</configuration >
985
983
</plugin >
986
984
You can’t perform that action at this time.
0 commit comments