diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 553c564..46e1fe3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,11 +4,15 @@ stages: # List of stages for jobs, and their order of execution - maven_build - docker_build +variables: + MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=/root/.m2 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true" + build-job: stage: maven_build image: maven:3.9.8-amazoncorretto-21-al2023 script: - - sleep 10000 + - cat /root/.m2/settings.xml + - mvn help:effective-settings - curl -v https://repo.spring.io/snapshot - echo "Building the project..." - mvn clean install -DskipTests