From 1db32cc8bfe4876dc9716bbb90066b64c6a67926 Mon Sep 17 00:00:00 2001 From: Marc Burnie <mburnie@amazon.com> Date: Wed, 18 Dec 2024 11:46:57 -0600 Subject: [PATCH] fix: aws build after POM split --- provider/legal-aws/build-aws/buildspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/provider/legal-aws/build-aws/buildspec.yaml b/provider/legal-aws/build-aws/buildspec.yaml index 1c66e4dbc..de165e26e 100644 --- a/provider/legal-aws/build-aws/buildspec.yaml +++ b/provider/legal-aws/build-aws/buildspec.yaml @@ -66,8 +66,8 @@ phases: - if [ "$GIT_SECRETS_SCAN_RESULT" = "FAILED" ]; then echo "Secrets detected!" && exit 1; fi - echo "Building primary service assemblies..." - - mvn -ntp -B test install -pl .,legal-core,provider/legal-aws -Ddeployment.environment=prod - - mvn sonar:sonar -pl .,provider/legal-aws -Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.host.url=${SONAR_URL} + - mvn -ntp -B test install -f pom.xml -P aws -Ddeployment.environment=prod + - mvn sonar:sonar -f pom.xml -P aws -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/legal-test-aws/build-aws/prepare-dist.sh -- GitLab