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 @@ -202,14 +202,14 @@ jobs:
202
202
cache : maven
203
203
gpg-private-key : ${{ secrets.GPG_SIGNING_KEY }}
204
204
gpg-passphrase : GPG_PASSPHRASE
205
- server-id : ossrh
205
+ server-id : central
206
206
server-username : MAVEN_USERNAME
207
207
server-password : MAVEN_PASSWORD
208
208
- name : Publish package
209
209
run : mvn -Prelease clean deploy -DskipTests
210
210
env :
211
- MAVEN_USERNAME : ${{ secrets.OSSRH_JIRA_USERNAME }}
212
- MAVEN_PASSWORD : ${{ secrets.OSSRH_JIRA_PASSWORD }}
211
+ MAVEN_USERNAME : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
212
+ MAVEN_PASSWORD : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
213
213
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
214
214
215
215
create_pr :
@@ -290,4 +290,4 @@ jobs:
290
290
run : |
291
291
aws s3 sync \
292
292
dist \
293
- s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-java/
293
+ s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-java/
Original file line number Diff line number Diff line change 110
110
111
111
<distributionManagement >
112
112
<snapshotRepository >
113
- <id >ossrh </id >
114
- <url >https://aws.oss. sonatype.org/content/repositories/ snapshots</url >
113
+ <id >central-portal-snapshots </id >
114
+ <url >https://central. sonatype.com/repository/maven- snapshots/ </url >
115
115
</snapshotRepository >
116
116
</distributionManagement >
117
117
478
478
</executions >
479
479
</plugin >
480
480
<plugin >
481
- <groupId >org.sonatype.plugins</groupId >
482
- <artifactId >nexus-staging-maven-plugin</artifactId >
481
+ <groupId >org.sonatype.central</groupId >
482
+ <artifactId >central-publishing-maven-plugin</artifactId >
483
+ <version >0.7.0</version >
483
484
<extensions >true</extensions >
484
485
<configuration >
485
- <serverId >ossrh</serverId >
486
- <nexusUrl >https://aws.oss.sonatype.org</nexusUrl >
487
- <autoReleaseAfterClose >true</autoReleaseAfterClose >
486
+ <publishingServerId >central</publishingServerId >
488
487
</configuration >
489
488
</plugin >
490
489
</plugins >
You can’t perform that action at this time.
0 commit comments