public class WrapperExecutor extends Object
Installer
to get a Maven distribution ready, followed by
BootstrapMainStarter
to launch the Maven bootstrap.Modifier and Type | Field and Description |
---|---|
static String |
DISTRIBUTION_BASE_PROPERTY |
static String |
DISTRIBUTION_PATH_PROPERTY |
static String |
DISTRIBUTION_URL_PROPERTY |
static String |
ZIP_STORE_BASE_PROPERTY |
static String |
ZIP_STORE_PATH_PROPERTY |
Modifier and Type | Method and Description |
---|---|
void |
execute(String[] args,
Installer install,
BootstrapMainStarter bootstrapMainStarter) |
static WrapperExecutor |
forProjectDirectory(Path projectDir) |
static WrapperExecutor |
forWrapperPropertiesFile(Path propertiesFile) |
WrapperConfiguration |
getConfiguration()
Returns the configuration for this wrapper.
|
URI |
getDistribution()
Returns the Maven distribution which this wrapper will use.
|
public static final String DISTRIBUTION_URL_PROPERTY
public static final String DISTRIBUTION_BASE_PROPERTY
public static final String ZIP_STORE_BASE_PROPERTY
public static final String DISTRIBUTION_PATH_PROPERTY
public static final String ZIP_STORE_PATH_PROPERTY
public static WrapperExecutor forProjectDirectory(Path projectDir)
public static WrapperExecutor forWrapperPropertiesFile(Path propertiesFile)
public URI getDistribution()
public WrapperConfiguration getConfiguration()
public void execute(String[] args, Installer install, BootstrapMainStarter bootstrapMainStarter) throws Exception
Exception
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.