use maven-scm-publish-plugin 1.0 only when running Maven 3, stay with 1.0-beta-2 for Maven 2

git-svn-id: https://svn.apache.org/repos/asf/maven/pom/trunk@1571117 13f79535-47bb-0310-9956-ffa450edef68