Versions Compared

Key

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

...

The Cargo Maven Plugin is found at (groupId:artifactId) org.codehaus.cargo:cargo-maven2-plugin. This plugin works with both Maven 2.x and 3.x.

...

Finally, configure the Cargo Maven Plugin by specifying a SNAPSHOT version. For example, to use version 1.24.110-SNAPSHOT you would declare something similar to the following in your POM:

Code Block
xml
xml
[...]
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.cargo</groupId>
        <artifactId>cargo-maven2-plugin</artifactId>
        <version>1.24.19-SNAPSHOT</version>
[...]
      </plugin>
[...]
    </plugins>
  </build>
[...]

One important thing to understand is that this snapshot repository is managed by Nexus and is in fact a group of several repositories (some proxied). Browsing the repository via the url would therefore not display all files actually available, but only those cached in the Nexus instance. However, Maven will always be able to retrieve the latest snapshot release (as it reads the Maven metadata provided).