net.wasdev.wlp.maven.plugins.applications
Class DeployAppMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.pluginsupport.MojoSupport
          extended by net.wasdev.wlp.maven.plugins.AbstractLibertySupport
              extended by net.wasdev.wlp.maven.plugins.BasicSupport
                  extended by net.wasdev.wlp.maven.plugins.applications.DeployAppMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class DeployAppMojo
extends BasicSupport

Deploy application to liberty server


Nested Class Summary
 
Nested classes/interfaces inherited from class net.wasdev.wlp.maven.plugins.BasicSupport
BasicSupport.InstallType
 
Field Summary
protected  File appArchive
          A file which points to a specific module's war | ear | eba | zip archive location
protected  org.codehaus.mojo.pluginsupport.util.ArtifactItem appArtifact
          Maven coordinates of an application to deploy.
protected  int timeout
          Timeout to verify deploy successfully, in seconds.
 
Fields inherited from class net.wasdev.wlp.maven.plugins.BasicSupport
assemblyArchive, assemblyArtifact, assemblyInstallDirectory, installDirectory, installType, isInstall, messages, outputDirectory, refresh, serverDirectory, serverName, START_APP_MESSAGE_REGEXP, userDirectory
 
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
DeployAppMojo()
           
 
Method Summary
protected  void doExecute()
           
 
Methods inherited from class net.wasdev.wlp.maven.plugins.BasicSupport
checkServerDirectoryExists, checkServerHomeExists, init, installServerAssembly
 
Methods inherited from class net.wasdev.wlp.maven.plugins.AbstractLibertySupport
getArtifactRepository, getProject
 
Methods inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
contextualize, createArtifact, 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

appArchive

protected File appArchive
A file which points to a specific module's war | ear | eba | zip archive location


appArtifact

protected org.codehaus.mojo.pluginsupport.util.ArtifactItem appArtifact
Maven coordinates of an application to deploy. This is best listed as a dependency, in which case the version can be omitted.


timeout

protected int timeout
Timeout to verify deploy successfully, in seconds.

Constructor Detail

DeployAppMojo

public DeployAppMojo()
Method Detail

doExecute

protected void doExecute()
                  throws Exception
Overrides:
doExecute in class org.codehaus.mojo.pluginsupport.MojoSupport
Throws:
Exception


Copyright © 2014. All Rights Reserved.