Parameterises release and snapshot repositories
Adds maven-publish plugin