From 51ffdffd3e12e26f5538efd96eb778aece08d570 Mon Sep 17 00:00:00 2001 From: Piasecki-grid Date: Wed, 29 Jan 2025 12:50:45 +0100 Subject: [PATCH] Adding build spec --- buildspec.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 buildspec.yml diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 000000000..9b7e7ff2b --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,23 @@ +version: 0.2 + +phases: + install: + runtime-versions: + java: corretto17 + pre_build: + commands: + - echo "Installing dependencies..." + - mvn clean install -DskipTests + build: + commands: + - echo "Building the project..." + - mvn package -DskipTests + post_build: + commands: + - echo "Build completed successfully" + +artifacts: + files: + - target/*.jar + discard-paths: yes +