377688: Adapt Maven check to only run if target requires it. 
377688: Adapt Maven check to only run if target requires it. 

Follow-up transactions will include changes for the Oracle bundle build and removal of ant files in Tycho projects

gameduell/eclipselink.runtime,gameduell/eclipselink.runtime,gameduell/eclipselink.runtime,gameduell/eclipselink.runtime