set only sonar properties when sonar plugin is available