Skip to content

Commit 1bc3a55

Browse files
committed
Attempt to fix Maven Central snapshot deployments.
1 parent 20943a6 commit 1bc3a55

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.ci-local/credentials.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ if [ -z "${CI_AWS_SECRET_KEY}" ]
2323
then
2424
fatal "CI_AWS_SECRET_KEY is not defined"
2525
fi
26+
if [ -z "${MAVEN_CENTRAL_USERNAME}" ]
27+
then
28+
fatal "MAVEN_CENTRAL_USERNAME is not defined"
29+
fi
30+
if [ -z "${MAVEN_CENTRAL_PASSWORD}" ]
31+
then
32+
fatal "MAVEN_CENTRAL_PASSWORD is not defined"
33+
fi
2634

2735
#------------------------------------------------------------------------
2836
# Add the Gradle properties to the project properties.
@@ -51,4 +59,7 @@ org.thepalaceproject.s3.depend=true
5159
org.thepalaceproject.aws.access_key_id=${CI_AWS_ACCESS_ID}
5260
org.thepalaceproject.aws.secret_access_key=${CI_AWS_SECRET_KEY}
5361
org.thepalaceproject.app.credentials.palace=${CREDENTIALS_PATH}
62+
63+
mavenCentralUsername=${MAVEN_CENTRAL_USERNAME}
64+
mavenCentralPassword=${MAVEN_CENTRAL_PASSWORD}
5465
EOF

0 commit comments

Comments
 (0)