- How to do?
- What are the pre-requisites?
The standard way is to use sonatypes procedure: http://central.sonatype.org/pages/ossrh-guide.html
It is basically 2 steps:
- setup an account with them (free, but you need to tell them about a page you own or belong to)
- setup some basic things in your pom or its parent.
For my projects I create a parent-pom in https://github.com/openCage/pfabulist-parent. branch v1.
Use it just copy stuff in your pom.
Then a maven deploy will send your artifact to sonatype. They test some points and then send it to maven-central.
By the way, to check whether your GPL3 license fits to the dependencies you are using there are several options.