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 21
21
with :
22
22
java-version : ' 8'
23
23
distribution : ' temurin'
24
- server-id : ossrh
24
+ server-id : central
25
25
server-username : MAVEN_USERNAME
26
26
server-password : MAVEN_PASSWORD
27
27
gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 330
330
</dependencies >
331
331
</dependencyManagement >
332
332
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
-
345
333
<profiles >
346
334
<profile >
347
335
<id >doclint-java8-disable</id >
431
419
432
420
<plugins >
433
421
<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 >
437
425
<extensions >true</extensions >
438
426
<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 >
442
430
</configuration >
443
431
</plugin >
444
432
<plugin >
You can’t perform that action at this time.
0 commit comments