@Mojo(name="test",
defaultPhase=TEST,
threadSafe=true,
requiresDependencyResolution=TEST)
public class GolangTestMojo
extends AbstractGoPackageAndDependencyAwareMojo
buildFlagsToIgnore, GOARTIFACT_PACKAGING, NAME_PATTERN, settings, tempBuildFlags| Constructor and Description |
|---|
GolangTestMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getDefaultPackages() |
String |
getGoCommand() |
String[] |
getOptionalExtraTailArguments() |
String[] |
getTestFlags() |
boolean |
isEnforcePrintOutput() |
boolean |
isIgnoreErrorExitCode() |
boolean |
isSkip() |
boolean |
isSourceFolderRequired() |
getCommandFlags, getPackages, getTailArguments, setPackagesdoInit, getDependencyTempFolder, getSpecialPartOfGoPath, isIncludeTestDependencies, isScanDependencies, setDependencyTempFolder, setIncludeTestDependencies, setScanDependenciesadaptExecNameForOS, addTmpBuildFlagIfNotPresented, afterExecution, beforeExecution, doesNeedOneMoreAttempt, doMainBusiness, execute, findExisting, findGoPath, findGoRoot, findGoRootBootstrap, getArch, getArtifactResolver, getBuildFlags, getConnectionTimeout, getEnv, getErrLogFile, getExec, getExecSubpath, getExecution, getExtraBuildFlags, getGoBin, getGoPath, getGoRoot, getGoRootBootstrap, getGoVersion, getOs, getOSXVersion, getOutLogFile, getProject, getProxy, getRemoteRepositories, getReportsFolder, getSdkArchiveName, getSdkDownloadUrl, getSdkSite, getSession, getSources, getStoreFolder, getSupposeSdkArchiveFileName, getTarget386, getTargetArch, getTargetArm, getTargetOS, getUseGoTool, initConsoleBuffers, isCheckSdkHash, isCommandSupportVerbose, isDisableSdkLoad, isDisableSslCheck, isEnforceGoPathToEnd, isFilterEnvPath, isHideBanner, isKeepSdkArchive, isKeepUnarchFolderIfError, isMojoMustNotBeExecuted, isUseEnvVars, isUseMavenProxy, isVerbose, logOptionally, makeExecutableFileSubpath, makePathFromExtraGoPathElements, prepareExecutor, printLogs, processConsoleOut, registerEnvVars, registerOutputBuffers, setDisableSslCheckpublic boolean isSkip()
isSkip in class AbstractGolangMojo@Nullable @MustNotContainNull protected String[] getDefaultPackages()
getDefaultPackages in class AbstractGoPackageAndDependencyAwareMojopublic boolean isIgnoreErrorExitCode()
isIgnoreErrorExitCode in class AbstractGolangMojopublic boolean isSourceFolderRequired()
isSourceFolderRequired in class AbstractGolangMojo@Nonnull @MustNotContainNull public String[] getOptionalExtraTailArguments()
getOptionalExtraTailArguments in class AbstractGolangMojo@Nonnull public String getGoCommand()
getGoCommand in class AbstractGolangMojopublic boolean isEnforcePrintOutput()
isEnforcePrintOutput in class AbstractGolangMojoCopyright © 2016–2019 Igor Maznitsa. All rights reserved.