Blog from Jun 14, 2011

CARGO 1.1.1 is here!

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, which starts the container and waits until the user decides to stop it.
    • A "start" task/goal, which starts the container and hands over to the next task/goal (run integration tests, for example).
    • With version 1.1.1, CARGO also implements that behaviour.
    • Of course the wait parameter remains available AND will remain so until CARGO version 1.3.0 at least.
  • The various installers (introduced with CARGO 1.1.0) now have homogeneous parameters and default values.
  • Fixes and improvements on various containers:
    • The JBoss remote deployer now supports a wider range of configurations.
    • Jetty 7.x and Tomcat 7.x remote deployers are now better documented to avoid some mistakes.
    • Various improvements on the JOnAS containers:
      • Added datasource support on JOnAS 4.x and 5.x.
      • Added extra classpath support on JOnAS 5.x.
      • Added undeploy and redeploy capabilities to the JOnAS 5.x local deployer.
    • The webapp directory of Tomcat containers is now configurable.

And, the full changelog:

Fixed bugs:

  • [CARGO-974] - default extraction dir for artifactInstaller is different from zipUrlInstaller
  • [CARGO-978] - Broken link in site (Local Container)
  • [CARGO-983] - cargo-jetty-7-and-onwards-deployer fails perform remote deploy on jetty-hightide (Jetty@Codehaus)
  • [CARGO-984] - Remote redeploy does not work for Tomcat 7
  • [CARGO-992] - Jonas 5.2: "mvn cargo:redeploy" don't work with the local deployer

Improvements and new features:

  • [CARGO-973] - Add support for extractDir to artifactInstaller
  • [CARGO-979] - Allow specifying the profile name when remotely deploying to a JBoss 5.1.X-server
  • [CARGO-981] - Configuring Tomcat webapps Dir
  • [CARGO-985] - Implement cargo:run
  • [CARGO-989] - Implement run task
  • [CARGO-994] - Add datasource support to JOnAS
  • [CARGO-995] - Add extra classpath support to JOnAS 5.x

Other changes:

  • [CARGO-987] - Deprecate cargo:start's -Dwait argument
  • [CARGO-990] - Deprecate the ANT start task's wait argumen