import java.io.*; File f = new File( basedir, "child2/target/child2-1-bin/bar/child1-1.jar" ); return f.exists() && f.isFile();