return new File( testResources.get( 0 ).getDirectory() );
}
@NotNull
protected Classpath buildClassPath() throws MojoExecutionException {
Classpath classpath = new Classpath();
try {
for ( String classpathElement : getCompileClasspathElements() ) {
File element = new File( classpathElement );
getLog().debug( "Adding classpath element: " + element.getAbsolutePath() );
classpath.add( element );
}
} catch ( DependencyResolutionRequiredException e ) {
throw new MojoExecutionException( e.getMessage(), e );
}