{
File testPom = new File( getBasedir(), pomXml );
TestCompilerMojo mojo = (TestCompilerMojo) lookupMojo( "testCompile", testPom );
setVariableValueToObject( mojo, "log", new DebugEnabledLog() );
File buildDir = (File) getVariableValueFromObject( compilerMojo, "buildDirectory" );
File testClassesDir = new File( buildDir, "test-classes" );
setVariableValueToObject( mojo, "outputDirectory", testClassesDir );