From b102c5a35c00cc2cdd0c37a11f743e1a5256b64a Mon Sep 17 00:00:00 2001
From: abbenhoumi <abdelkhalek.benhoumine@etu.uca.fr>
Date: Sun, 5 Apr 2020 17:37:59 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 055a1ab..9fde61a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,10 +5,6 @@ stages:
   - test
   - run
 
-variables:
-  MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
-  MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
-
 cache:
   paths:
     - .m2/repository/
@@ -17,15 +13,15 @@ cache:
 build:
   stage: build
   script:
-    - mvn $MAVEN_CLI_OPTS compile
+    - mvn compile
 
 test:
   stage: test
   script:
-    - mvn $MAVEN_CLI_OPTS test
+    - mvn test
 
 run:
   stage: run
   script:
-    - mvn $MAVEN_CLI_OPTS package
-    - mvn $MAVEN_CLI_OPTS exec:java -Dexec.mainClass="com.example.app.App"
\ No newline at end of file
+    - mvn package
+    - mvn exec:java -Dexec.mainClass="isima.f2.RamassagePoubleDepotApplication"
\ No newline at end of file
-- 
GitLab