org.codehaus.mojo.jboss
Class ConfigureJBossMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jboss.AbstractJBossServerMojo
          extended by org.codehaus.mojo.jboss.ConfigureJBossMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ConfigureJBossMojo
extends AbstractJBossServerMojo

Allows you to configure JBoss installation by overlaying a conf, lib and deploy directory.

Is defined by the goal name:
configure

Field Summary
protected  String javaOpts
           
protected  String options
          The set of options to pass to the JBoss "run" command.
protected  File outputDirectory
           
 
Fields inherited from class org.codehaus.mojo.jboss.AbstractJBossServerMojo
jbossHome, serverName
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ConfigureJBossMojo()
           
 
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

outputDirectory

protected File outputDirectory
Is defined by:
default-value:
${project.build.directory}/jboss

javaOpts

protected String javaOpts
Is defined by:
expression:
${jboss.javaOpts}

options

protected String options
The set of options to pass to the JBoss "run" command.

Is defined by:
expression:
${jboss.options}
Constructor Detail

ConfigureJBossMojo

public ConfigureJBossMojo()
Method Detail

execute

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

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2005-2012 Codehaus. All Rights Reserved.