Instead of building a profile and triggering it on release its triggerred in the release to sonatype through the sonatype parent. So the release profile isn't in sonatype parent, but same plugins are setup there during release. So only think that we need is the parent org.sonatype.oss:oss-parent:7:pom in the root pom.