Uses of Class
org.apache.maven.api.settings.Repository
Packages that use Repository
Package
Description
Contains classes for managing Maven settings, including global and user-specific
configuration stored in settings.xml files.
-
Uses of Repository in org.apache.maven.api.settings
Methods in org.apache.maven.api.settings that return RepositoryModifier 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.Methods in org.apache.maven.api.settings that return types with arguments of type RepositoryModifier and TypeMethodDescriptionProfile.getPluginRepositories()
The lists of the remote repositories for discovering plugins.Settings.getPluginRepositories()
The lists of the remote repositories for discovering plugins.Profile.getRepositories()
The lists of the remote repositories.Settings.getRepositories()
The lists of the remote repositories.Methods in org.apache.maven.api.settings with parameters of type RepositoryModifier 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.Method parameters in org.apache.maven.api.settings with type arguments of type RepositoryModifier and TypeMethodDescriptionProfile.Builder.pluginRepositories
(Collection<Repository> pluginRepositories) Settings.Builder.pluginRepositories
(Collection<Repository> pluginRepositories) Profile.Builder.repositories
(Collection<Repository> repositories) Settings.Builder.repositories
(Collection<Repository> repositories) Profile.withPluginRepositories
(Collection<Repository> pluginRepositories) Creates a newProfile
instance using the specified pluginRepositories.Settings.withPluginRepositories
(Collection<Repository> pluginRepositories) Creates a newSettings
instance using the specified pluginRepositories.Profile.withRepositories
(Collection<Repository> repositories) Creates a newProfile
instance using the specified repositories.Settings.withRepositories
(Collection<Repository> repositories) Creates a newSettings
instance using the specified repositories.Constructors in org.apache.maven.api.settings with parameters of type Repository