Source:
<code><START> private StartupConfiguration createStartupConfiguration( ProviderInfo provider, <END> ClassLoaderConfiguration classLoaderConfiguration ) throws MojoExecutionException, MojoFailureException { try { 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() ) .addClassPathElementUrl( getApiArtifact().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() ); return new StartupConfiguration( providerName, classpathConfiguration, classLoaderConfiguration, isForking(), false ); } catch ( ArtifactResolutionException e ) { throw new MojoExecutionException( "Unable to generate classpath: " + e, e ); } catch ( ArtifactNotFoundException e ) { throw new MojoExecutionException( "Unable to generate classpath: " + e, e ); } catch ( InvalidVersionSpecificationException e ) { throw new MojoExecutionException( "Unable to generate classpath: " + e, e ); } }</code><technical_language>reason limiting visibility of methods? is code out builds Surefire I if break stuff for - OK if reasons... :wink: for createForkStarter createInprocessStarter..</technical_language>

Target:
StartupConfiguration createStartupConfiguration( ProviderInfo provider, ClassLoaderConfiguration classLoaderConfiguration ) throws MojoExecutionException, MojoFailureException { try { 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() ) .addClassPathElementUrl( getApiArtifact().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() ); return new StartupConfiguration( providerName, classpathConfiguration, classLoaderConfiguration, isForking(), false ); } catch ( ArtifactResolutionException e ) { throw new MojoExecutionException( "Unable to generate classpath: " + e, e ); } catch ( ArtifactNotFoundException e ) { throw new MojoExecutionException( "Unable to generate classpath: " + e, e ); } catch ( InvalidVersionSpecificationException e ) { throw new MojoExecutionException( "Unable to generate classpath: " + e, e ); } }