...
| Description | Mandatory? | Default value | ||
---|---|---|---|---|---|
List of Configuration files that are to be added to a local container's configuration. Each file is specified using a | No default | ||||
List of files that are to be added to a local container's configuration. Each file is specified using a | No default | ||||
| For standalone configuration this is the location where Cargo will create the configuration and for existing configuration this is where it is located. |
| |||
| Full classname of a custom configuration implementation to use. In that case the custom configuration is registered with the | Defaults to the Cargo-provided implementation if not specified | |||
Values to use for various Configuration properties. You can also use the | Default configuration properties
In addition to this, properties can also be set using the Maven 2 / Maven 3 | ||||
<xmlReplacements> | Values to use for various XML replacements. | No default | |||
| Configuration's type. Valid values are |
| |||
<users> | List of users to be created in container configuration. | No default | |||
<datasources> | List of datasources to be created in container configuration. | No default |
Anchor | ||||
---|---|---|---|---|
|
| Description | Mandatory? | Default value |
---|---|---|---|
| If |
| |
| Id of the container to use. Valid values can be found in the description page for each container. |
| |
| Container context key, which can be used for two purposes:
| No reusable default The Cargo Maven 2 / Maven 3 plugin will actually generate a unique context key for each container based on the container and configuration's type and home - Which is not meant to be reused by end users. | |
List of extra dependencies or shared dependencies that will be added to the container or applications execution classpath. | No default | ||
| Location where the container is installed. If specified in conjunction with the | No default If the user has not defined any | |
| Full classname of a custom container implementation to use. In that case, the custom container is registered with the | Defaults to the Cargo-provided implementation if not specified | |
| Path to a file where Cargo logs are saved. | Logs to the Maven 2 / Maven 3 console if no log file is specified | |
| Path to a file where container logs are saved. | Logs to the file specified by the | |
List of You can also use the | No default | ||
The timeout after which Cargo reports an error if the container is not started or stopped. |
| ||
| The container's type. Valid values are | Default value is | |
Defines the location of a container distribution zip that will be downloaded and installed. | No default If the user has not defined any | ||
Defines the location of a container Maven 2 / Maven 3 artifact that will be downloaded and installed. | No default If the user has not defined any |
...
<user> elements | Description | Mandatory? | Default value | |||||
---|---|---|---|---|---|---|---|---|
<name> | User name. | No default | ||||||
<password> | User password. | No default | ||||||
<roles> | List of roles which should be assigned to user. Example of roles configuration:
| No default |
Anchor | ||||
---|---|---|---|---|
|
<datasource> elements | Description | Mandatory? | Default value |
---|---|---|---|
<jndiName> | JNDI name where to find this DataSource. | No default | |
<connectionType> | Type of this DataSource, for example "javax.sql.XADataSource" | No default | |
<transactionSupport> | Transaction support of the datasource, for example "XA_TRANSACTION" | No default | |
<driverClass> | The class name of the Driver, for example "org.hsqldb.jdbcDriver" | No default | |
<url> | DataSource connection URL. | No default | |
<username> | DataSource username. | No default | |
<password> | DataSource password. | Empty string | |
<id> | Id used in configuration files. | No default | |
<connectionProperties> | Extra properties passed to the DataSource. | No default |
Anchor | ||||
---|---|---|---|---|
|
Daemon configuration
...