...
- 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
Code Block | language | html/xml|
---|---|---|
| ||
<dependency> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-core-uberjar</artifactId> <version>${cargo.version}</version> </dependency> |
Code Block | ||||
---|---|---|---|---|
| ||||
<dependency> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-core-container-tomcat</artifactId> <version>${cargo.version}</version> </dependency> |