CARGOHOME
directory (wherever you want on your machine).mvn --version
" at a command prompt.To build Codehaus Cargo:
CARGOHOME
and type mvn install
cd
to CARGOHOME
and type mvn clean
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 |
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
mvn -o
to work offline. This improves the build speed as Maven does not check for updates on the remote repository for SNAPSHOT
versions.If you need to build Codehaus Cargo from behind a proxy, proceed as follows:
.m2/settings.xml
file from your home directory (C:\Documents and Settings\username
or C:\Users\username
on Windows),<proxy>
element and fill in the proxy server settings accordingly.