com.atlassian.bamboo.repository.cvsimpl
Class CvsRepositoryMavenPomAccessor
java.lang.Object
com.atlassian.bamboo.repository.MavenPomAccessorAbstract<CVSRepository>
com.atlassian.bamboo.repository.cvsimpl.CvsRepositoryMavenPomAccessor
- All Implemented Interfaces:
- MavenPomAccessor
public class CvsRepositoryMavenPomAccessor
- extends MavenPomAccessorAbstract<CVSRepository>
Method Summary |
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)
Parsing of CVS SCM Url as described in http://maven.apache.org/scm/cvs.html
Format of CVS Url: [username_password_servername_port]path_to_repositorymodule_name
'method' could be one of:
- ext, connecting to a server using an external rsh program
- local, connecting to the local file system
- lserver, connecting to a local server
- pserver, connecting to a password-authenticating server
- sspi, secure authentication
- sserver, SSL connection method for CVS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CvsRepositoryMavenPomAccessor
public CvsRepositoryMavenPomAccessor(@NotNull
CVSRepository repository)
getMavenScmProviderKey
@NotNull
public 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
String mavenScmUrl)
throws IllegalArgumentException
- Parsing of CVS SCM Url as described in http://maven.apache.org/scm/cvs.html
Format of CVS Url: [username_password_servername_port]path_to_repositorymodule_name
'method' could be one of:
- ext, connecting to a server using an external rsh program
- local, connecting to the local file system
- lserver, connecting to a local server
- pserver, connecting to a password-authenticating server
- sspi, secure authentication
- sserver, SSL connection method for CVS
- Parameters:
mavenScmUrl
- CVS Url is formatted [username_password_servername_port]path_to_repositorymodule_name
- Throws:
IllegalArgumentException
- When SCM URL string cannot be parsed
checkoutMavenPom
@NotNull
public File checkoutMavenPom(@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
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.