This page last changed on Jul 08, 2010 by alitokmen.

Mission

Cargo is a thin wrapper that allows you to manipulate Java EE containers in a standard way.  

Tools

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, Maven 1, Maven 2 plugins.
    • Intellij IDEA and Netbeans plugins are in the sandbox.

Usage

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.

Development Status

Current Versions

click in the status column to get release notes:

Version Status Comments
Core 1.0.2 Released on 08/07/10

All released versions are available here.

Container Support

List of supported containers and the extensions that are implemented for each container (Java API, Ant tasks and Maven plugins). 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.

Container Java API(version) Ant tasks(version) Maven 1 plugin(version) Maven 2 plugin(version)
Geronimo 1.x
0.8

0.8

0.8

0.2
Glassfish 2.x
1.0.1

1.0.1

1.0.1

1.0.1
Glassfish 3.x
1.0.1

1.0.1

1.0.1

1.0.1
JBoss 3.x
0.7

0.7

0.7

0.1
JBoss 4.x
0.7

0.7

0.7

0.1
JBoss 4.2.x
1.0

1.0

1.0

1.0
JBoss 5.x
1.0

1.0

1.0

1.0
JBoss 5.1.x
1.0.1

1.0.1

1.0.1

1.0.1
JBoss 6.x
1.0.1

1.0.1

1.0.1

1.0.1
Jetty 4.x
0.1

1.0

1.0

0.2
Jetty 5.x
0.8

1.0

1.0

0.2
Jetty 6.x
0.8

1.0

1.0

0.2
Jetty 7.x
1.0.1

1.0.1

1.0.1

1.0.1
jo! 1.x
0.5

0.5

0.5

0.1
JOnAS 4.x
1.0

1.0

1.0

1.0
JOnAS 5.x
1.0

1.0

1.0

1.0
JRun 4.x
1.0

1.0

1.0

1.0
Oc4J 9.x
0.3

0.3

0.5

0.1
Oc4j 10.x
1.0

1.0

1.0

1.0
Resin 2.x
0.1

0.1

0.5

0.1
Resin 3.x
0.1

0.1

0.5

0.1
Tomcat 4.x
0.1

0.1

0.5

0.1
Tomcat 5.x
0.1

0.1

0.5

0.1
Tomcat 6.x
1.0

1.0

1.0

1.0
Tomcat 7.x
1.0.2

1.0.2

1.0.2

1.0.2
WebLogic 8.x
0.3

0.3

0.5

0.1
WebLogic 9.x
1.0

1.0

1.0

1.0
WebLogic 10.x
1.0

1.0

1.0

1.0
WebLogic 10.3.x
1.0

1.0

1.0

1.0


We also encourage you to report success and failures on different versions of those containers in the Tested on section.

News

CARGO 1.0.2 released!

Hello CARGO enthusiasts

Since the release of CARGO 1.0.1 about a month ago, very important bugs have been fixed:

  • The CARGO Maven2 was unusable for configurations with datasource configurations. We've also updated the Java API and ANT tasks' documentation accordingly.
  • The CARGO ANT tasks required the CARGO uberjar to be in the ANT's $ANT_HOME/lib directory -which is not the way it was documented.

We have also made major improvements:

  • To avoid these two major bugs from showing up again, we have started adding samples for the ANT tasks and Maven2 plugin; exactly the way all containers are tested using the Java API.
  • All plugin dependencies now have their version numbers fixed. This enhances reproducibility and guarantees that CARGO can be built and will work, the exact same way, even years later.
  • The Maven2 plugin now has a help goal.
  • Tomcat 7.x has been added to the supported containers list, only weeks after its official release
  • The Jetty 7.x remote deployer has been fixed.

This new version, CARGO 1.0.2, is now available for use.

Users of the Java API and ANT tasks can download this new version from the http://cargo.codehaus.org/Downloads page.

Those who prefer Maven2 only need to update their version number. In the case the new version is not on the Maven central yet, please also add the http://repository.codehaus.org/ repository is in your Maven2 repositories list.

Everyone enjoy this new version

CARGO Maven2 plugin 1.0.1 SR 1 released

Hello, CARGO enthusiasts;

A few days after the CARGO 1.0.1 release, two important bugs have been submitted to us in the CARGO Maven2 plugin (and only in the Maven2 plugin, the rest is not affected):

  • CARGO-776 makes the CARGO Maven2 plugin unable to take into account datasource configurations.
  • CARGO-777 makes the CARGO Maven2 plugin unusable in some cases using the mvn cargo:* goals.

These two nasty bugs have been corrected, and the CARGO Maven2 plugin version 1.0.1-sr-1 (1.0.1 Service Release 1) released. If you're experiencing difficulties with the CARGO Maven2 plugin, please upgrade to that version.

Sorry for the inconvenience... :s

Enjoy !


architecture.jpg (image/jpeg)
architecture.jpg (image/jpeg)
access-layers.jpg (image/jpeg)
access-layers.jpg (image/jpeg)
access-layers.jpg (image/jpeg)
Document generated by Confluence on Aug 25, 2010 07:10