return value != null ? value : defaultValue;
}
};
DefaultMavenIdentityRepository mavenRepo = new DefaultMavenIdentityRepository(propertyProvider);
repository = new DefaultPersistentRepository(propertyProvider, new RepositoryAggregator(mavenRepo));
RepositoryStorage storage = repository.adapt(RepositoryStorage.class);
// Install gravia features to the repository
ModuleClassLoader classLoader = Module.getCallerModule().getClassLoader();