Commit c9410c6f authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

tell maven where local m2 directory is

parent 760d5946
......@@ -6,7 +6,7 @@ stages:
variables:
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true -DskipTests"
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true -DskipTests -Dmaven.repo.local=.m2/repository"
# Cache downloaded dependencies and plugins between builds.
......@@ -14,7 +14,7 @@ variables:
cache:
key: "CI_JOB_NAME"
paths:
- .m2/repository
- ./.m2/repository
rpm:
stage: build:rpm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment