TomEE Embedded Maven Plugin
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:8.0.0-M3:run
Description:
-
Run an Embedded TomEE.
Attributes:
-
Requires a Maven project to be executed.
-
Requires dependency resolution of artifacts in scope: runtime+system.
-
Requires dependency collection of artifacts in scope: runtime.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
int |
- |
(no description) |
|
File |
- |
(no description) |
|
List |
- |
(no description) |
|
List |
- |
(no description) |
|
boolean |
- |
(no description) |
|
String |
- |
(no description) |
|
Map |
- |
(no description) |
|
String |
- |
(no description) |
|
String |
- |
(no description) |
|
File |
- |
(no description) |
|
boolean |
- |
force webapp to be reloadable. |
|
String |
- |
(no description) |
|
int |
- |
(no description) |
|
int |
- |
(no description) |
|
PlexusConfiguration |
- |
(no description) |
|
PlexusConfiguration |
- |
(no description) |
|
boolean |
- |
(no description) |
|
String |
- |
(no description) |
|
String |
- |
(no description) |
|
String |
- |
(no description) |
|
String |
- |
(no description) |
|
boolean |
- |
(no description) |
|
List |
- |
(no description) |
|
String |
- |
(no description) |
|
boolean |
- |
(no description) |
|
Map |
- |
(no description) |
|
File |
- |
(no description) |
|
boolean |
- |
(no description) |
|
boolean |
- |
(no description) |
|
boolean |
- |
(no description) |
|
String |
- |
(no description) |
|
int |
- |
(no description) |
|
boolean |
- |
(no description) |
|
Map |
- |
(no description) |
|
File |
- |
(no description) |
|
boolean |
- |
(no description) |
|
boolean |
- |
(no description) |
|
File |
- |
(no description) |
Parameter Details
-
Type: int
-
Required: No
-
User Property:
tomee-embedded-plugin.ajp
-
Default:
8009
-
Type: java.io.File
-
Required: No
-
User Property:
tomee-plugin.application-copy
-
Default:
${project.build.directory}/tomee-embedded/applications
-
Type: java.util.List
-
Required: No
-
Type: java.util.List
-
Required: No
-
Type: boolean
-
Required: No
-
User Property:
tomee-embedded-plugin.classpathAsWar
-
Default:
false
-
Type: java.lang.String
-
Required: No
-
User Property:
tomee-embedded-plugin.clientAuth
-
Type: java.util.Map
-
Required: No
-
Type: java.lang.String
-
Required: No
-
User Property:
tomee-embedded-plugin.context
-
Type: java.lang.String
-
Required: No
-
User Property:
tomee-embedded-plugin.lib
-
Default:
${project.build.directory}/apache-tomee-embedded
-
Type: java.io.File
-
Required: No
-
User Property:
tomee-embedded-plugin.docBase
-
Default:
${project.basedir}/src/main/webapp
-
Type: boolean
-
Required: No
-
User Property:
tomee-plugin.jsp-development
-
Default:
true
-
Type: java.lang.String
-
Required: No
-
User Property:
tomee-embedded-plugin.host
-
Default:
localhost
-
Type: int
-
Required: No
-
User Property:
tomee-embedded-plugin.http
-
Default:
8080
-
Type: int
-
Required: No
-
User Property:
tomee-embedded-plugin.httpsPort
-
Default:
8443
-
Type: org.codehaus.plexus.configuration.PlexusConfiguration
-
Required: No
-
Type: org.codehaus.plexus.configuration.PlexusConfiguration
-
Required: No
-
Type: boolean
-
Required: No
-
User Property:
tomee-embedded-plugin.keepServerXmlAsThis
-
Default:
false
-
Type: java.lang.String
-
Required: No
-
User Property:
tomee-embedded-plugin.keyAlias
-
Type: java.lang.String
-
Required: No
-
User Property:
tomee-embedded-plugin.keystoreFile
-
Type: java.lang.String
-
Required: No
-
User Property:
tomee-embedded-plugin.keystorePass
-
Type: java.lang.String
-
Required: No
-
User Property:
tomee-embedded-plugin.keystoreType
-
Default:
JKS
-
Type: boolean
-
Required: No
-
User Property:
tomee-embedded-plugin.mavenLog
-
Default:
true
-
Type: java.util.List
-
Required: No
-
User Property:
tomee-embedded-plugin.modules
-
Default:
${project.build.outputDirectory}
-
Type: java.lang.String
-
Required: No
-
Default:
${project.packaging}
-
Type: boolean
-
Required: No
-
User Property:
tomee-embedded-plugin.quickSession
-
Default:
true
-
Type: java.util.Map
-
Required: No
-
Type: java.io.File
-
Required: No
-
Type: boolean
-
Required: No
-
User Property:
tomee-plugin.skip-current-project
-
Default:
false
-
Type: boolean -Required: No
-
User Property:
tomee-embedded-plugin.skipHttp
-
Default:
false
-
Type: boolean
-
Required: No
-
User Property:
tomee-embedded-plugin.ssl
-
Default:
false
-
Type: java.lang.String
-
Required: No
-
User Property:
tomee-embedded-plugin.sslProtocol
-
Type: int
-
Required: No
-
User Property:
tomee-embedded-plugin.stop
-
Default:
8005
-
Type: boolean
-
Required: No
-
User Property:
tomee-embedded-plugin.useProjectClasspath
-
Default:
true
-
Type: java.util.Map
-
Required: No
-
Type: java.io.File
-
Required: No
-
Default:
${project.build.directory}/{project.build.finalName}
-
Type: boolean
-
Required: No
-
User Property:
tomee-embedded-plugin.webResourceCached
-
Default:
true
-
Type: boolean
-
Required: No
-
User Property:
tomee-embedded-plugin.withEjbRemote
-
Default:
false
-
Type: java.io.File
-
Required: No
-
User Property:
tomee-plugin.work
-
Default:
${project.build.directory}/tomee-embedded-work