org.codehaus.mojo.jboss
Class HardUnDeployMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jboss.AbstractJBossServerMojo
          extended by org.codehaus.mojo.jboss.HardUnDeployMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
HardUndeployMojoDeprecated

public class HardUnDeployMojo
extends AbstractJBossServerMojo

Delete file form $JBOSS_HOME/server/[serverName]/deploy directory.

Since:
1.4
Author:
Bartek 'Koziolek' Kuczynski
Is defined by the goal name:
hard-undeploy

Field Summary
protected  File fileName
          The name of the file or directory to undeploy.
protected  File[] fileNames
          The names of the files or directories to undeploy.
 
Fields inherited from class org.codehaus.mojo.jboss.AbstractJBossServerMojo
jbossHome, serverName
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
HardUnDeployMojo()
           
 
Method Summary
 void execute()
          Main plugin execution.
 
Methods inherited from class org.codehaus.mojo.jboss.AbstractJBossServerMojo
checkConfig, getPassword, getUsername, launch, launchUnixScript, launchWindowsBatch
 
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

fileNames

protected File[] fileNames
The names of the files or directories to undeploy. If this is set, the fileName parameter will be ignored.

Since:
1.4.1
Is defined by:

fileName

protected File fileName
The name of the file or directory to undeploy.

Is defined by:
default-value:
${project.build.directory}/${project.build.finalName}.${project.packaging}
Constructor Detail

HardUnDeployMojo

public HardUnDeployMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Main plugin execution.

Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2005-2012 Codehaus. All Rights Reserved.