Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • the cargo-core-api-* jars and the container implementations you wish to use (cargo-core-container-* jars)
  • or the cargo-core-uberjar jar which aggregates all the required jars

Codehaus Cargo's base dependencies are as follows:

...

If you are creating a Java applications which use the Cargo via API, you need to add as dependency either the artifact for your favorite container or the uberjar (which contains all containers). See below

html/xml
Code Block
language
titleExample for adding the CARGO Codehaus Cargo uberjar as dependency
<dependency>
  <groupId>org.codehaus.cargo</groupId>
  <artifactId>cargo-core-uberjar</artifactId>
  <version>${cargo.version}</version>
</dependency>
Code Block
languagehtml/xml
titleExample for adding the CARGO Codehaus Cargo Tomcat container as dependency
<dependency>
  <groupId>org.codehaus.cargo</groupId>
  <artifactId>cargo-core-container-tomcat</artifactId>
  <version>${cargo.version}</version>
</dependency>