@Mojo(name="mvninstall",
defaultPhase=INSTALL,
threadSafe=true,
requiresDependencyResolution=COMPILE)
public class GolangMvnInstallMojo
extends AbstractGoDependencyAwareMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.shared.transfer.artifact.install.ArtifactInstaller |
installer |
static String |
MVNGOLANG_DEPENDENCIES_FILE
Special file contains list of mvn-golang artifacts which must be resolved
and used in build.
|
protected org.apache.maven.project.MavenProjectHelper |
projectHelper |
protected org.apache.maven.shared.transfer.repository.RepositoryManager |
repositoryManager |
buildFlagsToIgnore, GOARTIFACT_PACKAGING, NAME_PATTERN, settings, tempBuildFlags| Constructor and Description |
|---|
GolangMvnInstallMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doMainBusiness(ProxySettings proxySettings,
int maxAttempts) |
int |
getCompression() |
boolean |
isSkip() |
void |
setCompression(int level) |
doInit, getDependencyTempFolder, getSpecialPartOfGoPath, isIncludeTestDependencies, isScanDependencies, setDependencyTempFolder, setIncludeTestDependencies, setScanDependenciesadaptExecNameForOS, addTmpBuildFlagIfNotPresented, afterExecution, beforeExecution, doesNeedOneMoreAttempt, execute, findExisting, findGoPath, findGoRoot, findGoRootBootstrap, getArch, getArtifactResolver, getBuildFlags, getCommandFlags, getConnectionTimeout, getEnv, getErrLogFile, getExec, getExecSubpath, getExecution, getExtraBuildFlags, getGoBin, getGoCommand, getGoPath, getGoRoot, getGoRootBootstrap, getGoVersion, getOptionalExtraTailArguments, getOs, getOSXVersion, getOutLogFile, getProject, getProxy, getRemoteRepositories, getReportsFolder, getSdkArchiveName, getSdkDownloadUrl, getSdkSite, getSession, getSources, getStoreFolder, getSupposeSdkArchiveFileName, getTailArguments, getTarget386, getTargetArch, getTargetArm, getTargetOS, getUseGoTool, initConsoleBuffers, isCheckSdkHash, isCommandSupportVerbose, isDisableSdkLoad, isDisableSslCheck, isEnforceGoPathToEnd, isEnforcePrintOutput, isFilterEnvPath, isHideBanner, isIgnoreErrorExitCode, isKeepSdkArchive, isKeepUnarchFolderIfError, isMojoMustNotBeExecuted, isSourceFolderRequired, isUseEnvVars, isUseMavenProxy, isVerbose, logOptionally, makeExecutableFileSubpath, makePathFromExtraGoPathElements, prepareExecutor, printLogs, processConsoleOut, registerEnvVars, registerOutputBuffers, setDisableSslCheckpublic static final String MVNGOLANG_DEPENDENCIES_FILE
@Component protected org.apache.maven.shared.transfer.repository.RepositoryManager repositoryManager
@Component protected org.apache.maven.shared.transfer.artifact.install.ArtifactInstaller installer
@Component protected org.apache.maven.project.MavenProjectHelper projectHelper
public void setCompression(int level)
public int getCompression()
public boolean isSkip()
isSkip in class AbstractGolangMojoprotected boolean doMainBusiness(@Nonnull ProxySettings proxySettings, int maxAttempts) throws InterruptedException, org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException, IOException
doMainBusiness in class AbstractGolangMojoInterruptedExceptionorg.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionIOExceptionCopyright © 2016–2019 Igor Maznitsa. All rights reserved.