import java.io.*;

boolean result = true;

String finalName = "two-levels-includeBaseDir-withBin-1.0-SNAPSHOT";
String rootDir = "target/" + finalName + "-bin/" + finalName + "/modules/";

result = result && new File( basedir, rootDir + "child-level1-project1-1.0-SNAPSHOT.jar" ).exists();   

result = result && new File( basedir, rootDir + "child-level2-project1-1.0-SNAPSHOT.jar" ).exists();   

return result;
