SWITCHYARD-2120 - Fix to make project pick up Java version correctly

from the pom.xml