@Component(role=org.apache.maven.wagon.Wagon.class, hint="github", instantiationStrategy="per-lookup") public class GitHubPagesWagon extends AbstractGitWagon
Constructor and Description |
---|
GitHubPagesWagon() |
Modifier and Type | Method and Description |
---|---|
GitUri |
buildGitUri(URI uri)
Builds a GitUri from a GitHub Pages URL.
|
File |
getFileForResource(String resourceName)
Does resolution a different way.
|
closeConnection, fillInputData, fillOutputData, getFileList, getGit, getGitUri, openConnectionInternal, putDirectory, resourceExists, supportsDirectoryCopy
checkInputStream, checkOutputStream, get, getIfNewer, getIfNewerToStream, getInputStream, getOutputStream, getToStream, put, putFromStream, putFromStream, putFromStream
addSessionListener, addTransferListener, cleanupGetTransfer, cleanupPutTransfer, connect, connect, connect, connect, connect, connect, createParentDirectories, disconnect, finishGetTransfer, finishPutTransfer, fireGetCompleted, fireGetInitiated, fireGetStarted, firePutCompleted, firePutInitiated, firePutStarted, fireSessionConnectionRefused, fireSessionDebug, fireSessionDisconnected, fireSessionDisconnecting, fireSessionError, fireSessionLoggedIn, fireSessionLoggedOff, fireSessionOpened, fireSessionOpening, fireTransferDebug, fireTransferError, fireTransferProgress, getAuthenticationInfo, getPath, getPermissionsOverride, getProxyInfo, getProxyInfo, getReadTimeout, getRepository, getSessionEventSupport, getTimeout, getTransfer, getTransfer, getTransfer, getTransfer, getTransfer, getTransfer, getTransferEventSupport, hasSessionListener, hasTransferListener, isInteractive, openConnection, postProcessListeners, putTransfer, putTransfer, removeSessionListener, removeTransferListener, setInteractive, setPermissionsOverride, setReadTimeout, setSessionEventSupport, setTimeout, setTransferEventSupport, transfer, transfer, transfer, transfer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSessionListener, addTransferListener, connect, connect, connect, connect, connect, connect, disconnect, getReadTimeout, getRepository, getTimeout, hasSessionListener, hasTransferListener, isInteractive, openConnection, removeSessionListener, removeTransferListener, setInteractive, setReadTimeout, setTimeout
public GitUri buildGitUri(URI uri) throws IOException, URISyntaxException
GITHUB_PAGES_HOST_PATTERN
.
Builds the wagon specific Git URI based on the repository URL. This is
made public rather than protected to allow testing of the method.buildGitUri
in class AbstractGitWagon
uri
- repository URLIOException
URISyntaxException
public File getFileForResource(String resourceName) throws org.eclipse.jgit.api.errors.GitAPIException, IOException, URISyntaxException
getFileForResource
in class AbstractGitWagon
resourceName
- resource nameorg.apache.maven.wagon.ResourceDoesNotExistException
org.eclipse.jgit.api.errors.GitAPIException
- problem with the GIT API.IOException
URISyntaxException
Copyright © 2012–2014 Trajano. All rights reserved.