Search in sources :

Example 1 with RemoteDefaultRepositoryContent

use of org.apache.archiva.repository.content.maven2.RemoteDefaultRepositoryContent in project archiva by apache.

the class RemoteDefaultRepositoryContentTest method setUp.

@Before
public void setUp() throws Exception {
    RemoteRepository repository = createRemoteRepository("testRemoteRepo", "Unit Test Remote Repo", "http://repo1.maven.org/maven2/");
    repoContent = new RemoteDefaultRepositoryContent(artifactMappingProviders);
    // repoContent = (RemoteRepositoryContent) lookup( RemoteRepositoryContent.class, "default" );
    repoContent.setRepository(repository);
}
Also used : RemoteDefaultRepositoryContent(org.apache.archiva.repository.content.maven2.RemoteDefaultRepositoryContent) RemoteRepository(org.apache.archiva.repository.RemoteRepository) Before(org.junit.Before)

Aggregations

RemoteRepository (org.apache.archiva.repository.RemoteRepository)1 RemoteDefaultRepositoryContent (org.apache.archiva.repository.content.maven2.RemoteDefaultRepositoryContent)1 Before (org.junit.Before)1