public interface ScmRepositoryConfigurator
Modifier and Type | Method and Description |
---|---|
org.apache.maven.scm.repository.ScmRepository |
getConfiguredRepository(ReleaseDescriptor releaseDescriptor,
org.apache.maven.settings.Settings settings)
Construct a configured SCM repository from a release configuration.
|
org.apache.maven.scm.repository.ScmRepository |
getConfiguredRepository(String url,
ReleaseDescriptor releaseDescriptor,
org.apache.maven.settings.Settings settings)
Construct a configured SCM repository from a release configuration with an overridden base SCM URL.
|
org.apache.maven.scm.provider.ScmProvider |
getRepositoryProvider(org.apache.maven.scm.repository.ScmRepository repository)
Get the SCM provider used for the given SCM repository.
|
org.apache.maven.scm.repository.ScmRepository getConfiguredRepository(ReleaseDescriptor releaseDescriptor, org.apache.maven.settings.Settings settings) throws org.apache.maven.scm.repository.ScmRepositoryException, org.apache.maven.scm.manager.NoSuchScmProviderException
releaseDescriptor
- the configuration to insert into the repositorysettings
- the settings.xml configuraitonorg.apache.maven.scm.repository.ScmRepositoryException
- if it is not possible to create a suitable
SCM repositoryorg.apache.maven.scm.manager.NoSuchScmProviderException
- if the requested SCM provider is not availableorg.apache.maven.scm.provider.ScmProvider getRepositoryProvider(org.apache.maven.scm.repository.ScmRepository repository) throws org.apache.maven.scm.manager.NoSuchScmProviderException
repository
- the SCM repositoryorg.apache.maven.scm.manager.NoSuchScmProviderException
- if the requested SCM provider is not availableorg.apache.maven.scm.repository.ScmRepository getConfiguredRepository(String url, ReleaseDescriptor releaseDescriptor, org.apache.maven.settings.Settings settings) throws org.apache.maven.scm.repository.ScmRepositoryException, org.apache.maven.scm.manager.NoSuchScmProviderException
url
- the SCM URL to use instead of the one from the release descriptorreleaseDescriptor
- the configuration to insert into the repositorysettings
- the settings.xml configuraitonorg.apache.maven.scm.repository.ScmRepositoryException
- if it is not possible to create a suitable
SCM repositoryorg.apache.maven.scm.manager.NoSuchScmProviderException
- if the requested SCM provider is not availableCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.