public interface MavenPomAccessor
Modifier and Type | Method and Description |
---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
Allows setting default values in build configuration for the repository to be added into a plan.
|
File |
checkoutMavenPom(File destinationPath)
Checkout Maven POM and return File pointing to the project file
|
String |
getMavenPomCheckoutAccessEditHtml(BuildConfiguration buildConfiguration)
Returns HTML for the Maven POM import configuration of the repository
|
String |
getMavenScmProviderKey()
Return Maven's SCM provider key for this repository type.
|
void |
parseMavenScmUrl(String mavenScmUrl)
Parse and setup internal structures from Maven's SCM URL provider specific part.
|
@NotNull String getMavenScmProviderKey()
void parseMavenScmUrl(@NotNull String mavenScmUrl) throws IllegalArgumentException
mavenScmUrl
- Provider specific part of Maven SCM URLIllegalArgumentException
- When SCM URL string cannot be parsed@NotNull File checkoutMavenPom(@NotNull File destinationPath) throws RepositoryException
destinationPath
- Checkout destinationRepositoryException
- In case of repository access problemsvoid addDefaultValues(@NotNull BuildConfiguration buildConfiguration)
ConvertibleFromConfig.populateFromConfig(HierarchicalConfiguration)
buildConfiguration
- build configuration@Nullable String getMavenPomCheckoutAccessEditHtml(@NotNull BuildConfiguration buildConfiguration)
buildConfiguration
- BuildConfiguration objectCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.