blob: e175e966fbda7fddd6ea08286887da4c5bf02941 [file] [log] [blame]
import java.io.*;
import java.util.jar.*;
import java.util.*;
import java.net.*;
// minimal tests; the big thing here is that ignoring permissions doesn't stop the assembly from running...
File pom = new File( basedir, "target/parent-1-bin/parent-1/pom.xml" );
if ( !pom.exists() || !pom.isFile() )
{
System.out.println( "POM was not included in assembly." );
return false;
}
File junitJar = new File( basedir, "target/parent-1-bin/parent-1/lib/junit-3.8.1.jar" );
if ( !junitJar.exists() && !junitJar.isFile() )
{
System.out.println( "JUnit jar was not included in assembly." );
return false;
}
return true;