use of org.apache.archiva.maven.repository.metadata.storage.mock.MockConfiguration in project archiva by apache.
the class MavenRepositoryProviderTest method setUp.
@Before
public void setUp() throws Exception {
provider = new MavenRepositoryProvider();
MockConfiguration mockConfiguration = new MockConfiguration();
mockConfiguration.getConfiguration().setArchivaRuntimeConfiguration(new ArchivaRuntimeConfiguration());
mockConfiguration.getConfiguration().getArchivaRuntimeConfiguration().setRepositoryBaseDirectory("repositories");
provider.setArchivaConfiguration(mockConfiguration);
}
Aggregations