moved sonatype-specific configuration to the condition