public interface MavenArtifactProvider
CamelCatalog.| Modifier and Type | Method and Description |
|---|---|
Set<String> |
addArtifactToCatalog(org.apache.camel.catalog.CamelCatalog camelCatalog,
String groupId,
String artifactId,
String version)
Downloads the artifact using the Maven coordinates and scans the JAR for Camel components which will be added to
the CamelCatalog.
|
void |
addMavenRepository(String name,
String url)
To add a 3rd party Maven repository.
|
void |
setCacheDirectory(String directory)
Configures the directory for the download cache.
|
void setCacheDirectory(String directory)
directory - the directory.void addMavenRepository(String name, String url)
name - the repository nameurl - the repository urlSet<String> addArtifactToCatalog(org.apache.camel.catalog.CamelCatalog camelCatalog, String groupId, String artifactId, String version)
camelCatalog - The Camel CataloggroupId - Maven group idartifactId - Maven artifact idversion - Maven versionApache Camel