title: build pipeline in gitlab
body: <p>I have 2 maven projects in gitlab, A and B. Project A depends on project B. 
  I want to use gitlab-ci to build A.</p>
  
  <p>gitlab-ci.yml file for B project is below:</p>
  
  <pre><code>image: maven:3-jdk-8
  
  build:
    script: "mvn install -B" 
  </code></pre>
  
  <p>What gitlab-ci in A project should look like?</p>