public class TomEEEmbeddedMojo
extends AbstractMojo
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | TomEEEmbeddedMojo.CommandA potential command identified by a name. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | classpathAsWarDeploy the classpath as a webapp (instead of deploying a war). | 
| protected java.lang.String | clientAuthFor https connector if client auth is activated. | 
| protected java.lang.String | confConf classpath folder. | 
| protected java.util.Map<java.lang.String,java.lang.String> | containerPropertiesTomEE properties. | 
| protected java.lang.String | contextContext name. | 
| protected java.lang.String | dirTemporary working directory. | 
| protected java.io.File | docBaseWhere is docBase/web resources. | 
| protected boolean | forceReloadableSupport for reload command (ie redeploy the webapp by undeploying/deploying). | 
| protected java.util.List<java.lang.String> | groovyCustomizersA list of groovy scripts executed before the container starts. | 
| protected java.lang.String | hostServer host. | 
| protected int | httpPortHTTP port. | 
| protected int | httpsPortHTTPS port if relevant. | 
| protected PlexusConfiguration | inlinedServerXmlserverl.xml content directly in the pom.xml. | 
| protected PlexusConfiguration | inlinedTomEEXmltomee.xml directly in the pom.xml. | 
| protected java.util.List<java.lang.String> | jsCustomizersA list of js scripts executed before the container starts. | 
| protected java.lang.String | keyAliasFor https connector the keystore alias to use. | 
| protected java.lang.String | keystoreFileFor https connector the keystore location. | 
| protected java.lang.String | keystorePassFor https connector the keystore password. | 
| protected java.lang.String | keystoreTypeFor https connector the keystore type. | 
| protected java.util.List<java.io.File> | modulesAdditional modules. | 
| protected java.lang.String | packaging | 
| protected boolean | quickSessionShould we use a fast but unsecured session id generation implementation. | 
| protected java.io.File | serverXmlWhere is the server.xml to use if provided. | 
| protected boolean | singleClassLoaderAvoid to create multiple classloaders and use root one for the application. | 
| protected boolean | skipHttpShould we skip http connector (and rely only on other connectors if setup). | 
| protected boolean | sslIs https activated. | 
| protected java.lang.String | sslProtocolFor https connector the SSL protocol. | 
| protected int | stopPortShutdown port. | 
| protected boolean | useProjectClasspathUse pom dependencies when classpathAsWar=true. | 
| protected java.io.File | warFileWhen not in classpath mode which war to deploy. | 
| protected boolean | webResourceCachedUsed to deactivate tomcat web resources caching (useful to get F5 working). | 
| protected java.util.List<java.io.File> | webResourcesAdditional web resources (directories). | 
| protected boolean | withEjbRemoteIs EJBd activated. | 
| Constructor and Description | 
|---|
| TomEEEmbeddedMojo() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | execute() | 
| protected java.util.Scanner | newScanner() | 
| protected void | onMissingCommand(java.lang.String line) | 
| protected void | reload(java.lang.Thread thread,
      java.lang.ClassLoader loader,
      Container container) | 
protected java.lang.String packaging
protected java.io.File warFile
protected int httpPort
protected int httpsPort
protected int stopPort
protected java.lang.String host
protected java.lang.String dir
protected java.lang.String keystoreFile
protected java.lang.String keystorePass
protected java.lang.String keystoreType
protected java.lang.String clientAuth
protected java.lang.String keyAlias
protected java.lang.String sslProtocol
protected java.io.File serverXml
protected boolean ssl
protected boolean withEjbRemote
protected boolean quickSession
protected boolean skipHttp
protected boolean classpathAsWar
protected boolean useProjectClasspath
protected boolean webResourceCached
protected boolean singleClassLoader
protected boolean forceReloadable
protected java.util.List<java.io.File> modules
protected java.util.List<java.io.File> webResources
protected java.io.File docBase
protected java.lang.String context
protected java.lang.String conf
protected java.util.Map<java.lang.String,java.lang.String> containerProperties
protected PlexusConfiguration inlinedServerXml
protected PlexusConfiguration inlinedTomEEXml
protected java.util.List<java.lang.String> jsCustomizers
protected java.util.List<java.lang.String> groovyCustomizers
public void execute()
             throws MojoExecutionException,
                    MojoFailureException
MojoExecutionExceptionMojoFailureExceptionprotected java.util.Scanner newScanner()
protected void onMissingCommand(java.lang.String line)
protected void reload(java.lang.Thread thread,
                      java.lang.ClassLoader loader,
                      Container container)
               throws OpenEJBException,
                      javax.naming.NamingException,
                      java.io.IOException
OpenEJBExceptionjavax.naming.NamingExceptionjava.io.IOException