From a3eb2d4400a62be9bcfd96491cd4e314bc9782fb Mon Sep 17 00:00:00 2001 From: anthorob Date: Sun, 19 Sep 2021 15:23:34 -0400 Subject: [PATCH] Update CI config --- .gitlab-ci.yml | 7 +++++-- pom.xml | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7edde83..61731dd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: maven:latest +image: maven:3-jdk-11 variables: MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode" @@ -12,7 +12,10 @@ cache: build: stage: build script: - - "mvn --batch-mode compile" + - "mvn --batch-mode package" + artifacts: + paths: + - target/netneutrality-jar-with-dependencies.jar test: stage: test diff --git a/pom.xml b/pom.xml index 7445ab5..99ea899 100644 --- a/pom.xml +++ b/pom.xml @@ -39,7 +39,7 @@ maven-assembly-plugin - 3.0.0 + 3.3.0 @@ -51,6 +51,7 @@ jar-with-dependencies + netneutrality