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

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.UndeployAppMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class UndeployAppMojo
extends BasicSupport

Undeploy application from liberty server


Nested Class Summary
 
Nested classes/interfaces inherited from class net.wasdev.wlp.maven.plugins.BasicSupport
BasicSupport.InstallType
 
Field Summary
protected  String appArchive
          A file name which points to a specific module's jar | war | ear | eba | zip archive.
protected  org.codehaus.mojo.pluginsupport.util.ArtifactItem appArtifact
          Maven coordinates of an application to undeploy.
protected  int timeout
          Timeout to verify undeploy 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
UndeployAppMojo()
           
 
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 String appArchive
A file name which points to a specific module's jar | war | ear | eba | zip archive.


appArtifact

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


timeout

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

Constructor Detail

UndeployAppMojo

public UndeployAppMojo()
Method Detail

doExecute

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


Copyright © 2014. All Rights Reserved.