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