repositoryFactory = (RepositoryContentFactory) lookup( RepositoryContentFactory.class );
}
protected ArchivaArtifact createArtifact( String groupId, String artifactId, String version, String type )
{
ArchivaArtifactModel model = new ArchivaArtifactModel();
model.setGroupId( groupId );
model.setArtifactId( artifactId );
model.setVersion( version );
model.setType( type );
model.setRepositoryId( TEST_REPO_ID );
return new ArchivaArtifact( model );
}