From 7d95134b04db07bb4b1454c0f1c5ec932902c998 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Mon, 13 Jan 2020 09:31:11 +0100
Subject: [PATCH] maven would use cache when building project

---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7c03244a96..b503c65908 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,10 +5,15 @@ stages:
   - packaging
   - test
 
+cache:
+  paths:
+    - maven.repository/
+
 variables:
   POSTGRES_DB: map_viewer
   POSTGRES_USER: map_viewer
   POSTGRES_PASSWORD: "123qweasdzxc"
+  MAVEN_OPTS: "-Dmaven.repo.local=maven.repository"
 
 test:frontend:
   stage: test
-- 
GitLab