|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.pluginsupport.MojoSupport
net.wasdev.wlp.maven.plugins.AbstractLibertySupport
net.wasdev.wlp.maven.plugins.BasicSupport
public class BasicSupport
Basic Liberty Mojo Support
| Nested Class Summary | |
|---|---|
protected static class |
BasicSupport.InstallType
|
| Field Summary | |
|---|---|
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 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 static String |
START_APP_MESSAGE_REGEXP
|
protected File |
userDirectory
Liberty user directory (WLP_USER_DIR). |
| Fields inherited from class net.wasdev.wlp.maven.plugins.AbstractLibertySupport |
|---|
ant, artifactRepository, project |
| Fields inherited from class org.codehaus.mojo.pluginsupport.MojoSupport |
|---|
container, log |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
BasicSupport()
|
|
| Method Summary | |
|---|---|
protected void |
checkServerDirectoryExists()
|
protected void |
checkServerHomeExists()
|
protected void |
init()
|
protected void |
installServerAssembly()
Performs assembly installation unless the install type is pre-existing. |
| Methods inherited from class net.wasdev.wlp.maven.plugins.AbstractLibertySupport |
|---|
getArtifactRepository, getProject |
| Methods inherited from class org.codehaus.mojo.pluginsupport.MojoSupport |
|---|
contextualize, createArtifact, doExecute, execute, getArtifact, getArtifactFactory, getArtifactResolver, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, resolveArtifact, resolveArtifact |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String START_APP_MESSAGE_REGEXP
protected static final ResourceBundle messages
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
| Constructor Detail |
|---|
public BasicSupport()
| Method Detail |
|---|
protected void init()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
init in class AbstractLibertySupportorg.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void checkServerHomeExists()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void checkServerDirectoryExists()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void installServerAssembly()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||