use of org.springframework.cloud.deployer.resource.maven.MavenResourceLoader in project java-function-invoker by projectriff.
the class FunctionConfiguration method delegatingResourceLoader.
@Bean
@ConditionalOnMissingBean(DelegatingResourceLoader.class)
public DelegatingResourceLoader delegatingResourceLoader(MavenProperties mavenProperties) {
Map<String, ResourceLoader> loaders = new HashMap<>();
loaders.put(MavenResource.URI_SCHEME, new MavenResourceLoader(mavenProperties));
return new DelegatingResourceLoader(loaders);
}
Aggregations