What is Codehaus Cargo?
Cargo is a thin wrapper that allows you to manipulate various type of application containers (Java EE and others) in a standard way. The portion Codehaus is a reference to the open source community which used to host Cargo when it was first created - We meanwhile moved to github as Codehaus has shut down.
Cargo provides the following APIs and tools:
- A Java API to start/stop/configure any of the supported containers.
- A Java API to (remotely or locally) deploy modules into these containers, be it a server alone, a farm or a cluster.
- A Java API to parse/create/merge J2EE modules.
- Ant tasks wrapping the Java API for configuring, starting, stopping and deploying applications to all supported containers.
- A Web interface that wraps the Java API that can be used to configure, start and stop all containers supported by Cargo remotely and at any time.
- A Maven 3 Plugin wrapping the Java API for configuring, starting, stopping and deploying applications to all supported containers and the Cargo Daemon as well as parsing, creating and merging J2EE modules.
These tools and APIs can be used in a standalone fashion or via various IDEs.
Usage
Cargo is often used to deploy applications to containers from test APIs (such as JUnit), Ant or Maven builds. Cargo can install the container and dependencies needed for your deployment as well. Please find below the links to our Quick Start guides:
- Getting Started for the Maven 3 plugin
- Cookbook for implementing functional testing with the Cargo Java API and JUnit
- Examples for the Cargo Ant tasks
- Introduction to the Cargo Daemon
Development Status
Current Versions
You can click on the version number to access the Downloads page and in the status column to get release notes:
Version | Status | Comments |
---|---|---|
1.9.3 | ![]() | Released on 22 March 2021 |
All released versions are available here.
Container Support
The below list shows the supported containers and extensions that are implemented for each container, as well as the the version of the associated Codehaus Cargo module where the feature was first made available.
Click on a container's name to see a detailed list of features it supports.
Reg. Lifetime of our Maven 2 plugin
Please be aware that the Maven 2 / Maven 3 plugin of Codehaus Cargo has been retired with our version 1.9.0 and has been superceeded by a Maven 3 only plugin.
Container | Java API (version) | Ant tasks (version) | Maven 2 plugin (version) | Maven 3 plugin (version) |
---|---|---|---|---|
Geronimo 1.x | ![]() 0.8 | ![]() 0.8 | ![]() 0.8 | 1.9.0 |
Geronimo 2.x | ![]() 1.0.4 | ![]() 1.0.4 | ![]() 1.0.4 | 1.9.0 |
Geronimo 3.x | ![]() 1.2.4 | ![]() 1.2.4 | ![]() 1.2.4 | 1.9.0 |
GlassFish 2.x | ![]() 1.0.1 | ![]() 1.0.1 | ![]() 1.0.1 | 1.9.0 |
GlassFish 3.x | ![]() 1.0.1 | ![]() 1.0.1 | ![]() 1.0.1 | 1.9.0 |
GlassFish 4.x | ![]() 1.4.0 | ![]() 1.4.0 | ![]() 1.4.0 | 1.9.0 |
GlassFish 5.x | 1.6.6 | 1.6.6 | 1.6.6 | 1.9.0 |
GlassFish 6.x | 1.8.3 | 1.8.3 | 1.8.3 | 1.9.0 |
JBoss 3.x | ![]() 0.7 | ![]() 0.7 | ![]() 0.7 | 1.9.0 |
JBoss 4.x | ![]() 0.7 | ![]() 0.7 | ![]() 0.7 | 1.9.0 |
JBoss 4.2.x | ![]() 1.0 | ![]() 1.0 | ![]() 1.0 | 1.9.0 |
JBoss 5.x | ![]() 1.0 | ![]() 1.0 | ![]() 1.0 | 1.9.0 |
JBoss 5.1.x | ![]() 1.0.1 | ![]() 1.0.1 | ![]() 1.0.1 | 1.9.0 |
JBoss 6.x | ![]() 1.0.1 | ![]() 1.0.1 | ![]() 1.0.1 | 1.9.0 |
JBoss 6.1.x | ![]() 1.1.3 | ![]() 1.1.3 | ![]() 1.1.3 | 1.9.0 |
JBoss 7.x | ![]() 1.1.2 | ![]() 1.1.2 | ![]() 1.1.2 | 1.9.0 |
JBoss 7.1.x | ![]() 1.1.4 | ![]() 1.1.4 | ![]() 1.1.4 | 1.9.0 |
JBoss 7.2.x | ![]() 1.4.3 | ![]() 1.4.3 | ![]() 1.4.3 | 1.9.0 |
JBoss 7.3.x | ![]() 1.4.6 | ![]() 1.4.6 | ![]() 1.4.6 | 1.9.0 |
JBoss 7.4.x | ![]() 1.4.9 | ![]() 1.4.9 | ![]() 1.4.9 | 1.9.0 |
JBoss 7.5.x | ![]() 1.4.17 | ![]() 1.4.17 | ![]() 1.4.17 | 1.9.0 |
Jetty 5.x | ![]() 0.8 | ![]() 1.0 | ![]() 0.2 | 1.9.0 |
Jetty 6.x | ![]() 0.8 | ![]() 1.0 | ![]() 0.2 | 1.9.0 |
Jetty 7.x | ![]() 1.0.1 | ![]() 1.0.1 | ![]() 1.0.1 | 1.9.0 |
Jetty 8.x | ![]() 1.1.3 | ![]() 1.1.3 | ![]() 1.1.3 | 1.9.0 |
Jetty 9.x | ![]() 1.3.0 | ![]() 1.3.0 | ![]() 1.3.0 | 1.9.0 |
Jetty 10.x | 1.8.3 | 1.8.3 | 1.8.3 | 1.9.0 |
Jetty 11.x | 1.8.3 | 1.8.3 | 1.8.3 | 1.9.0 |
jo! 1.x | ![]() 0.5 | ![]() 0.5 | ![]() 0.1 | 1.9.0 |
JOnAS 4.x | ![]() 1.0 | ![]() 1.0 | ![]() 1.0 | 1.9.0 |
JOnAS 5.x | ![]() 1.0 | ![]() 1.0 | ![]() 1.0 | 1.9.0 |
JRun 4.x | ![]() 1.0 | ![]() 1.0 | ![]() 1.0 | 1.9.0 |
Oc4J 9.x | ![]() 0.3 | ![]() 0.3 | ![]() 0.3 | 1.9.0 |
Oc4j 10.x | ![]() 1.0 | ![]() 1.0 | ![]() 1.0 | 1.9.0 |
Payara | 1.7.8 | 1.7.8 | 1.7.8 | 1.9.0 |
Resin 3.x | ![]() 0.1 | ![]() 0.1 | ![]() 0.1 | 1.9.0 |
Resin 3.1.x | ![]() 1.2.0 | ![]() 1.2.0 | ![]() 1.2.0 | 1.9.0 |
Resin 4.x | ![]() 1.4.0 | ![]() 1.4.0 | ![]() 1.4.0 | 1.9.0 |
Tomcat 4.x | ![]() 0.1 | ![]() 0.1 | ![]() 0.1 | 1.9.0 |
Tomcat 5.x | ![]() 0.1 | ![]() 0.1 | ![]() 0.1 | 1.9.0 |
Tomcat 6.x | ![]() 1.0 | ![]() 1.0 | ![]() 1.0 | 1.9.0 |
Tomcat 7.x | ![]() 1.0.2 | ![]() 1.0.2 | ![]() 1.0.2 | 1.9.0 |
Tomcat 8.x | ![]() 1.4.4 | ![]() 1.4.4 | ![]() 1.4.4 | 1.9.0 |
Tomcat 9.x | ![]() 1.5.1 | ![]() 1.5.1 | ![]() 1.5.1 | 1.9.0 |
Tomcat 10.x | 1.7.12 | 1.7.12 | 1.7.12 | 1.9.0 |
TomEE 1.x | ![]() 1.4.11 | ![]() 1.4.11 | ![]() 1.4.11 | 1.9.0 |
TomEE 7.x | ![]() 1.6.0 | ![]() 1.6.0 | ![]() 1.6.0 | 1.9.0 |
TomEE 8.x | 1.7.1 | 1.7.1 | 1.7.1 | 1.9.0 |
TomEE 9.x | 1.8.0 | 1.8.0 | 1.8.0 | 1.9.0 |
WebLogic 8.x | ![]() 0.3 | ![]() 0.3 | ![]() 0.1 | 1.9.0 |
WebLogic 9.x | ![]() 1.0 | ![]() 1.0 | ![]() 1.0 | 1.9.0 |
WebLogic 10.x | ![]() 1.0 | ![]() 1.0 | ![]() 1.0 | 1.9.0 |
WebLogic 10.3.x | ![]() 1.0 | ![]() 1.0 | ![]() 1.0 | 1.9.0 |
WebLogic 12.x | ![]() 1.2.4 | ![]() 1.2.4 | ![]() 1.2.4 | 1.9.0 |
WebLogic 12.1.x | ![]() 1.4.6 | ![]() 1.4.6 | ![]() 1.4.6 | 1.9.0 |
WebLogic 12.2.x | ![]() 1.4.18 | ![]() 1.4.18 | ![]() 1.4.18 | 1.9.0 |
WebLogic 14.x | 1.7.12 | 1.7.12 | 1.7.12 | 1.9.0 |
WebSphere 8.5.x | ![]() 1.3.0 | ![]() 1.3.0 | ![]() 1.3.0 | 1.9.0 |
WebSphere 9.x | 1.6.4 | 1.6.4 | 1.6.4 | 1.9.0 |
WebSphere Liberty | ![]() 1.5.0 | ![]() 1.5.0 | ![]() 1.5.0 | 1.9.0 |
WildFly 8.x | ![]() 1.4.2 | ![]() 1.4.2 | ![]() 1.4.2 | 1.9.0 |
WildFly 9.x | ![]() 1.4.15 | ![]() 1.4.15 | ![]() 1.4.15 | 1.9.0 |
WildFly 10.x | ![]() 1.4.18 | ![]() 1.4.18 | ![]() 1.4.18 | 1.9.0 |
WildFly 11.x | ![]() 1.6.3 | ![]() 1.6.3 | ![]() 1.6.3 | 1.9.0 |
WildFly 12.x | 1.6.7 | 1.6.7 | 1.6.7 | 1.9.0 |
WildFly 13.x | 1.6.9 | 1.6.9 | 1.6.9 | 1.9.0 |
WildFly 14.x | 1.6.11 | 1.6.11 | 1.6.11 | 1.9.0 |
WildFly 15.x | 1.7.2 | 1.7.2 | 1.7.2 | 1.9.0 |
WildFly 16.x | 1.7.3 | 1.7.3 | 1.7.3 | 1.9.0 |
WildFly 17.x | 1.7.7 | 1.7.7 | 1.7.7 | 1.9.0 |
WildFly 18.x | 1.7.8 | 1.7.8 | 1.7.8 | 1.9.0 |
WildFly 19.x | 1.7.11 | 1.7.11 | 1.7.11 | 1.9.0 |
WildFly 20.x | 1.7.14 | 1.7.14 | 1.7.14 | 1.9.0 |
WildFly 21.x | 1.8.3 | 1.8.3 | 1.8.3 | 1.9.0 |
WildFly 22.x | 1.8.3 | 1.8.3 | 1.8.3 | 1.9.0 |
WildFly 23.x | 1.9.3 | 1.9.3 | 1.9.3 | 1.9.3 |
WildFly Swarm | 1.6.5 | 1.6.5 | 1.6.5 | 1.9.0 |
Some containers are automatically tested by the Continous Integration system every time there is a code change. For these the containers, the associated page also shows which version is used for these automated tests.
News
Attachments:





