Adding build spec

This commit is contained in:
Piasecki-grid 2025-01-29 12:50:45 +01:00
parent 3f9b3aa215
commit 51ffdffd3e

23
buildspec.yml Normal file
View file

@ -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