From 953826c2e49714fb070289419a1dee024e70dfed Mon Sep 17 00:00:00 2001 From: Derek Hudson <dhudsons@amazon.com> Date: Mon, 24 Feb 2025 17:20:18 +0000 Subject: [PATCH] Aws fix build (cherry picked from commit 0659922792e467c736ef71f21b65cdd8a26e315f) --- provider/notification-aws/build-aws/buildspec.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/provider/notification-aws/build-aws/buildspec.yaml b/provider/notification-aws/build-aws/buildspec.yaml index bdd553733..4a873e626 100644 --- a/provider/notification-aws/build-aws/buildspec.yaml +++ b/provider/notification-aws/build-aws/buildspec.yaml @@ -69,8 +69,8 @@ phases: - if [ "$GIT_SECRETS_SCAN_RESULT" = "FAILED" ]; then echo "Secrets detected!" && exit 1; fi - echo "Building primary service assemblies..." - - mvn --no-transfer-progress -ntp -B test install -pl .,notification-core,provider/notification-aws -Ddeployment.environment=prod - - mvn --no-transfer-progress sonar:sonar -pl .,provider/notification-aws -Dsonar.scm.provider=git -Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.host.url=${SONAR_URL} + - mvn --no-transfer-progress -ntp -B test install -P core,aws -Ddeployment.environment=prod + - mvn --no-transfer-progress sonar:sonar -P aws -Dsonar.scm.provider=git -Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.host.url=${SONAR_URL} - echo "Building integration testing assemblies and gathering artifacts..." - ./testing/notification-test-aws/build-aws/prepare-dist.sh @@ -100,4 +100,4 @@ artifacts: name: ${BRANCH_NAME}/${PACKAGE_NAME}.zip cache: paths: - - "/root/.m2/**/*" \ No newline at end of file + - "/root/.m2/**/*" -- GitLab