Class SvnRepositoryMavenPomAccessor

java.lang.Object
com.atlassian.bamboo.repository.MavenPomAccessorAbstract<SvnRepository>
com.atlassian.bamboo.repository.svn.SvnRepositoryMavenPomAccessor
All Implemented Interfaces:
MavenPomAccessor

public class SvnRepositoryMavenPomAccessor extends MavenPomAccessorAbstract<SvnRepository>
  • Constructor Details

    • SvnRepositoryMavenPomAccessor

      public SvnRepositoryMavenPomAccessor(@NotNull @NotNull SvnRepository repository)
  • Method Details

    • getMavenScmProviderKey

      @NotNull public @NotNull String getMavenScmProviderKey()
      Description copied from interface: MavenPomAccessor
      Return Maven's SCM provider key for this repository type.
      Returns:
      Maven's SCM provider key
    • parseMavenScmUrl

      public void parseMavenScmUrl(@NotNull @NotNull String mavenScmUrl) throws IllegalArgumentException
      Description copied from interface: MavenPomAccessor
      Parse and setup internal structures from Maven's SCM URL provider specific part. Maven SCM URL format is defined in http://maven.apache.org/scm/scm-url-format.html
      Parameters:
      mavenScmUrl - Provider specific part of Maven SCM URL
      Throws:
      IllegalArgumentException - When SCM URL string cannot be parsed
    • checkoutMavenPom

      @NotNull public @NotNull File checkoutMavenPom(@NotNull @NotNull File destinationPath) throws RepositoryException
      Description copied from interface: MavenPomAccessor
      Checkout Maven POM and return File pointing to the project file
      Parameters:
      destinationPath - Checkout destination
      Returns:
      File object referencing Maven project file
      Throws:
      RepositoryException - In case of repository access problems