import java.io.*; | |
import java.util.*; | |
String[] paths = | |
{ | |
"org/apache/maven/its/deploy/nma1/test/maven-metadata.xml", | |
"org/apache/maven/its/deploy/nma1/test/1.0/test-1.0.pom", | |
"org/apache/maven/its/deploy/nma1/test/1.0/test-1.0-it.jar", | |
}; | |
for ( String path : paths ) | |
{ | |
File file = new File( new File( basedir, "target/repo" ), path ); | |
System.out.println( "Checking for existence of " + file ); | |
if ( !file.isFile() ) | |
{ | |
throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() ); | |
} | |
} | |
return true; |