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, getMavenPomCheckoutAccessEditHtml
public 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()
MavenPomAccessor
public void parseMavenScmUrl(@NotNull String mavenScmUrl) throws IllegalArgumentException
MavenPomAccessor
mavenScmUrl
- Provider specific part of Maven SCM URLIllegalArgumentException
- When SCM URL string cannot be parsed@NotNull public File checkoutMavenPom(@NotNull File destinationPath) throws RepositoryException
MavenPomAccessor
destinationPath
- Checkout destinationRepositoryException
- In case of repository access problemsCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.