import java.io.*;
import org.codehaus.plexus.util.FileUtils;


String log = FileUtils.fileRead( new File( basedir, "build.log" ) );
String expected = "installing gem sets for test scope into ";
if ( !log.contains( expected ) )
{
    throw new RuntimeException( "log file does not contain '" + expected + "'" );
}
//expected = "Successfully installed axiom-types-0.1.1";
//if ( !log.contains( expected ) )
//{
//    throw new RuntimeException( "log file does not contain '" + expected + "'" );
//}
//expected = "Successfully installed coercible-1.0.0";
//if ( !log.contains( expected ) )
//{
//    throw new RuntimeException( "log file does not contain '" + expected + "'" );
//}
//expected = "Successfully installed descendants_tracker-0.0.4";
//if ( !log.contains( expected ) )
//{
//    throw new RuntimeException( "log file does not contain '" + expected + "'" );
//}
//expected = "Successfully installed ice_nine-0.11.0";
//if ( !log.contains( expected ) )
//{
//    throw new RuntimeException( "log file does not contain '" + expected + "'" );
//}
//expected = "Successfully installed thread_safe-0.3.4-java";
//if ( !log.contains( expected ) )
//{
//    throw new RuntimeException( "log file does not contain '" + expected + "'" );
//}
//expected = "Successfully installed virtus-1.0.2";
//if ( !log.contains( expected ) )
//{
//    throw new RuntimeException( "log file does not contain '" + expected + "'" );
//}
