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