@Inject
protected PlexusSisuBridge plexusSisuBridge;
- ArchivaConfiguration previousArchivaConfiguration;
@Before
public void setUp()
{
super.setUp();
+ removeMavenIndexes();
+
listenerControl = MockControl.createControl( RepositoryListener.class );
listener = (RepositoryListener) listenerControl.getMock();
metadataRepository = mock( MetadataRepository.class );
when( repositorySession.getRepository() ).thenReturn( metadataRepository );
- previousArchivaConfiguration = ( (DefaultManagedRepositoryAdmin) applicationContext.getBean(
- ManagedRepositoryAdmin.class ) ).getArchivaConfiguration();
- removeMavenIndexes();
+
}
@After