Package org.mule.maven.client.api
Interface MavenClientProvider
public interface MavenClientProvider
SPI for the API to find the implementation for the
MavenClient- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateMavenClient(MavenConfiguration mavenConfiguration) Creates a newMavenClientimplementation.static MavenClientProviderdiscoverProvider(ClassLoader classLoader) Discovers aMavenClientProviderthrough SPI.
-
Method Details
-
createMavenClient
Creates a newMavenClientimplementation.- Parameters:
mavenConfiguration- maven configuration for configuring the client.- Returns:
- a new
MavenClient
-
getPomFileSuppliers
PomFileSupplierFactory getPomFileSuppliers()- Returns:
- a provider for discovering pom files.
-
getLocalRepositorySuppliers
LocalRepositorySupplierFactory getLocalRepositorySuppliers()- Returns:
- a provider for discovering maven repository locations.
-
getSettingsSupplierFactory
SettingsSupplierFactory getSettingsSupplierFactory()- Returns:
- a provider for discovering maven settings locations.
-
discoverProvider
Discovers aMavenClientProviderthrough SPI.- Returns:
- a new client provider.
-