Prequisites

Building

To build Codehaus Cargo:


The Codehaus Cargo build contains functional tests. Those tests are run on different containers. The first time you build Codehaus Cargo it will download those container distributions which will take some time (the containers are installed into core/samples/java/installs). If you want to tell Codehaus Cargo to run only on some specific container, see below.

Selecting containers

The default list of containers to run on depends a property cargo.containers defined in CARGOHOME/core/samples/pom.xml. It can also be supplied at the command line by using profiles (-P<containerId>).

For example if you only want to run on Tomcat 8.x you'd write: mvn -Ptomcat8x clean install

Tips

Proxy settings

If you need to build Codehaus Cargo from behind a proxy, proceed as follows: