File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 42
42
with :
43
43
distribution : ' adopt'
44
44
java-version : 21
45
- server-id : ' central '
45
+ server-id : ' ossrh '
46
46
server-username : PUBLISHER_USERNAME
47
47
server-password : PUBLISHER_PASSWORD
48
48
gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 217
217
</executions >
218
218
</plugin >
219
219
<plugin >
220
- <groupId >org.sonatype.central </groupId >
221
- <artifactId >central-publishing -maven-plugin</artifactId >
222
- <version >0.8 .0</version >
220
+ <groupId >org.sonatype.plugins </groupId >
221
+ <artifactId >nexus-staging -maven-plugin</artifactId >
222
+ <version >1.7 .0</version >
223
223
<extensions >true</extensions >
224
224
<configuration >
225
- <autoPublish >true</autoPublish >
225
+ <serverId >ossrh</serverId >
226
+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
227
+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
226
228
</configuration >
227
229
</plugin >
228
230
<!-- Use spotless plugin to automatically format code, remove unused import, etc
You can’t perform that action at this time.
0 commit comments