final AssemblerConfigurationSource configSource )
{
try
{
repositoryAssembler.buildRemoteRepository( dir, new RepoInfoWrapper( repo ),
new RepoBuilderConfigSourceWrapper( configSource ) );
control.setMatcher( MockControl.ALWAYS_MATCHER );
}
catch ( final RepositoryAssemblyException e )
{
Assert.fail( "Should never happen" );