Uses of Class
org.apache.maven.api.settings.Repository
-
Uses of Repository in org.apache.maven.api.settings
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 TypeMethodDescriptionProfile.getPluginRepositories()
The lists of the remote repositories for discovering plugins.Profile.getRepositories()
The lists of the remote repositories.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 TypeMethodDescriptionProfile.Builder.pluginRepositories
(Collection<Repository> pluginRepositories) Profile.Builder.repositories
(Collection<Repository> repositories) Profile.withPluginRepositories
(Collection<Repository> pluginRepositories) Creates a newProfile
instance using the specified pluginRepositories.Profile.withRepositories
(Collection<Repository> repositories) Creates a newProfile
instance using the specified repositories.