Class RemoteRepositorySearchBackendFactory
java.lang.Object
org.apache.maven.search.backend.remoterepository.RemoteRepositorySearchBackendFactory
The remote repository search backend factory.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String backendId, String repositoryId, String baseUri, Transport transport, ResponseExtractor responseExtractor) Creates RR search backend using provided parameters.Creates "default" RR search backend against Maven Central suitable for most use cases.Creates "default" RR search backend against repository.apache.org releases repository suitable for most use cases.
-
Field Details
-
BACKEND_ID
- See Also:
-
CENTRAL_REPOSITORY_ID
- See Also:
-
CENTRAL_URI
- See Also:
-
RAO_RELEASES_REPOSITORY_ID
- See Also:
-
RAO_RELEASES_URI
- See Also:
-
-
Method Details
-
createDefaultMavenCentral
Creates "default" RR search backend against Maven Central suitable for most use cases. -
createDefaultRAOReleases
Creates "default" RR search backend against repository.apache.org releases repository suitable for most use cases. -
create
public static RemoteRepositorySearchBackend create(String backendId, String repositoryId, String baseUri, Transport transport, ResponseExtractor responseExtractor) Creates RR search backend using provided parameters.
-