add sections to pom.xml required for publishing to maven central
In order to publish artifacts to Maven Central via the Sonatype OSSRH route, certain sections must be added to the pom. One is the OSSRH parent pom, which contains the adequate repositories to use. Another is a license section. Also, source and javadocs should also be uploaded so I've added those plugins as well.
The scm connection is required by the release plugin which is the recommended way for performing the releases.
Lastly, GPG signing is required for artifacts. Adding this to the normal project lifecycle would break most builds if gpg is not installed or configured. Instead, I've added this to a release profile, which also gets automatically activated by the performRelease property, which causes it to be automatically activated when using the release plugin.
I hope this helps expedite the process to get this officially into Central.