Revised the unit test to use its own repository cache using the appropriate repository. Btw, this shows that the cache layout reflect the proxy configuration layout. This is needed so that checksums on 1.x repositories are located in the same directory as the checksumed file.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380875
13f79535-47bb-0310-9956-
ffa450edef68
super.setUp();
ProxyManagerFactory factory = (ProxyManagerFactory) container.lookup( ProxyManagerFactory.ROLE );
- proxy = factory.getProxyManager( "default", getTestConfiguration() );
+ proxy = factory.getProxyManager( "legacy", getTestConfiguration() );
}
public void testExceptions()
{
ProxyConfiguration config = (ProxyConfiguration) container.lookup( ProxyConfiguration.ROLE );
- config.setRepositoryCachePath( "target/proxy-cache" );
+ config.setRepositoryCachePath( "target/m1-proxy-cache" );
ArtifactRepositoryLayout layout = new LegacyRepositoryLayout();