Versions Compared

Key

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

...

Maven2/Maven3 will automatically download all required dependencies: see the Maven2 plugin page. As a result, no installation is required for Maven2 nor Maven3.

If you are creating a Java applications which uses 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
titleExample for adding the CARGO uberjar as dependency
languagehtml/xml
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>cargo-core-uberjar</artifactId>
      <version>${cargo.version}</version>
    </dependency>
Code Block
titleExample for adding the CARGO Tomcat container as dependency
languagehtml/xml
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>cargo-core-container-tomcat</artifactId>
      <version>${cargo.version}</version>
    </dependency>