public class HgMavenPomAccessor extends MavenPomAccessorAbstract<HgRepository>
| Modifier and Type | Field and Description |
|---|---|
static String |
POM_XML |
repository| Modifier | Constructor and Description |
|---|---|
protected |
HgMavenPomAccessor(HgRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
Allows setting default values in build configuration for the repository to be added into a plan.
|
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.
|
getMavenPomCheckoutAccessEditHtmlpublic static final String POM_XML
protected HgMavenPomAccessor(@NotNull
HgRepository repository)
@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 problemspublic void addDefaultValues(@NotNull
BuildConfiguration buildConfiguration)
MavenPomAccessorConvertibleFromConfig.populateFromConfig(HierarchicalConfiguration)addDefaultValues in interface MavenPomAccessoraddDefaultValues in class MavenPomAccessorAbstract<HgRepository>buildConfiguration - build configurationCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.