title: Gitlab maven deploy to package registry
body: <p>I am trying out gitlab and it looks very promosing. I have run into a huge problem and it seams as if nobody on the entire Internet has even a clue how to solve this.</p>
  <p>I have added a project which is a maven project (There is only a pom.xml) and I want to deploy this to the package registry. If I do this from my home computer it is simple. I just add a deploy token to my settings.xml and do a <code>mvn deploy</code>.</p>
  <p>I want to do a maven deploy to the package registry on each build so when I commit and push my code it needs to build. The thing is, how can I pass on the Deploy token to the pipeline? So in short I want to auto deploy a maven library/dependency so that other projects can use that dependency. This is how it should work however this is completly undocumented how to do it in gitlab and it almost seams as if nobody on this planet does it this way.</p>
  <p>So in short, how can I deploy a maven project to the project/group package registry?</p>