TomEE Maven Plugin provides a nice way to run "as in production" a server fully configured keeping the configuration in the project (easiness of sharing between team members). However for modern web development the fact to run the "exploded war" prevents to develop web resources in place. TomEE embedded maven plugin solves it directly allowing to directly deploy the war project in place using "classpath as war" option.

It also allows to use a flat classpath deployment which is often use with microservices.

tomee-embedded:run

Full name:

org.apache.tomee.maven:tomee-embedded-maven-plugin:7.0.0-M1:run

Description:

Run an Embedded TomEE.

Attributes:

Optional Parameters

Name Type Since Description
ajpPort int - (no description)
Default value is: 8009.
User property is: tomee-embedded-plugin.ajp.
applicationCopyFolder File - (no description)
Default value is: ${project.build.directory}/tomee-embedded/applications.
User property is: tomee-plugin.application-copy.
applicationScopes List - (no description)
applications List - (no description)
classpathAsWar boolean - (no description)
Default value is: false.
User property is: tomee-embedded-plugin.classpathAsWar.
clientAuth String - (no description)
User property is: tomee-embedded-plugin.clientAuth.
containerProperties Map - (no description)
context String - (no description)
User property is: tomee-embedded-plugin.context.
dir String - (no description)
Default value is: ${project.build.directory}/apache-tomee-embedded.
User property is: tomee-embedded-plugin.lib.
docBase File - (no description)
Default value is: ${project.basedir}/src/main/webapp.
User property is: tomee-embedded-plugin.docBase.
forceJspDevelopment boolean - force webapp to be reloadable
Default value is: true.
User property is: tomee-plugin.jsp-development.
host String - (no description)
Default value is: localhost.
User property is: tomee-embedded-plugin.host.
httpPort int - (no description)
Default value is: 8080.
User property is: tomee-embedded-plugin.http.
httpsPort int - (no description)
Default value is: 8443.
User property is: tomee-embedded-plugin.httpsPort.
inlinedServerXml PlexusConfiguration - (no description)
inlinedTomEEXml PlexusConfiguration - (no description)
keepServerXmlAsThis boolean - (no description)
Default value is: false.
User property is: tomee-embedded-plugin.keepServerXmlAsThis.
keyAlias String - (no description)
User property is: tomee-embedded-plugin.keyAlias.
keystoreFile String - (no description)
User property is: tomee-embedded-plugin.keystoreFile.
keystorePass String - (no description)
User property is: tomee-embedded-plugin.keystorePass.
keystoreType String - (no description)
Default value is: JKS.
User property is: tomee-embedded-plugin.keystoreType.
mavenLog boolean - (no description)
Default value is: true.
User property is: tomee-embedded-plugin.mavenLog.
modules List - (no description)
Default value is: ${project.build.outputDirectory}.
User property is: tomee-embedded-plugin.modules.
packaging String - (no description)
Default value is: ${project.packaging}.
quickSession boolean - (no description)
Default value is: true.
User property is: tomee-embedded-plugin.quickSession.
roles Map - (no description)
serverXml File - (no description)
skipCurrentProject boolean - (no description)
Default value is: false.
User property is: tomee-plugin.skip-current-project.
skipHttp boolean - (no description)
Default value is: false.
User property is: tomee-embedded-plugin.skipHttp.
ssl boolean - (no description)
Default value is: false.
User property is: tomee-embedded-plugin.ssl.
sslProtocol String - (no description)
User property is: tomee-embedded-plugin.sslProtocol.
stopPort int - (no description)
Default value is: 8005.
User property is: tomee-embedded-plugin.stop.
useProjectClasspath boolean - (no description)
Default value is: true.
User property is: tomee-embedded-plugin.useProjectClasspath.
users Map - (no description)
warFile File - (no description)
Default value is: ${project.build.directory}/${project.build.finalName}.
webResourceCached boolean - (no description)
Default value is: true.
User property is: tomee-embedded-plugin.webResourceCached.
withEjbRemote boolean - (no description)
Default value is: false.
User property is: tomee-embedded-plugin.withEjbRemote.
workDir File - (no description)
Default value is: ${project.build.directory}/tomee-embedded-work.
User property is: tomee-plugin.work.

Parameter Details

ajpPort:

(no description)

applicationCopyFolder:

(no description)

applicationScopes:

(no description)

applications:

(no description)

classpathAsWar:

(no description)

clientAuth:

(no description)

containerProperties:

(no description)

context:

(no description)

dir:

(no description)

docBase:

(no description)

forceJspDevelopment:

force webapp to be reloadable

host:

(no description)

httpPort:

(no description)

httpsPort:

(no description)

inlinedServerXml:

(no description)

inlinedTomEEXml:

(no description)

keepServerXmlAsThis:

(no description)

keyAlias:

(no description)

keystoreFile:

(no description)

keystorePass:

(no description)

keystoreType:

(no description)

mavenLog:

(no description)

modules:

(no description)

packaging:

(no description)

quickSession:

(no description)

roles:

(no description)

serverXml:

(no description)

skipCurrentProject:

(no description)

skipHttp:

(no description)

ssl:

(no description)

sslProtocol:

(no description)

stopPort:

(no description)

useProjectClasspath:

(no description)

users:

(no description)

warFile:

(no description)

webResourceCached:

(no description)

withEjbRemote:

(no description)

workDir:

(no description)