Uses of Interface
org.apache.maven.api.RemoteRepository
Package
Description
Maven Core API
Maven Resolver extensions for utilizing the Maven POM and Maven
repository metadata.
-
Uses of RemoteRepository in org.apache.maven.api
Modifier and TypeMethodDescriptionSession.createRemoteRepository
(String id, String url) Shortcut forgetService(RepositoryFactory.class).createRemote(...)
.Session.createRemoteRepository
(Repository repository) Shortcut forgetService(RepositoryFactory.class).createRemote(...)
.Modifier and TypeMethodDescriptionNode.getRemoteRepositories()
Session.getRemoteRepositories()
Retrieves a list of remote repositories associated with this session.Node.getRepository()
The repository where this artifact has been downloaded from.Modifier and TypeMethodDescriptionvoid
Session.deployArtifact
(RemoteRepository repository, ProducedArtifact... artifacts) Shortcut forgetService(ArtifactDeployer.class).deploy(...)
.Session.getPathForRemoteArtifact
(RemoteRepository remote, Artifact artifact) Gets the relative path for an artifact cached from a remote repository.Modifier and TypeMethodDescriptionSession.resolveArtifact
(ArtifactCoordinates coordinates, List<RemoteRepository> repositories) Shortcut forgetService(ArtifactResolver.class).resolve(...)
.Session.resolveArtifact
(Artifact artifact, List<RemoteRepository> repositories) Shortcut forgetService(ArtifactResolver.class).resolve(...)
.Session.resolveArtifacts
(Collection<? extends ArtifactCoordinates> coordinates, List<RemoteRepository> repositories) Shortcut forgetService(ArtifactResolver.class).resolve(...)
.Session.resolveVersionRange
(ArtifactCoordinates artifact, List<RemoteRepository> repositories) Expands a version range to a list of matching versions, in ascending order.Session.withRemoteRepositories
(List<RemoteRepository> repositories) Creates a derived session using the given remote repositories. -
Uses of RemoteRepository in org.apache.maven.api.services
Modifier and TypeMethodDescriptionRepositoryFactory.createRemote
(String id, String url) RepositoryFactory.createRemote
(Repository repository) ArtifactDeployerRequest.getRepository()
Modifier and TypeMethodDescriptionRepositoryFactory.aggregate
(Session session, List<RemoteRepository> dominant, List<RemoteRepository> recessive, boolean processRecessive) ProjectManager.getRemotePluginRepositories
(Project project) Returns an immutable list of project remote plugin repositories (directly specified or inherited).ProjectManager.getRemoteProjectRepositories
(Project project) Returns an immutable list of project remote repositories (directly specified or inherited).ArtifactResolverRequest.getRepositories()
DependencyResolverRequest.getRepositories()
ModelBuilderRequest.getRepositories()
ProjectBuilderRequest.getRepositories()
VersionRangeResolverRequest.getRepositories()
VersionResolverRequest.getRepositories()
Modifier and TypeMethodDescriptionstatic ArtifactDeployerRequest
ArtifactDeployerRequest.build
(Session session, RemoteRepository repository, Collection<ProducedArtifact> artifacts) default void
ArtifactDeployer.deploy
(Session session, RemoteRepository repository, Collection<ProducedArtifact> artifacts) LocalRepositoryManager.getPathForRemoteArtifact
(Session session, LocalRepository local, RemoteRepository remote, Artifact artifact) Gets the relative path for an artifact cached from a remote repository.ArtifactDeployerRequest.ArtifactDeployerRequestBuilder.repository
(RemoteRepository repository) TransportProvider.transport
(Session session, RemoteRepository repository) Provides newTransport
instance for givenRemoteRepository
, if possible.Modifier and TypeMethodDescriptionRepositoryFactory.aggregate
(Session session, List<RemoteRepository> dominant, List<RemoteRepository> recessive, boolean processRecessive) static ArtifactResolverRequest
ArtifactResolverRequest.build
(Session session, Collection<? extends ArtifactCoordinates> coordinates, List<RemoteRepository> repositories) static VersionRangeResolverRequest
VersionRangeResolverRequest.build
(Session session, ArtifactCoordinates artifactCoordinates, List<RemoteRepository> repositories) static VersionResolverRequest
VersionResolverRequest.build
(Session session, ArtifactCoordinates artifactCoordinates, List<RemoteRepository> repositories) ArtifactResolverRequest.ArtifactResolverRequestBuilder.repositories
(List<RemoteRepository> repositories) DependencyResolverRequest.DependencyResolverRequestBuilder.repositories
(List<RemoteRepository> repositories) ModelBuilderRequest.ModelBuilderRequestBuilder.repositories
(List<RemoteRepository> repositories) ProjectBuilderRequest.ProjectBuilderRequestBuilder.repositories
(List<RemoteRepository> repositories) VersionRangeResolverRequest.VersionResolverRequestBuilder.repositories
(List<RemoteRepository> repositories) VersionResolverRequest.VersionResolverRequestBuilder.repositories
(List<RemoteRepository> repositories) default ArtifactResolverResult
ArtifactResolver.resolve
(Session session, Collection<? extends ArtifactCoordinates> coordinates, List<RemoteRepository> repositories) Resolves several artifacts from their coordinates.default VersionRangeResolverResult
VersionRangeResolver.resolve
(Session session, ArtifactCoordinates artifactCoordinates, List<RemoteRepository> repositories) Expands a version range to a list of matching versions, in ascending order. -
Uses of RemoteRepository in org.apache.maven.api.services.model
Modifier and TypeMethodDescriptionModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, String groupId, String artifactId, String version, String classifier, Consumer<String> resolvedVersion) default ModelSource
ModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, Dependency dependency, AtomicReference<Dependency> modified) Tries to resolve the POM for the specified dependency coordinates possibly updatingdependency
.default ModelSource
ModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, Parent parent, AtomicReference<Parent> modified) Tries to resolve the POM for the specified parent coordinates possibly updatingparent
. -
Uses of RemoteRepository in org.apache.maven.internal.impl
Modifier and TypeFieldDescriptionprotected final List<RemoteRepository>
AbstractSession.repositories
Modifier and TypeMethodDescriptionDefaultRepositoryFactory.createRemote
(String id, String url) DefaultRepositoryFactory.createRemote
(Repository repository) AbstractSession.createRemoteRepository
(String id, String url) Shortcut forgetService(RepositoryFactory.class).createRemote(...)
AbstractSession.createRemoteRepository
(Repository repository) Shortcut forgetService(RepositoryFactory.class).createRemote(...)
AbstractSession.getRemoteRepository
(org.eclipse.aether.repository.RemoteRepository repository) InternalSession.getRemoteRepository
(org.eclipse.aether.repository.RemoteRepository repository) Modifier and TypeMethodDescriptionDefaultRepositoryFactory.aggregate
(Session session, List<RemoteRepository> dominant, List<RemoteRepository> recessive, boolean processRecessive) DefaultProjectManager.getRemotePluginRepositories
(Project project) DefaultProjectManager.getRemoteProjectRepositories
(Project project) AbstractSession.getRemoteRepositories()
DefaultNode.getRemoteRepositories()
DefaultNode.getRepository()
Modifier and TypeMethodDescriptionvoid
AbstractSession.deployArtifact
(RemoteRepository repository, ProducedArtifact... artifacts) Shortcut forgetService(ArtifactDeployer.class).deploy(...)
AbstractSession.getPathForRemoteArtifact
(RemoteRepository remote, Artifact artifact) DefaultLocalRepositoryManager.getPathForRemoteArtifact
(Session session, LocalRepository local, RemoteRepository remote, Artifact artifact) DefaultSession.toArtifactRepository
(RemoteRepository repository) InternalMavenSession.toArtifactRepository
(RemoteRepository repository) org.eclipse.aether.repository.RemoteRepository
AbstractSession.toRepository
(RemoteRepository repository) org.eclipse.aether.repository.RemoteRepository
InternalSession.toRepository
(RemoteRepository repository) DefaultTransportProvider.transport
(Session session, RemoteRepository repository) Modifier and TypeMethodDescriptionDefaultRepositoryFactory.aggregate
(Session session, List<RemoteRepository> dominant, List<RemoteRepository> recessive, boolean processRecessive) protected abstract Session
AbstractSession.newSession
(org.eclipse.aether.RepositorySystemSession session, List<RemoteRepository> repositories) protected Session
DefaultSession.newSession
(MavenSession mavenSession, List<RemoteRepository> repositories) protected Session
DefaultSession.newSession
(org.eclipse.aether.RepositorySystemSession repoSession, List<RemoteRepository> repositories) AbstractSession.resolveArtifact
(ArtifactCoordinates coordinates, List<RemoteRepository> repositories) Shortcut forgetService(ArtifactResolver.class).resolve(...)
AbstractSession.resolveArtifact
(Artifact artifact, List<RemoteRepository> repositories) Shortcut forgetService(ArtifactResolver.class).resolve(...)
AbstractSession.resolveArtifacts
(Collection<? extends ArtifactCoordinates> coordinates, List<RemoteRepository> repositories) Shortcut forgetService(ArtifactResolver.class).resolve(...)
AbstractSession.resolveVersionRange
(ArtifactCoordinates artifact, List<RemoteRepository> repositories) DefaultSession.toArtifactRepositories
(List<RemoteRepository> repositories) InternalMavenSession.toArtifactRepositories
(List<RemoteRepository> repositories) List<org.eclipse.aether.repository.RemoteRepository>
AbstractSession.toRepositories
(List<RemoteRepository> repositories) List<org.eclipse.aether.repository.RemoteRepository>
InternalSession.toRepositories
(List<RemoteRepository> repositories) AbstractSession.withRemoteRepositories
(List<RemoteRepository> repositories) ModifierConstructorDescriptionAbstractSession
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.RepositorySystem repositorySystem, List<RemoteRepository> repositories, List<org.eclipse.aether.repository.RemoteRepository> resolverRepositories, Lookup lookup) DefaultSession
(MavenSession session, org.eclipse.aether.RepositorySystem repositorySystem, List<RemoteRepository> remoteRepositories, MavenRepositorySystem mavenRepositorySystem, Lookup lookup, RuntimeInformation runtimeInformation) -
Uses of RemoteRepository in org.apache.maven.internal.impl.resolver
Modifier and TypeMethodDescriptionprotected Path
DefaultModelResolver.getPath
(Session session, List<RemoteRepository> repositories, String groupId, String artifactId, String version, String classifier) DefaultModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, String groupId, String artifactId, String version, String type, String classifier, InputLocation location, Consumer<String> resolvedVersion) DefaultModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, String groupId, String artifactId, String version, String classifier, Consumer<String> resolvedVersion) DefaultModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, Dependency dependency, AtomicReference<Dependency> modified) DefaultModelResolver.resolveModel
(Session session, List<RemoteRepository> repositories, Parent parent, AtomicReference<Parent> modified)