Adapting stuff for sonatype deployment