GitLab.com Maven Jar to Package Repo Example

Could someone post the configs from a working example of building a Jar via Maven in the GitLab.com CI and deploying that Jar to the GitLab.com package repo?

I believe the necessary configs are the POM.xml, the Maven settings.xml, and the .gitlab-ci.yml.

Thanks!