My notes on releasing releases to sonatype.org and the goal is to describe how I release to sonatype. I have listed 3 open source projects where I use the pattern below and this could help guide your design.
Run these commands to release.
This will run the release, but skip the interactive release version choices and auto increment above.
Find some of the sites where the above strategy is done to deploy the open source libraries. Check out the parent and child poms for more information to use in creating your own.