return repository;
}
protected DeploymentRepository createProfileDeploymentRepository(ProfileKey key, String repositoryType, ProfileSourceMetaData metaData) throws Exception
{
DeploymentRepositoryFactory factory = this.repositoryFactories.get(repositoryType);
if(factory == null)
throw new IllegalStateException("No registered factory for repository type: "+ repositoryType);
// Let the factory create the repository
return factory.createDeploymentRepository(key, metaData);
}