CARGOHOME directory (wherever you want on your machine).mvn --version" at a command prompt.
core/samples builds require that version of Maven|
CARGO 1.0.x's Maven 2 plugins do work very well with Maven 3, but CARGO 1.0.x requires Maven 2 for its build process. Starting from CARGO 1.1.x, CARGO also builds on Maven 3, see CARGO-789: Make build work with Maven 3.0. |
|
The Cargo build contains functional tests. Those tests are run on different containers. The first time you build Cargo it will download those container distributions which will take some time (the containers are installed into |
CARGOHOME and type "mvn install". This will build the full Cargo project.CARGOHOME and type "mvn clean".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 commandline by using profiles (-P<containerId>).
For example if you only want to run on Tomcat 5.x you'd write: mvn -Ptomcat5x clean install
There are also some multi-container profiles, for example mvn -Pall-downloadable clean install will build CARGO and test the CARGO samples with all downloadable containers (Jetty's many versions, Tomcat's many versions, etc.)
mvn -o to work offline. This improves the build speed as Maven 2 does not check for updates on the remote repository for SNAPSHOTs.If you need to build cargo from behind a proxy, proceed as follows:
.m2/settings.xml file from your home directory (C:/Documents and Settings/username on Windows),