@Mojo(name="fmt",
defaultPhase=PROCESS_SOURCES,
threadSafe=true,
requiresDependencyResolution=NONE)
public class GolangFmtMojo
extends AbstractGoPackageAwareMojo
buildFlagsToIgnore, GOARTIFACT_PACKAGING, NAME_PATTERN, settings, tempBuildFlags| Constructor and Description |
|---|
GolangFmtMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getDefaultPackages() |
String |
getGoCommand() |
boolean |
isEnforcePrintOutput() |
boolean |
isSourceFolderRequired() |
getCommandFlags, getPackages, getTailArguments, setPackagesadaptExecNameForOS, addTmpBuildFlagIfNotPresented, afterExecution, beforeExecution, doesNeedOneMoreAttempt, doInit, 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, getSpecialPartOfGoPath, getStoreFolder, getSupposeSdkArchiveFileName, getTarget386, getTargetArch, getTargetArm, getTargetOS, getUseGoTool, initConsoleBuffers, isCheckSdkHash, isCommandSupportVerbose, isDisableSdkLoad, isDisableSslCheck, isEnforceGoPathToEnd, isFilterEnvPath, isHideBanner, isIgnoreErrorExitCode, isKeepSdkArchive, isKeepUnarchFolderIfError, isMojoMustNotBeExecuted, isSkip, isUseEnvVars, isUseMavenProxy, isVerbose, logOptionally, makeExecutableFileSubpath, makePathFromExtraGoPathElements, prepareExecutor, printLogs, processConsoleOut, registerEnvVars, registerOutputBuffers, setDisableSslCheck@Nonnull public String getGoCommand()
getGoCommand in class AbstractGolangMojo@Nullable @MustNotContainNull protected String[] getDefaultPackages()
getDefaultPackages in class AbstractGoPackageAwareMojopublic boolean isSourceFolderRequired()
isSourceFolderRequired in class AbstractGolangMojopublic boolean isEnforcePrintOutput()
isEnforcePrintOutput in class AbstractGolangMojoCopyright © 2016–2019 Igor Maznitsa. All rights reserved.