public class TomEEEmbeddedMojo
extends AbstractMojo
Modifier and Type | Class and Description |
---|---|
static interface |
TomEEEmbeddedMojo.Command
A potential command identified by a name.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
classpathAsWar
Deploy the classpath as a webapp (instead of deploying a war).
|
protected java.lang.String |
clientAuth
For https connector if client auth is activated.
|
protected java.lang.String |
conf
Conf classpath folder.
|
protected java.util.Map<java.lang.String,java.lang.String> |
containerProperties
TomEE properties.
|
protected java.lang.String |
context
Context name.
|
protected java.lang.String |
dir
Temporary working directory.
|
protected java.io.File |
docBase
Where is docBase/web resources.
|
protected boolean |
forceReloadable
Support for reload command (ie redeploy the webapp by undeploying/deploying).
|
protected java.util.List<java.lang.String> |
groovyCustomizers
A list of groovy scripts executed before the container starts.
|
protected java.lang.String |
host
Server host.
|
protected int |
httpPort
HTTP port.
|
protected int |
httpsPort
HTTPS port if relevant.
|
protected PlexusConfiguration |
inlinedServerXml
serverl.xml content directly in the pom.xml.
|
protected PlexusConfiguration |
inlinedTomEEXml
tomee.xml directly in the pom.xml.
|
protected java.util.List<java.lang.String> |
jsCustomizers
A list of js scripts executed before the container starts.
|
protected java.lang.String |
keyAlias
For https connector the keystore alias to use.
|
protected java.lang.String |
keystoreFile
For https connector the keystore location.
|
protected java.lang.String |
keystorePass
For https connector the keystore password.
|
protected java.lang.String |
keystoreType
For https connector the keystore type.
|
protected java.util.List<java.io.File> |
modules
Additional modules.
|
protected java.lang.String |
packaging |
protected boolean |
quickSession
Should we use a fast but unsecured session id generation implementation.
|
protected java.io.File |
serverXml
Where is the server.xml to use if provided.
|
protected boolean |
singleClassLoader
Avoid to create multiple classloaders and use root one for the application.
|
protected boolean |
skipHttp
Should we skip http connector (and rely only on other connectors if setup).
|
protected boolean |
ssl
Is https activated.
|
protected java.lang.String |
sslProtocol
For https connector the SSL protocol.
|
protected int |
stopPort
Shutdown port.
|
protected boolean |
useProjectClasspath
Use pom dependencies when classpathAsWar=true.
|
protected java.io.File |
warFile
When not in classpath mode which war to deploy.
|
protected boolean |
webResourceCached
Used to deactivate tomcat web resources caching (useful to get F5 working).
|
protected java.util.List<java.io.File> |
webResources
Additional web resources (directories).
|
protected boolean |
withEjbRemote
Is 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
MojoExecutionException
MojoFailureException
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) throws OpenEJBException, javax.naming.NamingException, java.io.IOException
OpenEJBException
javax.naming.NamingException
java.io.IOException