Package org.jboss.jca.validator.maven
Class ValidatorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jboss.jca.validator.maven.ValidatorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="validate",
defaultPhase=VALIDATE)
public class ValidatorMojo
extends org.apache.maven.plugin.AbstractMojo
A ValidatorMojo.
- Version:
- $Revision: $
- Author:
- Jeff Zhang
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()ExecuteString[]Get the classpath.Get the output directory.Get the rarFile.voidsetClasspath(String[] classpath) Set the classpath.voidsetOutputDir(String outputDir) Set the output directory.voidsetRarFile(File rarFile) Set the rarFile.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ValidatorMojo
public ValidatorMojo()Constructor
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionExecute- Throws:
org.apache.maven.plugin.MojoExecutionException- Thrown if the plugin cant be executedorg.apache.maven.plugin.MojoFailureException- Thrown if there is an error
-
getOutputDir
Get the output directory.- Returns:
- the outputDir.
-
setOutputDir
Set the output directory.- Parameters:
outputDir- The outputDir to set.
-
getRarFile
Get the rarFile.- Returns:
- the rarFile.
-
setRarFile
Set the rarFile.- Parameters:
rarFile- The rarFile to set.
-
setClasspath
Set the classpath.- Parameters:
classpath- The classpath to set.
-
getClasspath
Get the classpath.- Returns:
- the classpath.
-