Skip to content

Commit d6a12fa

Browse files
committed
Migrate to an AWS-specific sonatype endpoint.
1 parent 41c2827 commit d6a12fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

buildspecs/release-to-maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ phases:
1515
build:
1616
commands:
1717
- RELEASE_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec`
18-
- SONATYPE_URL="https://oss.sonatype.org/service/local/repositories/releases/content/software/amazon/awssdk/aws-sdk-java/$RELEASE_VERSION/"
18+
- SONATYPE_URL="https://aws.oss.sonatype.org/service/local/repositories/releases/content/software/amazon/awssdk/aws-sdk-java/$RELEASE_VERSION/"
1919
- |
2020
if ! curl -f --head $SONATYPE_URL; then
2121
mkdir -p $CREDENTIALS
2222
aws s3 cp s3://aws-java-sdk-release-credentials/ $CREDENTIALS/ --recursive
2323
mvn clean deploy -B -s $SETTINGS_XML -Dgpg.homedir=$GPG_HOME -Ppublishing -DperformRelease -Dspotbugs.skip -DskipTests -Dcheckstyle.skip -Ddoclint=none -pl !:dynamodbdocument-v1,!:dynamodbmapper-v1,!:protocol-tests,!:protocol-tests-core,!:codegen-generated-classes-test,!:sdk-benchmarks,!:module-path-tests,!:tests-coverage-reporting,!:stability-tests -DautoReleaseAfterClose=true -DstagingProgressTimeoutMinutes=30
2424
else
2525
echo "This version was already released."
26-
fi
26+
fi

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@
496496
<extensions>true</extensions>
497497
<configuration>
498498
<serverId>sonatype-nexus-staging</serverId>
499-
<nexusUrl>https://oss.sonatype.org</nexusUrl>
499+
<nexusUrl>https://aws.oss.sonatype.org</nexusUrl>
500500
</configuration>
501501
</plugin>
502502
</plugins>

0 commit comments

Comments
 (0)