Sometime you are in need for a maven repository accessible from the net which is under your control. Reasons might be:
- a 3rd-party lib is not on Maven central or the desired version is missing
- you built modules/libraries which will be included in your other projects
- …
With the following steps you will be able to serve any artifact from a public GitHub repository by just added a few lines into your pom.xml. I personally wasted quite an amount of time on this topic so I guess I’ll save it here – for you and me.