org.codehaus.mojo.jboss
Class HardUnDeployMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.jboss.AbstractJBossServerMojo
org.codehaus.mojo.jboss.HardUnDeployMojo
- All Implemented Interfaces:
- ContextEnabled, 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 interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
execute()
Main plugin execution. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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}
HardUnDeployMojo
public HardUnDeployMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Main plugin execution.
- Throws:
MojoExecutionException
MojoFailureException
Copyright © 2005-2010 Codehaus. All Rights Reserved.