[JBIDE-18187] - Handle closed projects.

safe guard against closed projects.
switch to  4.2.0.CR2-SNAPSHOT parent