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 RepositoryRepository.newInstance()Creates a newRepositoryinstance.static RepositoryRepository.newInstance(boolean withDefaults) Creates a newRepositoryinstance using default values or not.Creates a newRepositoryinstance using the specified id.Repository.withLayout(String layout) Creates a newRepositoryinstance using the specified layout.Creates a newRepositoryinstance using the specified name.Repository.withReleases(RepositoryPolicy releases) Creates a newRepositoryinstance using the specified releases.Repository.withSnapshots(RepositoryPolicy snapshots) Creates a newRepositoryinstance using the specified snapshots.Creates a newRepositoryinstance 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.BuilderRepository.newBuilder(Repository from) Creates a newRepositorybuilder instance using the specified object as a basis.static Repository.BuilderRepository.newBuilder(Repository from, boolean forceCopy) Creates a newRepositorybuilder 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 newProfileinstance using the specified pluginRepositories.Settings.withPluginRepositories(Collection<Repository> pluginRepositories) Creates a newSettingsinstance using the specified pluginRepositories.Profile.withRepositories(Collection<Repository> repositories) Creates a newProfileinstance using the specified repositories.Settings.withRepositories(Collection<Repository> repositories) Creates a newSettingsinstance using the specified repositories.Constructors in org.apache.maven.api.settings with parameters of type Repository