try
{
provider.addProviderProperties();
// cache the provider lookup
String providerName = provider.getProviderName();
Classpath providerClasspath = ClasspathCache.getCachedClassPath( providerName );
if ( providerClasspath == null )
{
providerClasspath = provider.getProviderClasspath();
ClasspathCache.setCachedClasspath( providerName, providerClasspath );
}
Artifact surefireArtifact = getCommonArtifact();
Classpath inprocClassPath = providerClasspath.addClassPathElementUrl( surefireArtifact.getFile().getAbsolutePath() );
final Classpath testClasspath = generateTestClasspath();
getLog().debug( testClasspath.getLogMessage( "test" ) );
getLog().debug( providerClasspath.getLogMessage( "provider" ) );
getLog().debug( testClasspath.getCompactLogMessage( "test(compact)" ) );
getLog().debug( providerClasspath.getCompactLogMessage( "provider(compact)" ) );
final ClasspathConfiguration classpathConfiguration =
new ClasspathConfiguration( testClasspath, providerClasspath, inprocClassPath,
effectiveIsEnableAssertions(), isChildDelegation() );