import java.io.*;
import java.net.*;
import java.util.jar.*;

boolean result = true;

try
{
    result = new File( basedir, "target/two-level-multimodule-1.0-SNAPSHOT-bin/modules/child-level1-project1-1.0-SNAPSHOT.jar" ).exists();   

    result = result && !new File( basedir, "target/two-level-multimodule-1.0-SNAPSHOT-bin/modules/child-level2-project1-1.0-SNAPSHOT.jar" ).exists();   
}
catch( IOException e )
{
    e.printStackTrace();
    result = false;
}

return result;
