Skip to content

Commit 9e91dad

Browse files
authored
chore: move release to Nexus Central (#2117)
1 parent 313caa7 commit 9e91dad

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

cfn/ci_cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ Resources:
376376
"arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-Release-haLIjZ",
377377
"arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Maven-GPG-Keys-Release-Credentials-WgJanS",
378378
"arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Sonatype-User-Token-zK61bM",
379+
"arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Sonatype-Central-Portal-XrYUs2",
379380
"arn:aws:secretsmanager:us-west-2:${AWS::AccountId}:secret:Github/aws-crypto-tools-ci-bot-AGUB3U"
380381
],
381382
"Action": "secretsmanager:GetSecretValue"

codebuild/release/release-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ env:
99
secrets-manager:
1010
GPG_KEY: Maven-GPG-Keys-Release-Credentials:Keyname
1111
GPG_PASS: Maven-GPG-Keys-Release-Credentials:Passphrase
12-
SONA_USERNAME: Sonatype-User-Token:username
13-
SONA_PASSWORD: Sonatype-User-Token:password
12+
SONA_USERNAME: Sonatype-Central-Portal:Username
13+
SONA_PASSWORD: Sonatype-Central-Portal:Password
1414

1515
phases:
1616
install:

codebuild/release/settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@
247247
<groupId>com.coveo</groupId>
248248
<artifactId>fmt-maven-plugin</artifactId>
249249
<version>2.13</version>
250+
250251
<!-- Configure no goals. -->
251252
<!--Until our CI builds no longer depend on Java 8, skip this during build.-->
252253
<!--We instead manually check this in Java 11 environments to block builds, -->
@@ -338,13 +339,12 @@
338339
</plugin>
339340

340341
<plugin>
341-
<groupId>org.sonatype.plugins</groupId>
342-
<artifactId>nexus-staging-maven-plugin</artifactId>
343-
<version>1.6.13</version>
342+
<groupId>org.sonatype.central</groupId>
343+
<artifactId>central-publishing-maven-plugin</artifactId>
344+
<version>0.7.0</version>
344345
<extensions>true</extensions>
345346
<configuration>
346-
<serverId>sonatype-nexus-staging</serverId>
347-
<nexusUrl>https://aws.oss.sonatype.org</nexusUrl>
347+
<publishingServerId>central</publishingServerId>
348348
</configuration>
349349
</plugin>
350350
</plugins>

0 commit comments

Comments
 (0)