Package org.apache.camel.catalog.maven
Interface MavenArtifactProvider
- All Known Implementing Classes:
DefaultMavenArtifactProvider
Deprecated.
Provider which allows downloading artifact using Maven and add content to the
CamelCatalog.-
Method Summary
Modifier and TypeMethodDescriptionaddArtifactToCatalog(org.apache.camel.catalog.CamelCatalog camelCatalog, String groupId, String artifactId, String version) Deprecated.Downloads the artifact using the Maven coordinates and scans the JAR for Camel components which will be added to the CamelCatalog.voidaddMavenRepository(String name, String url) Deprecated.To add a 3rd party Maven repository.voidsetCacheDirectory(String directory) Deprecated.Configures the directory for the download cache.
-
Method Details
-
setCacheDirectory
Deprecated.Configures the directory for the download cache. The default directory is provider dependant.- Parameters:
directory- the directory.
-
addMavenRepository
Deprecated.To add a 3rd party Maven repository.- Parameters:
name- the repository nameurl- the repository url
-
addArtifactToCatalog
Set<String> addArtifactToCatalog(org.apache.camel.catalog.CamelCatalog camelCatalog, String groupId, String artifactId, String version) Deprecated.Downloads the artifact using the Maven coordinates and scans the JAR for Camel components which will be added to the CamelCatalog.- Parameters:
camelCatalog- The Camel CataloggroupId- Maven group idartifactId- Maven artifact idversion- Maven version- Returns:
- the names of the components that was added, or an empty set if none found or they already exists in the catalog
-
org.apache.camel.tooling.maven.support.MavenDownloaderfromcamel-tooling-maveninstead.