public class BasicSupport extends AbstractLibertySupport
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BasicSupport.InstallType |
| Modifier and Type | Field and Description |
|---|---|
protected File |
assemblyArchive
A file which points to a specific assembly ZIP archive.
|
protected org.codehaus.mojo.pluginsupport.util.ArtifactItem |
assemblyArtifact
Maven coordinates of a server assembly.
|
protected File |
assemblyInstallDirectory
Server Install Directory
|
protected Install |
install
Liberty install option.
|
protected File |
installDirectory
Installation directory of Liberty profile.
|
protected BasicSupport.InstallType |
installType |
protected boolean |
isInstall
Set the false to skip the installation of the assembly, re-using anything
that is already there.
|
protected static ResourceBundle |
messages |
protected File |
outputDirectory
Liberty output directory (WLP_OUTPUT_DIR).
|
protected boolean |
refresh
Enable forced install refresh.
|
protected File |
serverDirectory
Server Directory: ${installDirectory}/usr/servers/${serverName}/
|
protected String |
serverName
Liberty server name, default is defaultServer
|
protected boolean |
skip
Skips the specific goal
|
protected static String |
START_APP_MESSAGE_REGEXP |
protected File |
userDirectory
Liberty user directory (WLP_USER_DIR).
|
ant, artifactRepository, project, settings| Constructor and Description |
|---|
BasicSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkServerDirectoryExists() |
protected void |
checkServerHomeExists() |
protected void |
init() |
protected void |
installFromArchive() |
protected void |
installFromFile() |
protected void |
installServerAssembly()
Performs assembly installation unless the install type is pre-existing.
|
getArtifactRepository, getProjectcontextualize, createArtifact, doExecute, execute, getArtifact, getArtifactFactory, getArtifactResolver, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, resolveArtifact, resolveArtifactprotected static final String START_APP_MESSAGE_REGEXP
protected static final ResourceBundle messages
protected boolean skip
protected boolean refresh
protected boolean isInstall
protected File assemblyInstallDirectory
protected File installDirectory
protected String serverName
protected File userDirectory
protected File outputDirectory
protected File serverDirectory
protected BasicSupport.InstallType installType
protected File assemblyArchive
protected org.codehaus.mojo.pluginsupport.util.ArtifactItem assemblyArtifact
protected Install install
protected void init()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
init in class AbstractLibertySupportorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void checkServerHomeExists()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void checkServerDirectoryExists()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void installServerAssembly()
throws Exception
ExceptionCopyright © 2016 the original author or authors.