File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ permissions:
1414
1515jobs :
1616 deploy :
17- uses : sentrysoftware /workflows/.github/workflows/maven-central-deploy.yml@main
17+ uses : metricshub /workflows/.github/workflows/maven-central-deploy.yml@main
1818 with :
1919 jdkVersion : " 17"
2020 secrets : inherit
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ permissions:
2323
2424jobs :
2525 release :
26- uses : sentrysoftware /workflows/.github/workflows/maven-central-release.yml@main
26+ uses : metricshub /workflows/.github/workflows/maven-central-release.yml@main
2727 with :
2828 releaseVersion : ${{ inputs.releaseVersion }}
2929 developmentVersion : ${{ inputs.developmentVersion }}
Original file line number Diff line number Diff line change 410410 <id >maven-central</id >
411411 <activation >
412412 <property >
413- <name >env.OSSRH_TOKEN </name >
413+ <name >env.MAVEN_CENTRAL_TOKEN </name >
414414 </property >
415415 </activation >
416+ <properties >
417+ <maven .deploy.skip>true</maven .deploy.skip>
418+ </properties >
416419 <build >
417-
418420 <plugins >
419421
420422 <!-- Replaces the default Maven Deploy plugin -->
424426 <artifactId >central-publishing-maven-plugin</artifactId >
425427 <extensions >true</extensions >
426428 <configuration >
427- <publishingServerId >ossrh </publishingServerId >
429+ <publishingServerId >central </publishingServerId >
428430 <autoPublish >${env.AUTO_RELEASE_AFTER_CLOSE} </autoPublish >
429431 <centralSnapshotsUrl >https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl >
430432 </configuration >
You can’t perform that action at this time.
0 commit comments