Add maven plugin.
Using the new maven-publish plugin.
Using rootProject variables