diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5e9c774ba62982a96dfe77de60158ee1bb1321a4..a1075e1e9bd0f75360ce7c6d354779898004dd06 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,10 +22,10 @@ stages:
   - test
   - publish
 
-build:
+package:
   stage: build
   script:
-    - mvn clean compile $MAVEN_CLI_OPTS
+    - mvn clean package -DskipTests=true $MAVEN_CLI_OPTS
   artifacts:
     paths:
       - target/*.jar