[FIXED JENKINS-15977] ClassNotFound is maven plugin not installed

Check for the maven plugin being installed before trying to see
if the project src is a maven project.