serverInfo = new BasicServerInfo(serverBase.getAbsolutePath(), false);
File repoBase = new File(new File(new File(new File(new File(getBaseDir(), "src"), "test"), "resources"), "copyfiletest"), "repository");
if (!repoBase.exists()) {
throw new RuntimeException("Could not locate repo :" + repoBase);
}
Maven2Repository repo = new Maven2Repository(repoBase.toURI(), serverInfo, true);
configStore = new RepositoryConfigurationStore(repo);
installer = new PluginInstallerGBean(new MockConfigurationManager(),
repo,
configStore,
serverInfo,