From 1c3446e1137c74515b76a280d6326caae2229968 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 15 Aug 2023 22:13:46 -0400 Subject: [PATCH] add buildspec.yml codebuild.yml ecr.yml file --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 9f388031d..d21b79ae0 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,7 +3,7 @@ version: 0.2 phases: install: runtime-versions: - java: corretto11 + java: openjdk11 pre_build: commands: - AWS_ACC=$(echo $CODEBUILD_BUILD_ARN | cut -d':' -f5) @@ -11,6 +11,7 @@ phases: build: commands: - echo Build started on `date` + - mvn install - mvn package - docker build . -t $REPOSITORY_URI/${REPO}:latest - echo Build completed on `date`