@Mojo(name="get",
defaultPhase=INITIALIZE,
threadSafe=true,
requiresDependencyResolution=NONE)
public class GolangGetMojo
extends AbstractGoPackageAndDependencyAwareMojo
buildFlagsToIgnore, GOARTIFACT_PACKAGING, NAME_PATTERN, settings, tempBuildFlags| Constructor and Description |
|---|
GolangGetMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeExecution(ProxySettings proxySettings) |
protected boolean |
doesNeedOneMoreAttempt(org.zeroturnaround.exec.ProcessResult processResult,
String consoleOut,
String consoleErr) |
String |
getBranch() |
String[] |
getCustomCvsOptions() |
CustomScript |
getCustomScript() |
String |
getCvsExe() |
boolean |
getDeleteCommonPkg() |
String |
getExternalPackageFile() |
String |
getGoCommand() |
String[] |
getPackages() |
String |
getRelativePathToCvsFolder() |
String |
getRevision() |
String |
getTag() |
boolean |
isAutoFixGitCache() |
boolean |
isCommandSupportVerbose() |
boolean |
isDisableCvsAutosearch() |
boolean |
isEnforceDeletePackageFiles() |
boolean |
isEnforcePrintOutput() |
boolean |
isMojoMustNotBeExecuted() |
getCommandFlags, getDefaultPackages, getTailArguments, setPackagesdoInit, getDependencyTempFolder, getSpecialPartOfGoPath, isIncludeTestDependencies, isScanDependencies, setDependencyTempFolder, setIncludeTestDependencies, setScanDependenciesadaptExecNameForOS, addTmpBuildFlagIfNotPresented, afterExecution, doMainBusiness, execute, findExisting, findGoPath, findGoRoot, findGoRootBootstrap, getArch, getArtifactResolver, getBuildFlags, getConnectionTimeout, getEnv, getErrLogFile, getExec, getExecSubpath, getExecution, getExtraBuildFlags, getGoBin, getGoPath, getGoRoot, getGoRootBootstrap, getGoVersion, getOptionalExtraTailArguments, getOs, getOSXVersion, getOutLogFile, getProject, getProxy, getRemoteRepositories, getReportsFolder, getSdkArchiveName, getSdkDownloadUrl, getSdkSite, getSession, getSources, getStoreFolder, getSupposeSdkArchiveFileName, getTarget386, getTargetArch, getTargetArm, getTargetOS, getUseGoTool, initConsoleBuffers, isCheckSdkHash, isDisableSdkLoad, isDisableSslCheck, isEnforceGoPathToEnd, isFilterEnvPath, isHideBanner, isIgnoreErrorExitCode, isKeepSdkArchive, isKeepUnarchFolderIfError, isSkip, isSourceFolderRequired, isUseEnvVars, isUseMavenProxy, isVerbose, logOptionally, makeExecutableFileSubpath, makePathFromExtraGoPathElements, prepareExecutor, printLogs, processConsoleOut, registerEnvVars, registerOutputBuffers, setDisableSslCheck@Nonnull @MustNotContainNull public String[] getPackages()
getPackages in class AbstractGoPackageAndDependencyAwareMojo@Nullable public CustomScript getCustomScript()
public boolean isDisableCvsAutosearch()
public boolean getDeleteCommonPkg()
public boolean isAutoFixGitCache()
public boolean isEnforceDeletePackageFiles()
@Nonnull public String getGoCommand()
getGoCommand in class AbstractGolangMojopublic boolean isEnforcePrintOutput()
isEnforcePrintOutput in class AbstractGolangMojopublic boolean isMojoMustNotBeExecuted()
throws org.apache.maven.plugin.MojoFailureException
isMojoMustNotBeExecuted in class AbstractGolangMojoorg.apache.maven.plugin.MojoFailureExceptionpublic void beforeExecution(@Nullable ProxySettings proxySettings) throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
beforeExecution in class AbstractGolangMojoorg.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionpublic boolean isCommandSupportVerbose()
isCommandSupportVerbose in class AbstractGolangMojoprotected boolean doesNeedOneMoreAttempt(@Nonnull org.zeroturnaround.exec.ProcessResult processResult, @Nonnull String consoleOut, @Nonnull String consoleErr) throws IOException, org.apache.maven.plugin.MojoExecutionException
doesNeedOneMoreAttempt in class AbstractGolangMojoIOExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2016–2019 Igor Maznitsa. All rights reserved.