public class GitMavenPomAccessor extends MavenPomAccessorAbstract<GitRepository>
| Modifier | Constructor and Description |
|---|---|
protected |
GitMavenPomAccessor(GitRepository repository,
SshProxyService sshProxyService,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
String gitCapability,
TrustedKeyHelper trustedKeyHelper) |
| Modifier and Type | Method and Description |
|---|---|
File |
checkoutMavenPom(File destinationPath)
Checkout Maven POM and return File pointing to the project file
|
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.
|
addDefaultValues, getMavenPomCheckoutAccessEditHtmlpublic static final String POM_XML
protected GitMavenPomAccessor(GitRepository repository, @NotNull SshProxyService sshProxyService, @NotNull com.atlassian.sal.api.message.I18nResolver i18nResolver, @Nullable String gitCapability, TrustedKeyHelper trustedKeyHelper)
@NotNull public String getMavenScmProviderKey()
MavenPomAccessorpublic void parseMavenScmUrl(@NotNull
String mavenScmUrl)
throws IllegalArgumentException
MavenPomAccessormavenScmUrl - Provider specific part of Maven SCM URLIllegalArgumentException - When SCM URL string cannot be parsed@NotNull public File checkoutMavenPom(@NotNull File destinationPath) throws RepositoryException
MavenPomAccessordestinationPath - Checkout destinationRepositoryException - In case of repository access problemsCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.