#include:
 # - template: Jobs/SAST.gitlab-ci.yml

cache:
  paths:
    - .m2/repository

stages:
  - build
  #- test
  #- package

variables:
  MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository"


build-battlearena:
  stage: build
  image: maven:4.0.0-jdk-21.0.1
  script:
    - "echo 'Starting Build Stage'"
    - "mvn compile"
  artifacts:
    paths:
      - target/