File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ Resources:
189189 "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-CI-Credentials-eBrSNB",
190190 "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Github/aws-crypto-tools-ci-bot-AGUB3U",
191191 "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Sonatype-User-Token-zK61bM",
192+ "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Sonatype-Central-Portal-XrYUs2",
192193 "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-Release-haLIjZ",
193194 "arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-Release-Credentials-WgJanS"
194195 ],
Original file line number Diff line number Diff line change 1010 secrets-manager :
1111 GPG_KEY : Maven-GPG-Keys-Release-Credentials:Keyname
1212 GPG_PASS : Maven-GPG-Keys-Release-Credentials:Passphrase
13- SONA_USERNAME : Sonatype-User-Token:username
14- SONA_PASSWORD : Sonatype-User-Token:password
13+ SONA_USERNAME : Sonatype-Central-Portal:Username
14+ SONA_PASSWORD : Sonatype-Central-Portal:Password
1515
1616phases :
1717 install :
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ SPDX-License-Identifier: Apache-2.0
1313 <password >${codeartifact.token}</password >
1414 </server >
1515 <server >
16- <id >sonatype-nexus-staging </id >
16+ <id >central </id >
1717 <username >${sonatype.username}</username >
1818 <password >${sonatype.password}</password >
1919 </server >
Original file line number Diff line number Diff line change 308308
309309 <distributionManagement >
310310 <snapshotRepository >
311- <id >sonatype-nexus-staging </id >
312- <url >https://oss. sonatype.org /content/repositories/snapshots</url >
311+ <id >central </id >
312+ <url >https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots</url >
313313 </snapshotRepository >
314314 </distributionManagement >
315315
336336 </executions >
337337 </plugin >
338338 <plugin >
339- <groupId >org.sonatype.plugins </groupId >
340- <artifactId >nexus-staging -maven-plugin</artifactId >
341- <version >1.6.13 </version >
339+ <groupId >org.sonatype.central </groupId >
340+ <artifactId >central-publishing -maven-plugin</artifactId >
341+ <version >0.7.0 </version >
342342 <extensions >true</extensions >
343343 <configuration >
344- <serverId >sonatype-nexus-staging</ serverId >
345- < nexusUrl >https://aws.oss.sonatype.org</ nexusUrl >
344+ <publishingServerId >central</ publishingServerId >
345+ < autoPublish >true</ autoPublish >
346346 </configuration >
347347 </plugin >
348348 </plugins >
You can’t perform that action at this time.
0 commit comments