[FIXED JENKINS-21935] m2release plugin can only be used in maven jobs