Uses of Class
org.apache.maven.api.model.Repository
-
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.