Uses of Class
org.apache.maven.api.model.Repository
Package
Description
Maven Core API
Maven Immutable POM (Project Object Model) classes, generated from
maven.mdo
model.Maven Resolver extensions for utilizing the Maven POM and Maven
repository metadata.
-
Uses of Repository in org.apache.maven.api
Modifier and TypeMethodDescriptionSession.createRemoteRepository
(Repository repository) Shortcut forgetService(RepositoryFactory.class).createRemote(...)
. -
Uses of Repository in org.apache.maven.api.model
Modifier and TypeClassDescriptionclass
Deployment repository contains the information needed for deploying to the remote repository, which adds uniqueVersion property to usual repositories for download.Modifier and TypeMethodDescriptionRepository.Builder.build()
static Repository
Repository.newInstance()
Creates a newRepository
instance.static Repository
Repository.newInstance
(boolean withDefaults) Creates a newRepository
instance using default values or not.Creates a newRepository
instance using the specified id.Repository.withLayout
(String layout) Creates a newRepository
instance using the specified layout.Creates a newRepository
instance using the specified name.Repository.withReleases
(RepositoryPolicy releases) Creates a newRepository
instance using the specified releases.Repository.withSnapshots
(RepositoryPolicy snapshots) Creates a newRepository
instance using the specified snapshots.Creates a newRepository
instance using the specified url.Modifier and TypeMethodDescriptionModelBase.getPluginRepositories()
The lists of the remote repositories for discovering plugins for builds and reports.ModelBase.getRepositories()
The lists of the remote repositories for discovering dependencies and extensions.Modifier and TypeMethodDescriptionstatic Repository.Builder
Repository.newBuilder
(Repository from) Creates a newRepository
builder instance using the specified object as a basis.static Repository.Builder
Repository.newBuilder
(Repository from, boolean forceCopy) Creates a newRepository
builder instance using the specified object as a basis.Modifier and TypeMethodDescriptionModel.Builder.pluginRepositories
(Collection<Repository> pluginRepositories) ModelBase.Builder.pluginRepositories
(Collection<Repository> pluginRepositories) Profile.Builder.pluginRepositories
(Collection<Repository> pluginRepositories) Model.Builder.repositories
(Collection<Repository> repositories) ModelBase.Builder.repositories
(Collection<Repository> repositories) Profile.Builder.repositories
(Collection<Repository> repositories) Model.withPluginRepositories
(Collection<Repository> pluginRepositories) Creates a newModel
instance using the specified pluginRepositories.ModelBase.withPluginRepositories
(Collection<Repository> pluginRepositories) Creates a newModelBase
instance using the specified pluginRepositories.Profile.withPluginRepositories
(Collection<Repository> pluginRepositories) Creates a newProfile
instance using the specified pluginRepositories.Model.withRepositories
(Collection<Repository> repositories) Creates a newModel
instance using the specified repositories.ModelBase.withRepositories
(Collection<Repository> repositories) Creates a newModelBase
instance using the specified repositories.Profile.withRepositories
(Collection<Repository> repositories) Creates a newProfile
instance using the specified repositories. -
Uses of Repository in org.apache.maven.api.services
-
Uses of Repository in org.apache.maven.internal.impl
Modifier and TypeMethodDescriptionDefaultRepositoryFactory.createRemote
(Repository repository) AbstractSession.createRemoteRepository
(Repository repository) Shortcut forgetService(RepositoryFactory.class).createRemote(...)
-
Uses of Repository in org.apache.maven.internal.impl.model
Modifier and TypeMethodDescriptionvoid
DefaultModelBuilder.ModelBuilderSessionState.mergeRepositories
(List<Repository> toAdd, boolean replace) -
Uses of Repository in org.apache.maven.internal.impl.resolver
Modifier and TypeMethodDescriptionstatic org.eclipse.aether.repository.RemoteRepository
ArtifactDescriptorUtils.toRemoteRepository
(Repository repository) -
Uses of Repository in org.apache.maven.model
Modifier and TypeMethodDescriptionstatic List<Repository>
Repository.repositoryToApiV4
(List<Repository> list) Modifier and TypeMethodDescriptionstatic List<Repository>
Repository.repositoryToApiV3
(List<Repository> list) ModifierConstructorDescriptionRepository
(Repository delegate) Repository
(Repository delegate, BaseObject parent) -
Uses of Repository in org.apache.maven.model.resolution
Modifier and TypeMethodDescriptionInvalidRepositoryException.getRepository()
Deprecated.Gets the repository that causes this error (if any).Modifier and TypeMethodDescriptiondefault void
ModelResolver.addRepository
(Repository repository) Deprecated.default void
ModelResolver.addRepository
(Repository repository, boolean replace) Deprecated.ModifierConstructorDescriptionInvalidRepositoryException
(String message, Repository repository) Deprecated.Creates a new exception with specified detail message for the given repository.InvalidRepositoryException
(String message, Repository repository, Throwable cause) Deprecated.Creates a new exception with specified detail message and cause for the given repository. -
Uses of Repository in org.apache.maven.model.v4
Modifier and TypeMethodDescriptionprotected Repository
MavenMerger.mergeRepository
(Repository target, Repository source, boolean sourceDominant, Map<Object, Object> context) protected Repository
MavenTransformer.transformRepository
(Repository target) Modifier and TypeMethodDescriptionprotected MavenMerger.KeyComputer<Repository>
MavenMerger.getRepositoryKey()
Modifier and TypeMethodDescriptionprotected void
MavenMerger.mergeRepository
(Repository.Builder builder, Repository target, Repository source, boolean sourceDominant, Map<Object, Object> context) protected Repository
MavenMerger.mergeRepository
(Repository target, Repository source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeRepository_Id
(Repository.Builder builder, Repository target, Repository source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeRepository_Layout
(Repository.Builder builder, Repository target, Repository source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeRepository_Name
(Repository.Builder builder, Repository target, Repository source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeRepository_Releases
(Repository.Builder builder, Repository target, Repository source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeRepository_Snapshots
(Repository.Builder builder, Repository target, Repository source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeRepository_Url
(Repository.Builder builder, Repository target, Repository source, boolean sourceDominant, Map<Object, Object> context) protected Repository
MavenTransformer.transformRepository
(Repository target) protected Repository.Builder
MavenTransformer.transformRepository_Id
(Supplier<? extends Repository.Builder> creator, Repository.Builder builder, Repository target) protected Repository.Builder
MavenTransformer.transformRepository_Layout
(Supplier<? extends Repository.Builder> creator, Repository.Builder builder, Repository target) protected Repository.Builder
MavenTransformer.transformRepository_Name
(Supplier<? extends Repository.Builder> creator, Repository.Builder builder, Repository target) protected Repository.Builder
MavenTransformer.transformRepository_Releases
(Supplier<? extends Repository.Builder> creator, Repository.Builder builder, Repository target) protected Repository.Builder
MavenTransformer.transformRepository_Snapshots
(Supplier<? extends Repository.Builder> creator, Repository.Builder builder, Repository target) protected Repository.Builder
MavenTransformer.transformRepository_Url
(Supplier<? extends Repository.Builder> creator, Repository.Builder builder, Repository target) -
Uses of Repository in org.apache.maven.project
Modifier and TypeMethodDescriptionvoid
ProjectModelResolver.addRepository
(Repository repository) void
ProjectModelResolver.addRepository
(Repository repository, boolean replace)