public interface VcsMavenPomAccessor
VcsWorkingCopyManager
must implement NoContextVcsWorkingCopyManager
Modifier and Type | Method and Description |
---|---|
default @NotNull File |
findPomFileInWorkingCopy(VcsWorkingCopy checkoutDirectory,
String mavenPath)
Look for maven in the current directory or throw exception if not found.
|
@NotNull String |
getMavenScmProviderKey()
Return Maven's SCM provider key for this repository type.
|
default @Nullable VcsBranch |
parseMavenScmUrlToVcsBranch(@NotNull String mavenScmUrl,
@Nullable VcsRepositoryData existingData)
Parse and setup internal structures from Maven's SCM URL provider specific part.
|
Map<String,String> |
parseMavenScmUrlToVcsLocation(@NotNull String mavenScmUrl,
@Nullable VcsRepositoryData existingData)
Parse and setup internal structures from Maven's SCM URL provider specific part.
|
static final String POM_XML
@NotNull @NotNull String getMavenScmProviderKey()
Map<String,String> parseMavenScmUrlToVcsLocation(@NotNull @NotNull String mavenScmUrl, @Nullable @Nullable VcsRepositoryData existingData) throws IllegalArgumentException
mavenScmUrl
- Provider specific part of Maven SCM URLIllegalArgumentException
- When SCM URL string cannot be parsed@Nullable default @Nullable VcsBranch parseMavenScmUrlToVcsBranch(@NotNull @NotNull String mavenScmUrl, @Nullable @Nullable VcsRepositoryData existingData) throws IllegalArgumentException
mavenScmUrl
- Provider specific part of Maven SCM URLIllegalArgumentException
- When SCM URL string cannot be parsed@NotNull default @NotNull File findPomFileInWorkingCopy(VcsWorkingCopy checkoutDirectory, String mavenPath) throws RepositoryException
checkoutDirectory
- mavenPath
- RepositoryException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.