Gitlab CI + maven: Use another repo as local dependency
<p>I started using gitlab for CI with maven.
I'de like to use another gitlab repo as a dependency for my project but i have no clue on how to do it.</p>

<p>My current .gitlab-ci.yml:</p>

<pre><code>image: maven:3-jdk-8
variables:
   MAVEN_OPTS: -Dmaven.repo.local=${CI_PROJECT_DIR}/.m2

build:
  script: "mvn clean install"
  artifacts:
    name: "oslib"
    paths:
    - "target/*.jar"
</code></pre>