title: How to use Gitlab CI to build a Java Maven project?
body: <p>I have been experimenting with no success whatsoever, I am running a Gitlab hosted on Linux, and trying to get my head around the CI functionality.</p>
  
  <p>According to the Gitlab documentation you only need to create a <code>.gitlab-ci.yml</code> file, the Gitlab implementation of Travis-CI. Now from the looks of it you can accomplish a lot with the <code>.gitlab-ci.yml</code>, but a lot of the documentation is referencing Ruby and other languages. Nothing is said about how to build Java Maven projects.</p>
  
  <p>How can I build a simple application in Java? Can I use the shared runner, or should I be using a specific runner, in that case what or which runner implementation should I choose: ssh, docker, or shell? Then, what should I put in the <code>.gitlab-ci.yml</code> file at least to build the project with Maven?</p>