public abstract class AbstractBaseMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
AbstractBaseMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProxyParameter(List<String> mojoParams,
String protocolName,
String appCfgParameterName,
String configurationParameter)
Adds a proxy parameter that are passed to the AppCfg options.
|
protected String |
getApplicationDirectory()
Determine the application directory.
|
protected String |
getSdkFile()
Determine the path to the SDK, either the specified in
sdkRootDir Parameter or the downloaded and
extracted one based on plugin version or sdkVersion. |
protected org.apache.maven.settings.Server |
getServerFromSettings(String serverId)
Get a server configuration from the settings.xml file for the given serverId.
|
getLog, getPluginContext, setLog, setPluginContextprotected final String getSdkFile() throws org.apache.maven.plugin.MojoExecutionException
sdkRootDir Parameter or the downloaded and
extracted one based on plugin version or sdkVersion.org.apache.maven.plugin.MojoExecutionException - if anyprotected final String getApplicationDirectory()
protected final void addProxyParameter(List<String> mojoParams, String protocolName, String appCfgParameterName, String configurationParameter)
mojoParams - parameter collection to add the proxy parameterprotocolName - name of the protocolappCfgParameterName - name of the AppCfg parameterconfigurationParameter - plugin configuration parameter@Nullable protected final org.apache.maven.settings.Server getServerFromSettings(@Nonnull String serverId)
serverId - Id for the server configuration settingCopyright © 2013 None. All Rights Reserved.