Goals | Description |
|---|
cargo:start
| Start a container. That goal will: - If the plugin configuration requires so, installs the container.
- If the plugin configuration defines a container with a standalone local configuration, it will create the configuration.
- If the plugin configuration contains one or more deployables, it will deploy these to the container automatically.
- If the plugin configuration contains no deployables but the project's packaging is Java EE (WAR, EAR, etc.), it will deploy the project's deployable to to the container automatically.
- And, of course, start the container.
Note: A container that's started with cargo:start will automatically shut down as soon as the parent Maven instance quits (i.e., you see a BUILD SUCCESSFUL or BUILD FAILED message). If you want to start a container and perform manual testing, see our next goal cargo:run. |
cargo:run
| Start a container and wait for the user to press CTRL + C to stop. That goal will: - If the plugin configuration requires so, installs the container.
- If the plugin configuration defines a container with a standalone local configuration, it will create the configuration.
- If the plugin configuration contains one or more deployables, it will deploy these to the container automatically.
- If the plugin configuration contains no deployables but the project's packaging is Java EE (WAR, EAR, etc.), it will deploy the project's deployable to to the container automatically.
- And, of course, start the container and wait for the user to press
CTRL + C to stop.
|
cargo:stop
| Stop a container. |
cargo:configure
| Create the configuration for a local container, without starting it. Note that the cargo:start and cargo:run goals will also install the container automatically (but will not call cargo:install). |
cargo:package
| Package the local container. |
cargo:daemon-start | Start a container via the daemon. Read more on: Cargo Daemon |
cargo:daemon-stop | Stop a container via the daemon. Read more on: Cargo Daemon |
cargo:deployer-deploy (aliased to cargo:deploy)
| Deploy a deployable to a running container. |
cargo:deployer-undeploy (aliased to cargo:undeploy)
| Undeploy a deployable from a running container. |
cargo:deployer-start
| Start a deployable already installed in a running container. |
cargo:deployer-stop
| Stop a deployed deployable without undeploying it. |
cargo:deployer-redeploy (aliased to cargo:redeploy)
| Undeploy and deploy again a deployable. |
cargo:uberwar
| Merge several WAR files into one. |
cargo:install
| Installs a container distribution on the file system. Note that the cargo:start goal will also install the container automatically (but will not call cargo:install). |
cargo:help
| Get help (list of available goals, available options, etc.). |