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.
My current .gitlab-ci.yml:
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"