Cargo is a thin wrapper that allows you to manipulate Java EE containers in a standard way.
Cargo provides the following Tools and APIs:
- A Java API to start/stop/configure Java Containers and deploy modules into them.
- A Java API to parse/create/merge Java EE Modules
- Ant tasks and Maven 2/Maven 3 plugins.
- Intellij IDEA and Netbeans plugins are in the sandbox.
Cargo is often used to deploy applications to containers from ant or maven builds. Cargo can install the container and dependencies needed for your deployment as well. Click here for a Maven 2 quick start!
For more use cases, please check the utilisation page.
click in the status column to get release notes:
Released on 03/12/2011
All released versions are available here.
List of supported containers and the extensions that are implemented for each container (Java API, Ant tasks and Maven2/Maven3 plugin). The specified version is the version of the associated Cargo module where the feature was first made available (for example 0.2 for the Maven2 plugin means version 0.2 of the Cargo Maven 2 extension release). Click on a container's name to see a detailed list of features it supports.
Some containers are tested dialy on the Codehaus Cargo Continous Integration System; for these the container's page also shows which version is tested.
Dear CARGO enthusiasts Almost two months after CARGO 1.3.3, we've gone a long way through CARGO 1.4.0. Major enhancements, changes and bug fixes include:
[CARGO-365] - CARGO should check status of application server before attempting to start container
[CARGO-1068] - Add support for port offset for containers
Containers - Glassfish:
[CARGO-1189] - Glassfish jvm-options should not be quoted
[CARGO-1190] - Glassfish <systemProperties> should be XML-encoded when added to domain.</systemProperties>…
Dear CARGO enthusiasts
CARGO 1.3.3 is here! This new version features the below fixes and improvements:
Containers - General
The configuration files option now overrides all existing files (CARGO-1176)
Containers - Glassfish
Glassfish deployment does not fail anymore on Windows when context is / (CARGO-1179)
Containers - JBoss
Support for the append parameter has been added to the JBoss logger configuration (CARGO-825)
JBoss 7.x and 7.1.x now support JBossPropertySet.…
Dear CARGO enthusiasts
CARGO's first version in 2013, version 1.3.2, is now ready! This new version fixes the below issues:
Containers - JBoss:
JBoss 7.x and JBoss 7.1.x containers now support ServletPropertySet.USERS (CARGO-1163)
The JBoss 7.x and 7.1.x Remote Deployer now handles disconnections properly,…
Dear CARGO enthusiasts A few weeks after version 1.3.0, CARGO 1.3.1 is now ready -with the fixes for the below issues:
JBoss 7.x and 7.1.x local deployer does not take into account WAR context if a shared or extra classpath needs to be set [CARGO-1156]
JBoss 7.x or 7.1.x datasource classes cannot come from shared classpath [CARGO-1157]
Upgrade the Jetty 9.x container to support Jetty 9.0.0.M1 and 9.0.0.…
Dear CARGO enthusiasts Our next big release of CARGO, version 1.3.0, is now available! It comes with a lot of very attractive new features:
The newest and latest Jetty 9.x is supported [CARGO-1147]
IBM WebSphere 8.5.x container has been added -making another very old CARGO ticket get solved! [CARGO-147]
We have introduced a new feature, the Cargo Daemon: this is a Web-based application that uses the Cargo API to configure, start and stop containers on a remote machine.…
Dear CARGO users After about one month from the last release, CARGO 1.2.4 is now here! It comes with three important new features:
WebLogic 12.x support has been added (CARGO-1132)
Geronimo 3.x is now supported (CARGO-1126)
Geronimo 2.x and 3.x containers are able of working with existing standalone configurations (CARGO-1127)
Jetty 8.x now supports ServletContainerInitializers (CARGO-1133)
Apart form that,…
Dear CARGO enthousists. After about two months from the last release, CARGO 1.2.3 is now ready. This new version comes with only one new feature, support for setting JBoss AJP ports (CARGO-1112). Apart from that,…
Dear CARGO enthusiasts After about 7 weeks after the last release, I decided we have enough changes and fixed bugs in order to go ahead with CARGO 1.2.2. As for what's new, the list is this time small (12 entries):
Improvements and new features (5)
Jetty containers now support datasources (CARGO-1107)
Dear CARGO enthusiasts CARGO 1.2.1 is now available; and no this is definitely not an April fool! Of course, all of you are wondering what that release brings in... As usual, we have a certain number of fixes and improvements; major highlights are:
12 bug fixes, be it for core components but also for containers.
CARGO now supports starting an installed local container independently from the starting instance (Java API, ANT or Maven2/Maven3 plugin); so that the started container can "outlive".…
Dear CARGO enthusiasts First of all, happy New Year!
Since the last release of CARGO a bit more than one month and a half ago, we have had the opportunity of fixing some bugs and adding the functionalities:
CARGO Maven2/Maven3 plugin fixes and improvements:
ContainerStopMojo now can resolve dependencies with scope <test>, the same way ContainerRunMojo and ContainerStartMojo can (CARGO-1069 and CARGO-527).</test>…
Dear CARGO enthusiasts
About 8 weeks have passed since the last CARGO release. During these weeks, some fixes and improvements have been implemented in CARGO and the new version 1.1.4 is now ready. These changes include:
Harmonized the behaviour when copying configuration files, now both <file> and <configfiles> can copy directories [CARGO-1045]
Improved the module hierarchy and dependencies [CARGO-1011]
Dear CARGO enthusiasts
CARGO 1.1.3 is now ready. You're probably wondering what's in it for you; so here is a quick overview:
The pingURL is no more ignored when using redeploy [CARGO-1036]
All deployers now support the redeploy method (with and without monitor) [CARGO-1038]
The JBoss container has gained in functionality and stability:
JBoss 6.1.x support has been added [CARGO-1043]
Corrected the capabilities of the JBoss 7.x remote container [CARGO-1044]
Shared classpath does not cause java.…
Hi CARGO enthusiasts
CARGO 1.1.2 is now ready, it comes with a number of new features and bug fixes.
On the new features and improvements side:
CARGO now supports JBoss 7! (CARGO-1014)
We have added new Maven2/Maven3 archetypes:
Datasource example (CARGO-998, CARGO-999)
Remote deployment (CARGO-1000, CARGO-1001)
Many CARGO components are now much easier to use:
Configuration properties can now be set using Java system properties (-Dxxx=yyy) (CARGO-1007,…
Hi Cargo and Gradle lovers
A while ago Ben has released the first version of the Cargo plugin for Gradle.
The plugin provides deployment capabilities for web applications to local and remote containers in any given Gradle build by leveraging the Cargo Ant tasks. It extends the Gradle War plugin.
The plugin provides most of the functionality you might know from the Cargo Maven plugin or the Ant tasks; in fact internally it uses the Cargo tasks.…
Hi CARGO enthusiasts;
CARGO 1.1.0 has been out for just over a month now, and we have had important bug fixes and improvements since. We therefore are very happy to announce CARGO 1.1.1.
Wonder what has changed? Here is a short list:
A certain number of user inquiries made us realize that there has been a confusion around the wait parameter of the start ANT task and Maven goal of CARGO. Indeed, most other similar tools have a clearer separation:
A "run" task/goal,…