git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532454
13f79535-47bb-0310-9956-
ffa450edef68
private String name;
/**
- * @plexus.requirement
+ * @plexus.requirement role-hint="jdo"
*/
private ArchivaDAO dao;
artifactDao = dao.getArtifactDAO();
- ArchivaConfiguration config = (ArchivaConfiguration) lookup( ArchivaConfiguration.class.getName() );
+ ArchivaConfiguration config = (ArchivaConfiguration) lookup( ArchivaConfiguration.class.getName(), "default" );
RepositoryConfiguration repoConfig = new RepositoryConfiguration();
repoConfig.setId( TESTABLE_REPO );