Full name:
org.glassfish:maven-embedded-glassfish-plugin:3.1:run
Description:
Attributes:
pre-integration-test.| Name | Type | Since | Description |
|---|---|---|---|
| localRepository | ArtifactRepository |
- |
This is automatically injected by the Maven framework. |
| Name | Type | Since | Description |
|---|---|---|---|
| app | String |
- |
Location of the application to be deployed.
Location could be a Java EE file archive or a directory. |
| artifacts | List |
- |
This is automatically injected by the Maven framework. Default value is: ${plugin.artifacts}. |
| autoDelete | Boolean |
- |
Specify whether the temporary file system created by Embedded
GlassFish should be deleted when Maven exits.
Embedded GlassFish creates the temporary file system under
java.io.tmpdir unless a different directory is specified with
glassfish.embedded.tmpdir system property. Default value is: true. |
| baseDirectory | String |
- |
Base directory of the maven project. Automatically injected by
Maven framework. |
| bootstrapProperties | List |
- |
Specify the set of properties required to bootstrap
GlassFishRuntime. For example:
<bootstrapProperties>
<property>GlassFish_Platform=felix</property>
</bootstrapProperties>
|
| bootstrapPropertiesFile | File |
- |
Specify the location of the properties file which has the
properties required to bootstrap GlassFishRuntime. For example:
<bootstrapPropertiesFile>bootstrap.properties</bootstrapPropertiesFile>
where bootstrap.properties is a file containing the bootstrap
properties. |
| buildDirectory | String |
- |
Build directory of the maven project. Automatically injected by
Maven framework. |
| configFile | String |
- |
Location of custom configuration file (i.e., location of custom
domain.xml). |
| configFileReadOnly | Boolean |
- |
Specify whether the custom configuration file or config/domain.xml
at the specified instance root is operated read only or not. Default value is: true. |
| containerType | String |
- |
Deprecated. This is a deprecated and unused configuration. Likely to be removed
in the next version of the plugin. Default value is: all. |
| contextRoot | String |
- |
Note : <deploymentParams> configuration can be used
instead of this.
Context root of the web application. |
| createTables | Boolean |
- |
Note : <deploymentParams> configuration can be used
instead of this.
Specify whether the tables should be created during
deployment. |
| dbVendorName | String |
- |
Note : <deploymentParams> configuration can be used
instead of this.
Name of the database vendor. |
| deploymentParams | String[] |
- |
Deployment parameters to be used while deploying the application to
Embedded GlassFish.
The deployment parameters are same as how they would be passed
to 'asadmin deploy' command while using standalone GlassFish.
For example:
<deploymentParams>
<param>--contextroot=greetings</param>
<param>--name=test</param>*
<param>--createtables=true</param>
<param>--force=true</param>
<param>--precompilejsp=true</param>
</deploymentParams>
|
| fileName | String |
- |
Name of the file to be deployed to Embedded GlassFish.
Use app configuration instead of this. |
| glassfishProperties | List |
- |
Specify the set of properties required to create a new Embedded
GlassFish.
For example:
<glassfishProperties>
<property>embedded-glassfish-config.server.jms-service.jms-host.default_JMS_host.port=17676</property>
</glassfishProperties>
|
| glassfishPropertiesFile | File |
- |
Specify the location of the properties file which has the
properties required to create a new GlassFish. For example:
<glassfishPropertiesFile>glassfish.properties</glassfishPropertiesFile>
where glassfish.properties is a file containing the GlassFish
properties. |
| installRoot | String |
- |
Location of valid GlassFish installation. |
| instanceRoot | String |
- |
Location of valid GlassFish domain. |
| libraries | String |
- |
Note : <deploymentParams> configuration can be used
instead of this.
A comma-separated list of library JAR files. |
| name | String |
- |
Note : <deploymentParams> configuration can be used
instead of this.
Name of the application. Default value is: myapp. |
| port | int |
- |
Note : Using <ports> configuration is preferred over
this configuration.
Specify the HTTP port number.
For example: <port>8080</port>
This setting is ignored when configFile option is used.
Default value is: -1. |
| ports | Map |
- |
Specify the port numbers for the network listeners.
Built-in domain.xml has HTTP and HTTPS network listeners by
names http-listener and https-listener respectively. That allows
you to configure the ports like this:
<ports>
<http-listener>8080</http-listener>
<https-listener>8181</http-listener>
</ports>
If you are using custom domain.xml, you can either configure
the ports directy in your domain.xml or configure using this
configuration parameter by correctly specifying port numbers for
the the names of the network-listener element of your domain.xml. |
| precompileJsp | Boolean |
- |
Note : <deploymentParams> configuration can be used
instead of this.
Specify whether the JSPs should be precompiled during
deployment. |
| remoteRepositories | List |
- |
The remote repositories where artifacts are located. This is
automatically injected by the Maven framework. |
| serverID | String |
- |
Identifier of the Embedded GlassFish server. Default value is: maven. |
| systemProperties | List |
- |
Specify the system properties. For example:
<systemProperties>
<property>com.sun.aas.imqLib=${env.S1AS_HOME}/../mq/lib</property>
<property>com.sun.aas.imqBin=${env.S1AS_HOME}/../mq/bin</property>
</systemProperties>
|
| systemPropertiesFile | File |
- |
Specify the location of the properties file which has the system
properties.
For example:
<systemPropertiesFile>/tmp/system.properties</systemPropertiesFile> |
| undeploymentParams | String[] |
- |
Undeployment parameters to be used while undeploying the
application from Embedded GlassFish.
The undeployment parameters are same as how they would be
passed to 'asadmin undeploy' command while using standalone
GlassFish.
For example:
<undeploymentParams>
<param>--droptables=true</param>
</undeploymentParams>
|
app:
java.lang.StringNo${app}java.util.ListNo${plugin.artifacts}java.lang.BooleanNo${autoDelete}truejava.lang.StringNo${basedir}
<bootstrapProperties>
<property>GlassFish_Platform=felix</property>
</bootstrapProperties>
java.util.ListNojava.io.FileNojava.lang.StringNo${project.build.directory}java.lang.StringNo${configFile}java.lang.BooleanNo${configFileReadOnly}truejava.lang.StringNo${containerType}alljava.lang.StringNo${contextRoot}java.lang.BooleanNo${createTables}java.lang.StringNo${dbVendorName}
<deploymentParams>
<param>--contextroot=greetings</param>
<param>--name=test</param>*
<param>--createtables=true</param>
<param>--force=true</param>
<param>--precompilejsp=true</param>
</deploymentParams>
java.lang.String[]No${deploymentParams}java.lang.StringNo${project.build.finalName}
<glassfishProperties>
<property>embedded-glassfish-config.server.jms-service.jms-host.default_JMS_host.port=17676</property>
</glassfishProperties>
java.util.ListNojava.io.FileNojava.lang.StringNo${installRoot}java.lang.StringNo${instanceRoot}java.lang.StringNo${libraries}org.apache.maven.artifact.repository.ArtifactRepositoryYes${localRepository}name:
java.lang.StringNo${name}myappport:
intNo${port}-1
<ports>
<http-listener>8080</http-listener>
<https-listener>8181</http-listener>
</ports>
If you are using custom domain.xml, you can either configure
the ports directy in your domain.xml or configure using this
configuration parameter by correctly specifying port numbers for
the the names of the network-listener element of your domain.xml.java.util.MapNojava.lang.BooleanNo${precompileJsp}java.util.ListNo${project.remoteArtifactRepositories}java.lang.StringNo${serverID}maven
<systemProperties>
<property>com.sun.aas.imqLib=${env.S1AS_HOME}/../mq/lib</property>
<property>com.sun.aas.imqBin=${env.S1AS_HOME}/../mq/bin</property>
</systemProperties>
java.util.ListNojava.io.FileNo
<undeploymentParams>
<param>--droptables=true</param>
</undeploymentParams>
java.lang.String[]No${undeploymentParams}