...
Top level configuration elements | Description | Mandatory? | Default value |
|---|---|---|---|
Definition of a Configuration |
| Defaults to a standalone configuration if the container is of type local and a runtime one if it's of type remote | |
Definition of a Container |
| Defaults to a Jetty 7.x installed container if not specified | |
Definition of a Deployer |
| Defaults to a deployer matching the container's type if none is specified (installed local deployer for an installed container, remote deployer for a remote container and embedded local deployer for an embedded container) | |
A list of deployables that are going to be deployed in the container when it is started or when |
| If the project's packaging is | |
| Set this to |
| Defaults to |
| Decides if Cargo should wait after the container is started or not. If using Cargo for integration tests, set it to |
|
|
...
| Description | Mandatory? | Default value |
|---|---|---|---|
| If |
|
|
| Id of the container to use. Valid values can be found in the description page for each container |
|
|
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, user must define either a |
| 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 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, user must define either a | |
Defines the location of a container Maven artifact that will be downloaded and installed |
| No default, user must define either a |
...