public interface MavenPomAccessor
Modifier and Type | Method and Description |
---|---|
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 problems@Nullable String getMavenPomCheckoutAccessEditHtml(@NotNull BuildConfiguration buildConfiguration)
buildConfiguration
- BuildConfiguration objectCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.